From patchwork Thu Jan 21 03:09:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 367798 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp218564jam; Wed, 20 Jan 2021 20:44:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJzGWIn9WAavnxuPPL+3ouiVuPmDAG2XWo7iyXCLr4RgrtZ5/5ailZLbSFXi7yXqKCQxzd4P X-Received: by 2002:a05:6402:18f:: with SMTP id r15mr9594493edv.189.1611204276947; Wed, 20 Jan 2021 20:44:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1611204276; cv=pass; d=google.com; s=arc-20160816; b=dk7bV9Hcfrr0vpnr6/+uMvLvtVIIGaHNZ2MnXke43zWd6G1oS04UsR1uSFJubERciD boULc2Nm3sDYlyyjER3QlAqy6qaLZ5zxQrMg2/CJoeI2zViPh5qwJ5Jcy24w1xWQAbgV ZAwN80W/Pg9/TYEK9i/IDru5ejY9KcHnn0lKpAci/lf9ubeSBUZqFKZkMBINPYI69Ur4 OEyQdz/pO42E56b1uPMoI25h/IE96MjWNJwIv/+lCv9pff2DYVosQC9+Tiv0+toeMzn4 qBgOeQ2X3U9S2luSX8wO4jO4QPN3/4mR83nBFx6qRv028M14RGdM7VNFHoSL1UuXAP35 Y3NQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=FC0fiW4kqg+fXBAbX9P1q/wW5nakAbxyUMDhKkRcuVU=; b=T9q6/yhWcwgRUc84lwkIHUSmghdHlHDF+bduXGzw025gmSZqVcfs1EHBtDdzgb7iQ8 pXsGqFTFEdW7v7omqi5vqkBuq5+bkvcsZ1nWmVZBPO9HC5YDa1yWUDWPHH0eTshACai1 LO5dJNq3lBiNqWVUzc7t+lmbdzujJPJ22BdP4w2gS6JPC+cSuIqBnOFolcRrNRnLeD/1 xmYIg8+JA9uPkCi9sKTfk+wrckI2KxNVoBrVzFMZ5OR4vJ3Eh1iUnE7kk3REEjkxQUWl u67u2FnfqWcUFJna3UupEPiej2NJc1CC/e/QrlXXdrSwLdpFsHQnBVVI+G29Ufa/Y3ph KHqg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="n/dcQ81c"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb8si1700707edb.535.2021.01.20.20.44.36; Wed, 20 Jan 2021 20:44:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="n/dcQ81c"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726988AbhAUDxt (ORCPT + 3 others); Wed, 20 Jan 2021 22:53:49 -0500 Received: from mail-eopbgr70047.outbound.protection.outlook.com ([40.107.7.47]:28976 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730293AbhAUDWI (ORCPT ); Wed, 20 Jan 2021 22:22:08 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ff3lnm6n2rD2SE5BBLJvMsixHx1TTCyyq6k4GQVuYhDoBhvwde3kL8IKT9iX5nM7e2nWu5RQuRQEdVygFtLVd7dzufLbJeRxZyjuwIBpQNbqMQ8fZ87TmQLD2nMWV9TDHzSzFRUrymo2dvE3qGF5q3JznPZc82ZD0c5sfDB1Yk+guEbVwrmD40IGaff6FmmRZDmwvNEbV0May8Rt71U2LgE2w/auQB5a3tSf34o9mbC13eKW6ZQNnY5WMN2CjmivZ767lqtz1HTGA5ANc2qJFOf6gCP3Kq5KuJYRQEBxo3JVFb8xPVhXhP3dCyfAAmef28vjPv3VgbELU18+KEgicQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FC0fiW4kqg+fXBAbX9P1q/wW5nakAbxyUMDhKkRcuVU=; b=ZXK1fwDXc/EONjQAEo7E+3Sqgldyf+qK6cjeIsi5zfORrVMAImKZGAaLAy+LrmV64vR6lthgp8H+cuAcZaByZhmU4TdKyPNjtu7+qZ6hzqF+7u0ICQxdxZgXmIDqLBI7VAT7hkWCIUhJHjaQuCvdbHn3TMiTRaYILEb+ugHy4Bye5gNZS9sKGfQjx2DzSFPRjWABiX7IanvPRoCt6A4cx6Tm9PzZh8zquL+g4QlEnB6bjt9VsTzUWX5a8C+06gY8XQIAQJ63NtEXBkw3JC7USRKJz3L7lDKUIxOPscqkAivqvT/fAdbD2k2tcIUXsxf+4gwCo3uj1MiuHGxSSVOsjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FC0fiW4kqg+fXBAbX9P1q/wW5nakAbxyUMDhKkRcuVU=; b=n/dcQ81cOfhHwqjcmoFHGcYAi+PcWBWsWyFpkSHXx2VTTaMGQBYBRI+zyEtnn8bv1RXowSMgrYN+j469dqk2dpj011pWgUczHqyypHz1H1EuJaO1XRUE128uHSmzv/ickmCczS+w0CG+AN2Z71Dt2fzN7RVVMVEdOFB3AEzk5p0= Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none; linaro.org; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB6858.eurprd04.prod.outlook.com (2603:10a6:10:113::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.10; Thu, 21 Jan 2021 03:20:20 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5%10]) with mapi id 15.20.3763.016; Thu, 21 Jan 2021 03:20:20 +0000 From: peng.fan@nxp.com To: ulf.hansson@linaro.org, robh+dt@kernel.org, shawnguo@kernel.org, adrian.hunter@intel.com Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH V2 1/4] dt-bindings: mmc: fsl-imx-esdhc: add pinctrl bindings Date: Thu, 21 Jan 2021 11:09:50 +0800 Message-Id: <1611198593-16287-2-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611198593-16287-1-git-send-email-peng.fan@nxp.com> References: <1611198593-16287-1-git-send-email-peng.fan@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SGXP274CA0005.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::17) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SGXP274CA0005.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3784.12 via Frontend Transport; Thu, 21 Jan 2021 03:20:15 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 75b05bd5-abc3-4b1c-c605-08d8bdbb7b13 X-MS-TrafficTypeDiagnostic: DB8PR04MB6858: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2043; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 48M7GwN7dPLZOH97CKLcL/ajZ2HMtZYyaTXJW444PBuLXshic3SxE4+XxWzJOff9BFhmMUSNaAegGsWnaXXL+YV2WoOKTg+goXYHP6joMdUQW81X9tR4WKAMfeiQuMBiDZVjuU6gE+qAtIqAJrS6AL9zePlgCQtUxyl+2OiXcX+uNOpL5kuO7HxPJzTgl0EglyitovCxiix6LlAzNBkNTKfLhaq7wNTlQmKgBTkUqTY5H0YjJvq9AoQ360tAsDgYNCJRWK6zdlUDb89DEbXiK/SYNcr229HmR/wMb4LpX6tWJDhhgBCQnAeWbHCLRRkJTJH8z1LiNBJALsPH+5pCBZsK9jhYb/0UKyQy8IKFdeVowzU/cOCkjlpDUY8fCXRSdnjVkLQzyefGOEkFHTnMYJXcACVFAnfbYbxf5G6CNoxwcWvFPL/M154HYevG40BEG6T07tH6iueVWB/9qQaT2Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(136003)(376002)(396003)(366004)(86362001)(4744005)(36756003)(6486002)(8936002)(186003)(16526019)(6666004)(66476007)(7416002)(316002)(6512007)(8676002)(5660300002)(66556008)(52116002)(478600001)(66946007)(2906002)(4326008)(6506007)(26005)(956004)(9686003)(2616005)(69590400011); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: BKDbHHcpaEdoPDbxHEuWqLIYg3fwF52ahTHOYNyznX+tm96SSvFMs3Rg8cnP6V9SbtqFFj1xwac+mGwbp5JRBZY7mRXurrYKms0lId337ZYTWqmX9Z/nrw+vLVRp0AYblrCjq+hJwjfh/A5YjNSVN7MlD/ZDWUrLsy5PQL6X/EPgZiLe4T/LRtVzwi3e/Otw/aQXB2alPjfR1AO6q8TPuCxqZQyi7IsywM4hgHT+VUMlAg9gm2xdvvDj5T5TjOd65g8FYq5P6Fb4o3xz4wKs5Xo7NqRZg4p7Imrd4pR/crBxCwIRjN8/duIn+oGfjIWmE7E95rl3cQhXNa9BE7Tw4omv1IoPJeFNUu7bzm1nUQVKTl3iqb7utt5I9G1Wk4TXk63bG7Zcs/Q1qbzpgqLcePc89CSsG74JbLH1dSONsVLnTfKCMGu7T9LkEyTE1p5QXAEZxyfWc12A2/Ew0vQtM+x1ccJ3+8FdPdetcV+a2vc049riHHirxhG4lYVsHJ/Y4bW09sKk669Hu183siSx1jHIcPErS0pBpQKCoxvrFVpurlPZ/L9YG1WVtyeSQk3J5+yeKrRfmygUfGfm5XEvLtuCMABCwcxAnu4iPznYfEkFs90C4929ZjIotMlAOixrq4dK21g1DRDEQL+7qXMGC8RAXCP25vQ7IEMsd3U2u1SpJdOqef0MMKTfH3CqROJsgdkargkdALga+TlFHcVDajP4j3fOsrTCo2FMF5J95nHHntAxX54RRaAS35K7S3pOhRmsA7nCye6dUo4SveiE5ZfZDzFbzyQ6M+JSB52AEsF17hwZVZa4TONXXySQR/FrLSC9mZDMYfFm1hvMjFAut9Jo9A1kmtMaFYxEQemNb4Vso/dFMMLjra0sPVXor1/B1sJ+sPHZoOEpYLDdExxNBF1DnIR+LDNaZFdiKcZ7RWmIgIHbV4c9+ioCq7138rTfTQrG1uSpqNz5Jt4QhLhKkdAIvHYhFEkfxq2O4AkQcaFCwhohyjoC0/Wp69+ITDEy X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75b05bd5-abc3-4b1c-c605-08d8bdbb7b13 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jan 2021 03:20:20.1159 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nqVbUQtrhPv4mln0qjtpR0mOvinrE3KT0K8rJKMkDUXFEOUOfw4DvZwwBo/3blbnArDbgrx6nPPsdKy7C6hFsg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6858 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Peng Fan Add pinctrl bindings for fsl-imx-esdhc yaml Signed-off-by: Peng Fan --- .../bindings/mmc/fsl-imx-esdhc.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) -- 2.28.0 diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index 802c9df23752..f91e97cd7d4e 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -103,6 +103,31 @@ properties: Only eMMC HS400 mode need to take care of this property. default: 0 + pinctrl-0: + minItems: 1 + maxItems: 2 + + pinctrl-1: + minItems: 1 + maxItems: 2 + + pinctrl-2: + minItems: 1 + maxItems: 2 + + pinctrl-3: + minItems: 1 + maxItems: 2 + + pinctrl-names: + minItems: 1 + maxItems: 4 + items: + - const: default + - const: state_100mhz + - const: state_200mhz + - const: sleep + required: - compatible - reg From patchwork Thu Jan 21 03:09:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 368330 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95620C433E0 for ; Thu, 21 Jan 2021 03:54:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 56D5A238E2 for ; Thu, 21 Jan 2021 03:54:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727317AbhAUDxv (ORCPT ); Wed, 20 Jan 2021 22:53:51 -0500 Received: from mail-eopbgr130079.outbound.protection.outlook.com ([40.107.13.79]:38471 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730981AbhAUDWP (ORCPT ); Wed, 20 Jan 2021 22:22:15 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WUtTt6sJksbhdpBkhBxtlRv/Q8f2U01yh5T6riyhEqFGoYKarh3DN7f8QIGBZ9LKGDUkiW/CCrfEXAd438qSV1KZM+XsLSR8yNsjRoNh14c44VnUXHcwz0nXMaZLIIToAqMc53uGuMACuSj6M1gVa6Fam+ViFmpSx3soH2/QFt91jqLUCCv8SLtwNzMZHeKyi8m5lfLQLpy7I01RsfoEqhbXcA2zFfDhSkz2HvPhzBaODDPUa0XO4t+TLrQTCZwH0zetlXelP0RhKnmttYpiX4O1sO4RJGD3RxQoln+RDHy8PyCtpbxo+KGUm2ozEsBQy40Zicuuo/T5hHR3UiDrCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qQ9eSdbBa/yJO+BxygacUBwnJfLmFQnCUiiZQo3oC7g=; b=AtAiBxrf1159DRRZTo6Bp3pCa80owiuNJnSm9ehRK9FhAsaH4WskJiw9WOhJMB9IMF7O59U1lyF+Sa16uWXNcrk6YSSrbdkcfwO4pndHq4+JYL38WUGwYxk3pRfHkPGu6nqH4aU12EZl2YvmpJWXHQStNqdsWq3dtxy4GBp7MnCdS2DaguNuLoLGHxNkZNJrQLFuQEFEX1RfSIR+gU+dKFE+DisZ+la5gC4EqVhkGXISkvYD9xbQEUZcXmgruOKqYpjL5i6IVEMmWCeCNRmw1LVI9joIBJvwvIVYSHQD766AfzTJn8ZcQelX95ftKkPXoZC/gAh7mp/qrTETTfDtTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qQ9eSdbBa/yJO+BxygacUBwnJfLmFQnCUiiZQo3oC7g=; b=TZdI2voJ+jeaiijAWdRNQaVs4E47TqXhcGRZJgMYoCAfcF8dHETnukr7WiaPshjGsL2H1JuAUKm62ztIWQBdepwvK1s4CiynySP1spVIOebhJIB+ZtnUIcsjAWg1fjWM5JbK1CIqOFSHfEGZJkANdw8qs1a85X+xOT/Xit21Sv4= Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none; linaro.org; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB6858.eurprd04.prod.outlook.com (2603:10a6:10:113::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.10; Thu, 21 Jan 2021 03:20:24 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5%10]) with mapi id 15.20.3763.016; Thu, 21 Jan 2021 03:20:24 +0000 From: peng.fan@nxp.com To: ulf.hansson@linaro.org, robh+dt@kernel.org, shawnguo@kernel.org, adrian.hunter@intel.com Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH V2 2/4] dt-bindings: mmc: fsl-imx-esdhc: add clock bindings Date: Thu, 21 Jan 2021 11:09:51 +0800 Message-Id: <1611198593-16287-3-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611198593-16287-1-git-send-email-peng.fan@nxp.com> References: <1611198593-16287-1-git-send-email-peng.fan@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SGXP274CA0005.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::17) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SGXP274CA0005.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3784.12 via Frontend Transport; Thu, 21 Jan 2021 03:20:20 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 99b753d4-1ca6-4442-730b-08d8bdbb7e04 X-MS-TrafficTypeDiagnostic: DB8PR04MB6858: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3631; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c/h5pdbV8h1LSTx5gM/HaaWObk70MZ5d/w1Ct86K1ZSRGviBfTXE/zPWKxnvwxQnXnCxAh/gz179xlwIK/bK2l+8k8OZD4e/o3F/ay0r4qJzDeJAwdyGv4z2PPbPsyEntL30OPU3pxV8JhFEGtBFG4AdFpfcMK1Ul20NcweMX+k+nM3j0pM1FHwFVkG5WQ7vBXk1EaU/lMx97TDI1iaZQGnmk107yNOhaxXijDfwv1doEZ1veD8WUvpGN4y2lH6Y0twe7a1DUDR+fE24SvUBYTLGrlcNE9HRyhIC4UJK1pxcf0lIHU5O52qD1GoM1Do7t1NRjxc6f6UfAvtYWnGwvub5RyuIlixUK3SR++kBXWw+hKv7ShPbWX7/ZrX83zjF42J28hSfyYxbu8mbl6m0rCx7a/gcNkgd67yGg8I2buG0+7D5E5fLPr62uuStEmBV3VyrKQw8trSThEZWfce40A== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(136003)(376002)(396003)(366004)(86362001)(4744005)(36756003)(6486002)(8936002)(186003)(16526019)(6666004)(66476007)(7416002)(316002)(6512007)(8676002)(5660300002)(66556008)(52116002)(83380400001)(478600001)(66946007)(2906002)(4326008)(6506007)(26005)(956004)(9686003)(2616005)(69590400011); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Rff042teFIPJ3ml8XViOfAU+Lxc6biDFnmtf66tLlBujYmTQTjwZuC3UDv7Frj+e7Q0n0MDtDDthDnEk0Xqsi2GtozHVxV6nGtkiP3TjmRon6Jb9nVHSmbG3Od+41+V82kqPDojr4XmtbUMIuNbAo/TxD+j/wxfkGYZmTk05qjy/Dfv5Yd+sbHzYn/LkMEllJBh+WaSoOGlAzLtN/47b+VSs1Gbfso/37oTeI5XTa7EHVc3TIIivBrtCfpFZN/WaygJatQRKnTIaH2tI2BVozeFizWr9FbviuNAhTSnd/vUKG5bw5XyfceNCuSxDFzvXuAw5lBqNRfmR9tMDdV3jfP9doBFaJILLUGDfUC2fx2QvfWCERq8gurklMZN0hJzmbaA7zquWY+PSeKPLN6GrcWVYQj5bibz3CTFtOJt1KHOxYhHopUAgFY1em66se8ff5nsFZ2YccAzEehdo8TW42cYGm+XFgd4V+uc19bwlqJbT/5bF6NNR49zCLfANCVimluPjH9qsz/lsOQ3NdBvddgUhFvZ8PkIv+gz6nWgccVC4RYRCZxZAcYO7J2fOTmaQtKq43XOQ3oGguxNX0W794RNoT6ooU/MT4hY2MoDjDISiSdJ2ZcBIDjg0V1L1O9AFfQEWS0nH6g+2M9w1gydRnmQnTnrQdAbox90uZWZj1DOh/fu4USXbrXi8QI4AO/k1EB4x83TFlVD9arrdqw/G/1HOxGq+q+KESTqfbbDbmzUj++m6t+IMj6njVdxzNa9sM7aMrcRUxZ+dGHL1W0kJgMR386TYb/NjoIpR09FQ6OOybRbf8HwX/HXbyY5aKDPix38K9BSm+Gc/TOwZy4R/bhvEAiySX8Bsaox0Qaq0WWf2jdKjJb+bG00qDISCO3Tu6ZM/3+rxWq7LgcalvTXsWfaCIjx2NkjUsFZsddMJoj9gA9oVSIw8y33JgdSLto33+4mU2J7eiBSBX2jjaHAk/40s+b9KPRT2ga39dTHEuBg0JjHBcYIy26vdGuwI8EfX X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99b753d4-1ca6-4442-730b-08d8bdbb7e04 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jan 2021 03:20:24.7728 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: eZ0hvrWQLeP46sBm9L4cW+PJF7dkcCKnwh3DTgTihQ0R/aW1VvVxNuUGhx4ZRDpDuaPgGSIV1hYvUNuh5SEUzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6858 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Peng Fan Add clock bindings for fsl-imx-esdhc yaml Signed-off-by: Peng Fan --- .../devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index f91e97cd7d4e..c42a3880abf0 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -103,6 +103,17 @@ properties: Only eMMC HS400 mode need to take care of this property. default: 0 + clocks: + maxItems: 3 + description: + Handle clocks for the sdhc controller. + + clock-names: + items: + - const: ipg + - const: ahb + - const: per + pinctrl-0: minItems: 1 maxItems: 2 From patchwork Thu Jan 21 03:09:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 367797 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp218560jam; Wed, 20 Jan 2021 20:44:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3SU9TNFSRDnl01zKDGV4Rd2AAd5VQJbOoEEhdV2oWUZhCf83xAa603Dni8lBFgZiv1vHJ X-Received: by 2002:aa7:c9c9:: with SMTP id i9mr9603764edt.160.1611204276603; Wed, 20 Jan 2021 20:44:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1611204276; cv=pass; d=google.com; s=arc-20160816; b=wPl5TsdCDGU5VSRLO1lpASxTjVlI+5yMj/51SLgYiTBAMvGT6WHez3bztQV4VOyMyj DBFvQpJCVkhRrQGa0iHjP5DjywD0pXYC2qb19qJZB/bo4VgZah93VhCrSSe63xblCKKX I2md8JWsLM2J8VsuVzjZjUSb1eyzTGVpaAyrFsxfXjHQpvrhUd8vLVghFspMd0LvLa1g J9MF4C4XCv46Ae35PVV2lT6o9YARBlVxvdT/cZOkb6SEJ3D0WOVSJl6Gay65veSS/VpJ vZf8aFD8S5hXsryGVHRdt3BMxtdWxGRUOPLuPiw1H8FWNI07o8f2JJlb3vDKxTx2FUna 5E8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eZVOUHJDqLF+mTpugRsqjottmEwzyYxavVvEC3suiFs=; b=CQ2v+3eqBgZ/Ly0ko4RVSCTm9lOk+rUNN5CGsFPwkn7RHuoeIOqAqCZ8giV/GwsirL 7ZZ3OutFASyTScIRwh8zpJ5n/a5s+RQvMhmWkGJKDba9PhYKsOMR3ERdnBQYY3hZvyGg fCdusfeBCWavsika4/NLqSUPDVAWtYNtu9GOK/CuaImTV9fdO9DI82oqkv/Q6WEkW7cZ 8g9CxSUQ0BjgiqZ8SrPczDXyrFsVL5AljHmt+jYm6whF5ORgSrvrv90fAtmlalYIaTPr AmqEE4kUjQoD7rD06NlyVO76qc84P+LoLSMYmBDKgaGHMgF3R9cQYepRXei/hiUKZRMZ YmJA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=PnLXnPI6; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb8si1700707edb.535.2021.01.20.20.44.36; Wed, 20 Jan 2021 20:44:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=PnLXnPI6; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728304AbhAUDyJ (ORCPT + 3 others); Wed, 20 Jan 2021 22:54:09 -0500 Received: from mail-eopbgr130058.outbound.protection.outlook.com ([40.107.13.58]:35302 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731688AbhAUDWS (ORCPT ); Wed, 20 Jan 2021 22:22:18 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fwx+MfrRiUU7mGhX3lB3CL1WgZ0TWVqwcS0RjAzMvTSQeFtVCmVPYtAz3k91mwnyoxjMaJWBf7N6pGknh7VV8NuwJEb5XvylX5gFyXKAbI+gJdKPBN8JOBExXVFbUfrrw12gi2ChxzAY4lMeIFhJNxgip0teMtPq/nsJZAPQRuRztyiRHfnxwMdgp/z0zonKbHMNgWxU2v6OhabUIPgybujadcleXp0/+M6WMom5HwobhIYZyDcWmAwpyuNf29MauVeM4QBpL3ZfO7j28Ab5M9fWCYgo4j21wabd7y6bp7hE2Pe5VcDZ6B0sQyjUBY8E5hTrzDLfpHi1m1jJZk6jeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eZVOUHJDqLF+mTpugRsqjottmEwzyYxavVvEC3suiFs=; b=FhMmCXgUmnEitLKWiF3l0KIVE9JKyTQDBh0HypmMu7AsZTrdk1/Z8IocUI2SDXAw7tD1b++km5JGIUm4iSWmqkvv2hhlgXbkZfdfe11nR1mHxxGvuytbb3kakTPYKCWSUmR2AAi54i+bcpJ/SxmUhXk23AiGPBq7Max9qoj7WPyWCgZwxosc+J08MJxNXIbN+6dT7DMLxoL+J5r942kuxjm5LPx0IG2FM1fR4s4o6MMZO0LuMUnJbdtCNJ8eaqy2ln24bnqx1Y1KqBsjAJTqOHYXlPOn6QlCt/ez7spE7hp+tIrpZMJLXzZFf2tm87pK7zadlhYVa586mq/vC0PBsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eZVOUHJDqLF+mTpugRsqjottmEwzyYxavVvEC3suiFs=; b=PnLXnPI6S/VFg/92azyMcnszpwbqm7t7cFI89fgG9Jv6uuMCtNVoxSvo1vC7GUeTPS7GeiAa+9AsNRVoDm9O+PSUHYJpdfYZAoSn3ou5lZ/qHXhocUNKw+lE/Q3Y7CObun/82EMkzbcL4dVTVyRKdWxA9EtfDy5XOlFPPQAFx9A= Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none; linaro.org; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB6858.eurprd04.prod.outlook.com (2603:10a6:10:113::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.10; Thu, 21 Jan 2021 03:20:29 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5%10]) with mapi id 15.20.3763.016; Thu, 21 Jan 2021 03:20:29 +0000 From: peng.fan@nxp.com To: ulf.hansson@linaro.org, robh+dt@kernel.org, shawnguo@kernel.org, adrian.hunter@intel.com Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH V2 3/4] arm64: dts: imx8qxp: correct usdhc clock-names sequence Date: Thu, 21 Jan 2021 11:09:52 +0800 Message-Id: <1611198593-16287-4-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611198593-16287-1-git-send-email-peng.fan@nxp.com> References: <1611198593-16287-1-git-send-email-peng.fan@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SGXP274CA0005.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::17) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SGXP274CA0005.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3784.12 via Frontend Transport; Thu, 21 Jan 2021 03:20:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 77201304-2969-400b-eceb-08d8bdbb80df X-MS-TrafficTypeDiagnostic: DB8PR04MB6858: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1013; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: J1fVEbKGoctQ7Ue5ZZokIRyJNjR5U4SEV9SJlkOJ1nyv/eM+DEZhknRFeHrR2XJnyUD4ydcd00a0dI7TVO8nksPLxhG17F9MZ0r0jYHGzEFKoIk8BUnbMc8cAcHtJR1jdLjbeCqQF+aVPkCyroVw9vPcXqv5KsNpiaDbRob+n8v7knIHSUoWoOhKJSCu1rxrj4/y6F76W4nf1oThypJzioMIHtapgzIBl8gA4WdC0ruk48aerXQrugi1/8EsF5Sbeu++Jv70BZ0Oeg3eNOHRs9mA1anGZXiQ9IQkkqAEqnE0fMFJbtzR01R/dNJGigzaZqStSG9LkkzCkDZ5yyPuYEo6fDK/VphVtLkvH7YVKM006UvBy2qsQ5iVUOwsWQl3k3r5TvL/nkv4kjPyBlEboFMl/5yJXC8BO3TOhPfSidX6VGrTVN9j+SpScSd/IK+kzSjmDR2zin7qXjCEkS3kG6TaTFuFLnTO5mcbmZx7HMg= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(136003)(376002)(396003)(366004)(86362001)(36756003)(6486002)(8936002)(186003)(16526019)(6666004)(66476007)(7416002)(316002)(6512007)(8676002)(5660300002)(66556008)(52116002)(83380400001)(478600001)(66946007)(2906002)(4326008)(6506007)(26005)(956004)(9686003)(2616005)(69590400011)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: rN8dcUIsvHoS2OteaLZRHskzAfJUttcqX8lT6hbyj5tJlIsKbfWQdoiMhViWDfP5VBO/rYvGq6h50y+J1eDgD13z3AY88cl8VdZpVLPOWvonWTIBJZdyP42qOLOqE7esx0J9LWzu56CP0Y+4BXwdDfDMy4UvhIxHzOz0vewfL/cjSV8cNqRZ8cSOcZ+ZCXikeG5JlaGujTsPixC0RgANLo3BaZufeXibHKHI22LG5gVfYA28FrOomd/0V7MTSa1Td+iOva6lXczwG6QtXw6wFlT9ppQEKHaVbCoK6ZJiHAopw2W6bdlUB7oyW3LsBs2Fr1wkmVQ8P3q9dLa0OsM+DrzgMUAnDSOv1Eup5tiJ0KB1m7uuYeg7ma/MMeMk7iDp2mYI4o1lqHByNBdFQ4LTn64RtSchYoIbxK8fyTSWuiWEIRCx9wh62jQGXuWJbtAyLXza6p5XSJsyW+Fohpz26SP1y6xu4R5mTxwX3bOq2g+NSueifyDrZQOkrvCDLn/A5t37g56PSId9rpx8snIvS7MwXVImZTW0k3APUnIvo8fpVWhgzHKlupG1wLvvjD/PR2bxVbKImChjkx2xhQHRsGc983cwciZDW8GJXtElxMjEDRq3dmLLhBaKJ2npzLLMT1dkW94h96Q0Rdbmw5Uw3xXvU/BQvUHVgR0TxDiH4bRtBAmcPtpeIswU20Bhej12bZAnOy0GYx5qutw+0BY58G1ZwBIp6Kx4nvMmje/C4QqYl1XIADTkqX7ED2/mlj/6S+Cu2EsI6iYkZcpwvx5fFwvKJKp7OawtDXaX/UmLsoeCVWsQ8JKY6cR4MdtQZJtJ/B/ms4zYwCzWuRd90C4pnesEksqkXqCwuVKN7JTtHDmdxPKqQqyaMKOhZHnd2aYOUlXJsfCQA9X5/fG8RSBA6KCzRd5Jigt5vQhe+sMLoksI7HZYTZbURQikHQon3wvdSIQmwuzCWD8FKWcy0AIiXh18fC+6HJ3u/DvRDm2dJwRlwmp7vwh+9eNsrRGcOjY2 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 77201304-2969-400b-eceb-08d8bdbb80df X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jan 2021 03:20:29.5566 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: r8p3+vpNPtYKdr7L9+eOdSLV9RNX//L2Me38C6V4JjOFUa6pt9c4RHr9qEyazc9FWZsE7SdTgZ5XLRvF+44AFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6858 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Peng Fan Per dt-bindings, the clock-names sequence should be ipg ahb per to pass dtbs_check. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 2.28.0 diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index e46faac1fe71..1d522de7b017 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -366,9 +366,9 @@ usdhc1: mmc@5b010000 { interrupts = ; reg = <0x5b010000 0x10000>; clocks = <&conn_lpcg IMX_CONN_LPCG_SDHC0_IPG_CLK>, - <&conn_lpcg IMX_CONN_LPCG_SDHC0_PER_CLK>, - <&conn_lpcg IMX_CONN_LPCG_SDHC0_HCLK>; - clock-names = "ipg", "per", "ahb"; + <&conn_lpcg IMX_CONN_LPCG_SDHC0_HCLK>, + <&conn_lpcg IMX_CONN_LPCG_SDHC0_PER_CLK>; + clock-names = "ipg", "ahb", "per"; power-domains = <&pd IMX_SC_R_SDHC_0>; status = "disabled"; }; @@ -378,9 +378,9 @@ usdhc2: mmc@5b020000 { interrupts = ; reg = <0x5b020000 0x10000>; clocks = <&conn_lpcg IMX_CONN_LPCG_SDHC1_IPG_CLK>, - <&conn_lpcg IMX_CONN_LPCG_SDHC1_PER_CLK>, - <&conn_lpcg IMX_CONN_LPCG_SDHC1_HCLK>; - clock-names = "ipg", "per", "ahb"; + <&conn_lpcg IMX_CONN_LPCG_SDHC1_HCLK>, + <&conn_lpcg IMX_CONN_LPCG_SDHC1_PER_CLK>; + clock-names = "ipg", "ahb", "per"; power-domains = <&pd IMX_SC_R_SDHC_1>; fsl,tuning-start-tap = <20>; fsl,tuning-step= <2>; @@ -392,9 +392,9 @@ usdhc3: mmc@5b030000 { interrupts = ; reg = <0x5b030000 0x10000>; clocks = <&conn_lpcg IMX_CONN_LPCG_SDHC2_IPG_CLK>, - <&conn_lpcg IMX_CONN_LPCG_SDHC2_PER_CLK>, - <&conn_lpcg IMX_CONN_LPCG_SDHC2_HCLK>; - clock-names = "ipg", "per", "ahb"; + <&conn_lpcg IMX_CONN_LPCG_SDHC2_HCLK>, + <&conn_lpcg IMX_CONN_LPCG_SDHC2_PER_CLK>; + clock-names = "ipg", "ahb", "per"; power-domains = <&pd IMX_SC_R_SDHC_2>; status = "disabled"; }; From patchwork Thu Jan 21 03:09:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 369055 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B44E3C433DB for ; Thu, 21 Jan 2021 03:54:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5FBFD238E5 for ; Thu, 21 Jan 2021 03:54:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731271AbhAUDyk (ORCPT ); Wed, 20 Jan 2021 22:54:40 -0500 Received: from mail-eopbgr70047.outbound.protection.outlook.com ([40.107.7.47]:28976 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732039AbhAUDWt (ORCPT ); Wed, 20 Jan 2021 22:22:49 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mx2xEf3YyznqDFLD5jX3A7XAPiyNRDXr8uDPNo09lJg48hOE/6Qz0K1vRccuHzLd0vKDXLhjPmysl1oh4Jluyt5s3O0TSs1AP486yqEbvbGkZg1oaeUvuBhixW04sASyPpnZyF9Dk3xY4CbvP07WhFMQX3M9JGHFEYXU3H8VEYFXChezkNOQ7oL0/O59mK0qnaV9Z4a1ocxM/GMTo5XK1iBsLb7AN7PXMlCeX4XQZua1Ty5IjCc4hyxRc5QX9N9L/98pZgNC4/1xSMQnCus2C5xsOFIox20Kl+BKoR9V+VHsNuvb8gggPMvMgySH3WGdEpoE8UevIAsAbEYVBCBKoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oDw0tsx8K+Btrx73PfUj0hSlKS3l8KQdV8eUXMyigKI=; b=W+fS8DdcQSCTo/5BmenYy0rQU5K97rs+ROtvRv98nYYygAhMYh0OY5CVuDANHDRHwAhst/CUBcR45+blr2gUzJ47z7Si3q8LCiV82b0OK2BaAaOdns5JgWlNvjvbOir68Ad+Yor1HO7ANQyz56NKhA5FMocbntUosNftJLvtyH6sbHmfxsBYyoUL7i6qh4ZfbHeOjvBUv+4K7Qv7zdU82qy4XfOiYndrNRsTupujV/Gf/oX1UmzvacoAR9td6taBNEfnyYUAN1GHHU6M1FikI5Am/nRZwcp6tTX/vc9EQnElKy5tESAjc22wJ1qD22ABYRF9O/73trxKe3J1d3RWtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oDw0tsx8K+Btrx73PfUj0hSlKS3l8KQdV8eUXMyigKI=; b=V8vkEPvz8GG74muNsRSiRWIPrER4wWy1A+eXFXKyiCImFTGxBllUK5o5OcFtnFCjpCiftrjpY6v9Q6nqbh0jcbFa6/KigeCuVq5nWPqdmc52QQ2+ifWme8bMTe3zfeZtZOIXq48Cd2eiCMV/9hdgIfMMnsNFcgdHeUun0svAopg= Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none; linaro.org; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB6858.eurprd04.prod.outlook.com (2603:10a6:10:113::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.10; Thu, 21 Jan 2021 03:20:35 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5%10]) with mapi id 15.20.3763.016; Thu, 21 Jan 2021 03:20:35 +0000 From: peng.fan@nxp.com To: ulf.hansson@linaro.org, robh+dt@kernel.org, shawnguo@kernel.org, adrian.hunter@intel.com Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH V2 4/4] mmc: sdhci-esdhc-imx: validate pinctrl before use it Date: Thu, 21 Jan 2021 11:09:53 +0800 Message-Id: <1611198593-16287-5-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611198593-16287-1-git-send-email-peng.fan@nxp.com> References: <1611198593-16287-1-git-send-email-peng.fan@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SGXP274CA0005.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::17) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SGXP274CA0005.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3784.12 via Frontend Transport; Thu, 21 Jan 2021 03:20:30 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: b4d6dddf-ff62-4493-c9df-08d8bdbb83cc X-MS-TrafficTypeDiagnostic: DB8PR04MB6858: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:546; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IcIo75BtfSJdJHl3ZbzNSWx9HD6q4+WYbaRq73LpfNFWiNgUvhyXDs+V92zUkPgECKgCdwmsbKFa7A6wpnk4QdfUpgFoNbp8fVwQfioDEfH4SHYECC+23q3o/F+xguxxonxrbLrzDQUZPnPF44oxcUKNGn1edqQNUDWnTmu3z1yn3r4qDsv3hql0PMdicWZberHKNTWWC6JtZPdig8xljPt7ZatGjWHIjmY2YehMn4PapBUZ5GVVAThHKbogeNDtBezXl3+cIXJHseqtd57TSY9blL5bGPb/vR2AuqY4BfKjFkNhScAmPvfP9KMOC1njl0dZwcorrYWZovGMdc8LtCode4efiqBdhBsHlHtO5G3S0JMWDFTHYCe7de3gdO3i+ODaqw2lhwLH27DFns4S8kgfZFbaMvdngKw5iEKplC+wP/RWqSPf/YXXmPr16KxZj6Q34fHY2xjgXOd6t2T1dg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(136003)(376002)(396003)(366004)(86362001)(36756003)(6486002)(8936002)(186003)(16526019)(6666004)(66476007)(7416002)(316002)(6512007)(8676002)(5660300002)(66556008)(52116002)(83380400001)(478600001)(66946007)(2906002)(4326008)(6506007)(26005)(956004)(9686003)(2616005)(69590400011); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: l4b3DZ41rF9ykMKyt/sTdY7i55gd9n8UjkEb/AMb8WSTz8jz0inV1c0kxNaooioMFVfxjHiLdkDGzs6n+fwmSIv9wfjOKur7wmcla+asg4ypb+KdVj8GP7QWvby9YNC9KC1Iw7jhNP9kGGzgks80GpNv1wHXmbS+9o53sGBuiERpokZmKieL4wTquLtiFSRcgsi08u+ftv3tPfzsf60K8X1B0WReKOfiZ7+a25KYtU0fjfsRotolv9Ee6tXDdPokbGEKBrumbax9awvWGhxIc4nS400iPC4y20Zmy4TlElnkcdIYK8XQJ6SeUjkqMjc5sQ+zZNtgtegAhPze952BX9yotdI5e8R7rmHyRr9yLL5ixDuYWddt76ORP/hszZKMkyoGz3WIAvZgl3tbF9YZMs4ZNekfrzN+QKSrUKwzOzr0lnUCZSkGiKcVnmSKZ3Mf/Ti3fCP2Z7VFMKRv8+yD9altTi6f/qHB+G1yuPGcXX+jU1cFcnwY1N+1Q8XJOzI4DU3nBorIBuAQEwwba4yYCzGxSq1aee4BJNx9xZOBAieaOAjUPFc7Ms9USabsUaICCaN9b2CrmRReGXdtiykJoaZW7TNoTalZIbBmj6Y+QS36DWIrzsB47bOJ0pXdi5607r5koSaQvr5zzfWGfyUWA08ioA7jntv8bLCQxEmk+Ut65SggAhr2M4XBN+Zfr4GkUm5b+SSmmaU+9xH2pf3d2T9QJrRL84l4wOwa6Nd/cXUPK1F47a32WW2ghVcuaeDeKOYIx9V4odxJYKqP2XPWt9fVNqMw3NzkLnbymIRtLpnW88B+XpE3Rz+6UrF7YqFy8Y5hRFVfXdliv8LU1H0LhyeuZVyRTx40nl5Ef/9jibBd7VvtGcAsF6fmZWfFSuAuFax1IRw6HQys6+5D6HTkjlQ51mSaC9KQGd4mTbNVPBRk3IYImfHAQpWNnynjxzkfwaQW28hhLQISkD+TqpcCDpl1clKZSwiPKdYOa2L072aP0ch5ewF7+pqilIS4yF6k X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4d6dddf-ff62-4493-c9df-08d8bdbb83cc X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jan 2021 03:20:35.1720 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MjmlC6LuNPOBhYB5quPsCAwX/LLJQ4yda4cL0rhRQQbBMrTAc0gdwRfZkiaZ8/UMv+AlW71C52XNPcwvyGzZ+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6858 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Peng Fan When imx_data->pinctrl is not a valid pointer, pinctrl_lookup_state will trigger kernel panic. When we boot Dual OS on Jailhouse hypervisor, we let the 1st Linux to configure pinmux ready for the 2nd OS, so the 2nd OS not have pinctrl settings. Similar to this commit b62eee9f804e ("mmc: sdhci-esdhc-imx: no fail when no pinctrl available"). Reviewed-by: Bough Chen Reviewed-by: Alice Guo Signed-off-by: Peng Fan --- drivers/mmc/host/sdhci-esdhc-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 16ed19f47939..11d3a2244b36 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -1488,7 +1488,7 @@ sdhci_esdhc_imx_probe_dt(struct platform_device *pdev, mmc_of_parse_voltage(np, &host->ocr_mask); - if (esdhc_is_usdhc(imx_data)) { + if (esdhc_is_usdhc(imx_data) && !IS_ERR(imx_data->pinctrl)) { imx_data->pins_100mhz = pinctrl_lookup_state(imx_data->pinctrl, ESDHC_PINCTRL_STATE_100MHZ); imx_data->pins_200mhz = pinctrl_lookup_state(imx_data->pinctrl,