From patchwork Thu Feb 25 03:10:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 387967 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=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, 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 01597C433DB for ; Thu, 25 Feb 2021 03:24:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B6D7064EDB for ; Thu, 25 Feb 2021 03:24:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236909AbhBYDYU (ORCPT ); Wed, 24 Feb 2021 22:24:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232723AbhBYDYR (ORCPT ); Wed, 24 Feb 2021 22:24:17 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on062c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C681C06174A; Wed, 24 Feb 2021 19:23:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HooQMv6Rqpj/odyIJq/M7GZLcOkwnS3AfB+BmTA0Cr7eytQEjfPYgLGrlobEcBa3h6F7MEsyR/bQtWOqXJir9E07nKmoMHB7ZQtL3EgW4RSZKgWBAqEj0ir0FbHT92JCcg0aS4d6gK78deYBWX8R7l7cCVuCHMmYzvxZwnQtFGxmzeN3XA4iCBOFo3a/5MC4ikXwAqz4+mYFbNeHj6pPnxYxs+K2Ar80KD7xBq56/rdJmf4kcDTnf9mYrI3K4cFTkBcy8bJ4df29ScUKBA3ER/MzZOpRsm3AGfGvBkS7pgd4vN8PGunmGGeXCKzmVeWLPKnRYS3iZz7OcgvnvQmv/g== 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=m+6a8icqAtDbcAG3YCK3+rKH0Kq0pZzuUvAjypeIuAg=; b=nnrHDQPpEajIT0gtoseq4lFCso25bO9MUgtdqRxl2NdiAIc6NMMwm/t4wz1LEA+nbHDbYNEmjCFTgi0K2oxw7I85+4H4TWWbhDdHCWsK7DRQ3V7vAmhz6CotLrDVO93uL5Gpg/3kd+acnYgFAFHNvIefcox3KCLCMGBnJtzalSOv9s8JGtKZb5pHimpXEaq+ZCUi50y1w2ZZ7Z5VekS9/5g6Ui6cuxN+DnAEHOrOvJ4396/DbB7d/G7hHEQByKHX/wEZNs5VT5uQT4sbZIQbBol3RPBbjzw6uWXdHleL6IIYq7a2uOpAG3Wd30zh5YCMcBOri0rIF1XfXt9YdEo43Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m+6a8icqAtDbcAG3YCK3+rKH0Kq0pZzuUvAjypeIuAg=; b=fTazeq3S0+qWfaa6zhFFIfOAvtd0nD8NoNAkLHd2JO/UHCe6gGINWwdGoOXPRLcc5uAJLb2xcmZvI7NCGsR7pszV7tQO8yzM44uSPq2P1NbUaCdwsWaRjCiXDVcgpVlCZOYP4BmsQ9rKrnh4XVLh7BuYlOqn5xsKbvv7TthduG4= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB4089.eurprd04.prod.outlook.com (2603:10a6:5:1b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.31; Thu, 25 Feb 2021 03:22:39 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0%9]) with mapi id 15.20.3846.043; Thu, 25 Feb 2021 03:22:39 +0000 From: peng.fan@oss.nxp.com To: sboyd@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, ulf.hansson@linaro.org, adrian.hunter@intel.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Peng Fan Subject: [PATCH V3 1/5] dt-bindings: mmc: fsl-imx-esdhc: add pinctrl bindings Date: Thu, 25 Feb 2021 11:10:00 +0800 Message-Id: <1614222604-27066-2-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1614222604-27066-1-git-send-email-peng.fan@oss.nxp.com> References: <1614222604-27066-1-git-send-email-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SGAP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::19) 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 SGAP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3890.19 via Frontend Transport; Thu, 25 Feb 2021 03:22:34 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4fe80409-192e-42cd-dc31-08d8d93c9a90 X-MS-TrafficTypeDiagnostic: DB7PR04MB4089: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True 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: EaO17I9tIou648zh+Fgcw+0kXL403oQjCavkUWBpQz2ayqoCy+Z/MsewoHFZqhRiU1sHIRLWB5UArmhxry9OjcuTVqu4vF2OksMVM05k7LfQK+GEIdEiK1yJCu+sGrbot9W5pks33GNg0RG+VQiBCPm0ZzDg11S53TdiKEHjvNXOOY9DjI7hH+Xz/UFOddw4apN1BBLYBy9XhSgqy/rXU3hIFojp+D/tzqY4oaDvNytKCss9XI3iWyzilQUobaZ3MKdU2UH/HzWcBlNzaYk8Xy75qfeUCTyJe6gwvcO1Ys33U97wqKr/reuTS2ME2Pgr0dAtTtiQmkkjm5mj83X0tXFCZbei6gC74ExBX3e3FdUmXT7l8w+SZU9EY62P1olIQP9CHyoWi4sMzs2aicD39QZRGtuYFw5B/XzEZTZcFbaoijkO4NFJ6baffeM85o0/nmXkupb8cUyfWoMDsS05erY2x50Hi0yieYxoA03M5N5OioxlfSh5eZHliGT0gCcinDBMHHcT1mge7uTjSpSBbDUdxLCrdhc6XwWFLzs3rfMMDde/+Dc1z81mOZen5Gt8CtXD7irxKL8cd60xJ9aWyQ== 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)(396003)(366004)(136003)(376002)(39860400002)(346002)(6666004)(66946007)(316002)(8936002)(8676002)(66476007)(66556008)(2616005)(478600001)(52116002)(186003)(4326008)(86362001)(69590400012)(956004)(26005)(6506007)(6486002)(2906002)(7416002)(4744005)(16526019)(9686003)(5660300002)(6512007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: baFyEwEykw8goRi6daJDHZaPEPahcQ1Ia3BuAHSpwUiuwjCFTDkuocuYxSxZHJQ9ioT84nPS3cg3bg6vGvTfuRzw5OPPpdEXopijKFBk2Ou8GzQyxAYRIZ0CKB1Smu161pCwNo2VYF/17Rsn9ua77LcJTI9Yl0eGvSZibZscmAe0PeMJ13F07QBJZNly5YqUdHT87DxniEC54fcJOGJ3LlQafWXmjJ9rKhtBCcZoaJYI6DlWVnn6T0OeJvg0V2D0knc0GJDEHHcOTKo06wlnDMjSPu4AOKMAWor9F4yNZtU2fcgrHZ9StHviz4pBJC/FL9BvRUQU0jmv9hrxuRbs68Pg39cqB/4KnLoKSrmGwZLTubTdzCANPMfwsOFLX5YNEMQ3NfAAxE/LqY8F8ZrsZgIRinl0XP9Dkxg1AJyz+PiUuife3FgLuUxFiGdx6IwAEKskuFDXEx+9718C52beErKHSQJKWi06GfYPfU7uohP+KJdVLWKrSW2Q0vuxH2KtvzGwj0hH4nfS/SRq1xe+oO97dKW50MVAk64FZS2PW5SaBVinHYoZY7ps6EDwFS/02ys8x3IGfC70kOMO5qPmIdXFH9dfevG7BOUtT1uJdlyfQO0IWvBFaThvRrVM/GRvd0pN9+dse1GW6z30DKyrYQ1jAPgIjTqvPBg670MdmXV9XIkEG2046gDDhukkIvCNTFfWM+m8/WRopT/IYIw7ssuxf5YhSMfyNX51K4QYcUXknKt0I5BwUjxtyzxjTKiMLS0hY70ZR7KXzF4WSR4BBNVw+Ha85D/4088j/fUhC84wC4W43Nb1+tjSoMRlePkh0TR2rqBmAel//NCTMf8BqapQN/XrklLm1E57MmKrLg0ES9f/NGDoAGAHFs+/v5GrAMBjigVzRTziDSDw8B0MRgB7Gd4/L0VJCokBLAVn4uMFR72mIzx/uK1ZhCynGthUGYEA7u6X4XtdCY6UPii034MH2p6UMUUVk5ac40eiLAZ0cEKZb6phGYPxlnPBQXgnUJwyzBpjmheg3O+8fAwRqqQKowhQOAug9lnVfPzrf1hSDplpkL+H1Zrgx+qRl5H8o528Itiif+yQyhzYZ14y7kZ9KiYuA1W8FhHWFoVgTryiGpdoDBonZ0bg27P1xNq0feZ3Ty9kp/9ofJSOrs+AzjVy0Dwa0ZckDyllAk/Ojl+7jvoKA/lpx8rstvpCX7ZWTKaH/YQ8lcmOYscbm8yw/BEuMEGH9mUuZgz/MS7IOoCIuh3SHjDJunib18PbJ9mIdvS8cmC9h4zV1lG4RmaMHd8+ojuYzAVX6P815tV+WPk4Q5fCnPsGuMlDGMcyjOXU X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4fe80409-192e-42cd-dc31-08d8d93c9a90 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2021 03:22:39.1863 (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: gVWhCEPDtA8hU8zJ+4gfe6G0JPlUpDv8X9OdLSKRGN8TaQ+nvFnDZgVK8gfBkQOPUdeQyDCsLqAzfLOF6qPPLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4089 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 --- Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index 802c9df23752..a7fbd8cc1e38 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -103,6 +103,15 @@ properties: Only eMMC HS400 mode need to take care of this property. default: 0 + pinctrl-names: + minItems: 1 + maxItems: 4 + items: + - const: default + - const: state_100mhz + - const: state_200mhz + - const: sleep + required: - compatible - reg From patchwork Thu Feb 25 03:10:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 387484 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=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, 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 4B86AC4332B for ; Thu, 25 Feb 2021 03:24:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 272BD64ED1 for ; Thu, 25 Feb 2021 03:24:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236997AbhBYDYX (ORCPT ); Wed, 24 Feb 2021 22:24:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236895AbhBYDYS (ORCPT ); Wed, 24 Feb 2021 22:24:18 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on062c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC6F1C061756; Wed, 24 Feb 2021 19:23:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EDvwMQ02+yc3SdCXKaPUGthXaolwTcWvEyu+Oel6EQx/TnuoqdljcvQPRAvP3bjAmhd+aJ/1PKlwv5pIK0L5R89ctMU84vKfcbO2DkbuTYDcVJy76OLC7IBk7eBRXC2sdfptuDWN8MmuphQ5QcTcGYMMFvBGM7p6WTZKaWpl6K6+5GZjgAUvN2LyBGtwht/H5zbQMbIOQ8W3mnQMTpuaFwZ1j71TVQ50hT7e3unbdn8ZI17MyMqwXEOEt9w3OhJYRDP/FlO/8CT2lbg7PymVfSokweZxcONzaq7iprkwOOSUYRv4rsYQ7HofO+dF2cDizAf0dj907Kx7Mhu7xg+B+g== 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=RYn7P8ESFWomIEBCDM9fYhthihQNTqKZH8k9H53506k=; b=oV9Q4otvxk1tGKtBV17hq2RZMH9GSUH6Gxx29CjJhEvEJeR0kEvcJjP2PalKFM3CNj401xycBIbXY9wSjoswbQi5yRjIcDwYuVMhsN38jn0sUonfAcnpjsF+3xNikPwx309e6jQw9QN6E9McLAq4xRaWlzYG7t2vhnI0z1RShoDU8kWxF6HDWuys0CkRrJ2dHcgXT/g+CNysHoQVZAtSjeKlJrUfoAt61it3QMMhw/RFwGxP50VpIdSf90dup2sAfgk3PKCIzkTsw5g0i9WkNMNaLyFAXIrY8Nj+SAxOA91H8OESmrjQcy9tWRUlZv/9nGQmUUYl+aW4pfi7VS8cwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RYn7P8ESFWomIEBCDM9fYhthihQNTqKZH8k9H53506k=; b=HSp8pOY6x/CN5i30I//fw0v5V9wx8X09NlTtUyYTXk7e7Z3iF8Rprh6Kp1bz3JoizEkeV7BIqyORk83gNSfkOcPMKqDTAn3mBgsKByd2Jd3mVMAqixRnINnvMFLnNDg1MEqRZTXcgc2RsxfQezLZn1sLfKKrX5/d51pk83UkXTY= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB4089.eurprd04.prod.outlook.com (2603:10a6:5:1b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.31; Thu, 25 Feb 2021 03:22:44 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0%9]) with mapi id 15.20.3846.043; Thu, 25 Feb 2021 03:22:44 +0000 From: peng.fan@oss.nxp.com To: sboyd@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, ulf.hansson@linaro.org, adrian.hunter@intel.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Peng Fan Subject: [PATCH V3 2/5] dt-bindings: clock: imx8qxp-lpcg: correct the example clock-names Date: Thu, 25 Feb 2021 11:10:01 +0800 Message-Id: <1614222604-27066-3-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1614222604-27066-1-git-send-email-peng.fan@oss.nxp.com> References: <1614222604-27066-1-git-send-email-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SGAP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::19) 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 SGAP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3890.19 via Frontend Transport; Thu, 25 Feb 2021 03:22:39 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 23592fee-f905-49ba-fec4-08d8d93c9d8a X-MS-TrafficTypeDiagnostic: DB7PR04MB4089: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:632; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EFZe3MmndgCK34nbOLTMXpKjH7aF3zUYR+4RLFC4KV0nhjax5Yh1z139EmL/x88kNaU70jeqpZxYBJd4rSOHkFR8sj5o2lbkFiCU2O/tp7qgE53KwLwS7uGRRhLWbWSdPGO2vHyYe4oaYmf74xf+pt0ciEazxbTdm7ed85rza0fLxn1kpteMGnoLKFPiR3Jb82KC7PFdpUTfSXGvSOYhMcwBw4FyQ5uveCbBTUbiGtGmXhTq0j8AsfRg88AdPD3d+k01o1ETuh3j4aBymzeM7PUlcAao8oFXBrJComNXHRMsZ0cPrpaU87bEJHhc20HMNfjmmDiCoV0h/mk6QcHcYysBlNiVWBpMP4gEt6m+W/CuQZlo+FDjbqD9GN4YiD/CBd7VDWa2MUFZCrNUSdCui8zr1eOp6OomdmGPnfx2HGXYGulIJ56CI3IcTuRYdPoKxjhw9vNxJuQfJe+ucSvXzlbdWdt7jYUCSkXYnRhMHaMEmoIZEvxHX0SVUQT50AtCkUL80/x7mRqeZl8EIK3/76o3zuej2n9kd+QtEd1Uj4a/4AL5R4OpU3wXJqU/7I0KZgzajHfmt1DbNhN6uqnMnYXzJLPsvxqRrUfImLaJgeM= 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)(396003)(366004)(136003)(376002)(39860400002)(346002)(6666004)(66946007)(316002)(8936002)(8676002)(66476007)(66556008)(2616005)(478600001)(52116002)(186003)(4326008)(86362001)(69590400012)(956004)(83380400001)(26005)(6506007)(6486002)(2906002)(7416002)(4744005)(16526019)(9686003)(5660300002)(6512007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 9TZDTQP876IpZNwQna+M5cwf9NfMXH2yeEx0KzbgNDzMAPyuxyWiyVkXNXXDTkVYWLace/bnj9DhBGkDcidHMH202xp/KcMM2MHwBn6ut0j8xhLhFVV5WAy7a5+XptTloHdiO33zvuWWG3evhRG/pDtcn3HGjW2TZglWujbiOhCJ82BydzB2pdeY+v2ZsLTQPp6d4NkOGXhWJP+MwUY4X1dUFfO9qGk+7qMVFKACDBtV1ceqk0GMNvqHp0pyJBicMpx5ueC2vzb1ZIXUqdbuiyd1E3r/LXZG330RgEo1hVYyX4Ey2E4fhtPrfuteFMcvXu/IYAyJd3ZLiLHorF1tG4pJ8RsSavB3HpdKrBUVontvnZXKQXLuKd6bxIkW7WBiEcHVhmwxxt/DilU9Mhtp4bZeZPMl2zm1QqxI7D0BSTJqYRNoqg//RBvrtF8CZUkaCXQE99RG0E/8QwbGNAzIkeuVJt7AFvynIjA89USgCyDHa4Or8429NVsxBS6O7j0d4LY13owGWY0G7Qhet+nHNmPW+wg6i786PEdemrq673xJNtApD1pi8RJakRNCfiirjy5hMnLoo+l1tiwpC48OnSACHeYKLxHU6ti4nmQUZaT4lIwkM/uZoaWOy4YygonfewD039xGR6/aUNErBo8hPL9Bl4G3ebp2Q+355RdbacvbjZYwtL2zzyHnCmGx3lb5byAJisPSnZ+Gd8RJzvJK5byhHJby03G3LmP89y4iRgZsSSGsNqFFGtozJl2qp6ebFzkbIXcgRAPkHsDbt63NPFrwsrR+NgzZyKkrapnOlAjbWK892YCVjhS9rS8hjSNKEB7SaZLInSRs/1Q+2mDC+BePvWN42HxhsRqam0HUMhMj6I11f7CpFK1i5q3PuoE3Eel0sqgzd/elj+Hi2c/g268DKlpWCH6fgvR8/hNuPGrv9YS+rIV8vjP58loeFqwcyXpXryNecGUO7lwCEfbAlzQL5dp9eKFkqocWAe4gn43Z30ISYU7ORvEBgXYfReVR1TH3/Zom6GqmSzChpeBkRkmzKKX0moAk0HIXMi0D2a2CSaiz6Zpd1sVK7hmJKxIDrAjbdz82SvKImCxgLfyRJBlY2FAMSA2FX94rOosopy4zB/+zBVABbHfRgoQo/Dtkhf/0eNrTXcqEAnMFh5VsTodh+YxdoGJb+Yj6gSkKbNndKe4ArJj+jXOnW3vjoHpvnJCsgPRpkz9bQNqIEQU9QGdHvq2/ujjlwNBQb97Op2vzBcnD0ysuFQL8kXIerkEYpRvL4vkIMuFil2Q6cUYgZiKPwmDyhLCATmu39W9aV4NsJf4r57mGtEKxtsBsuBIn X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23592fee-f905-49ba-fec4-08d8d93c9d8a X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2021 03:22:44.2719 (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: H7Oru2TgC5oYZob2LlPVf5fYGEbtiwgv6oQ9BJiE/UFEppQ3yghuQDjgtt6tk5r847QrB+6xUETb3u2FTmZe3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4089 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Peng Fan Align with all other i.MX using the mmc controller, align the clock-names. Signed-off-by: Peng Fan Acked-by: Rob Herring --- Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml b/Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml index 940486ef1051..0f6fe365ebf3 100644 --- a/Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml +++ b/Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml @@ -107,8 +107,8 @@ examples: interrupts = ; reg = <0x5b010000 0x10000>; clocks = <&sdhc0_lpcg IMX_LPCG_CLK_4>, - <&sdhc0_lpcg IMX_LPCG_CLK_0>, - <&sdhc0_lpcg IMX_LPCG_CLK_5>; - clock-names = "ipg", "per", "ahb"; + <&sdhc0_lpcg IMX_LPCG_CLK_5>, + <&sdhc0_lpcg IMX_LPCG_CLK_0>; + clock-names = "ipg", "ahb", "per"; power-domains = <&pd IMX_SC_R_SDHC_0>; }; From patchwork Thu Feb 25 03:10:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 387966 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=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, 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 8908CC43331 for ; Thu, 25 Feb 2021 03:24:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6575264ED9 for ; Thu, 25 Feb 2021 03:24:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237010AbhBYDY0 (ORCPT ); Wed, 24 Feb 2021 22:24:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236898AbhBYDYT (ORCPT ); Wed, 24 Feb 2021 22:24:19 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on062c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69C34C061786; Wed, 24 Feb 2021 19:23:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cIfbN49Deo4GCueJ7zP4725uiPqm4zzI5o2d3iS8Ceopj5vr+pwOrpVFccTyqUgaZyEateiGuJ7X/EYRVeiG2F8DucD6dGcDvV60PB4cuO4A6xckrDQ/NCewdmHoBhzzQjDkYbeA2qdX1S1DxePt35op9R3rDxjPmZY1JPwE1h80uxj4ld8zA8x+XElYBRfcc3uD3mDftjUq9vos9QmfxvDq8V9qL/dfDVYc7rUo3458uJhZRnrunq4fCP74iqoikqqmp4uZkI5Ph6EiUWH82stg3YPeobcR7S37hhbFLpVms3JAR9SgHDsc9kyKYdY9SgY7G2hvhtzZRP8hdNLY5w== 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=6vAzw2LNJ+CxuC6sC6j1wWgOSiRfIuN8nFEHUw8TsAI=; b=Z7m57tiqFr2r5GAeiwbXgGW5aHbkKZP8fA4n8ui7s8nvO66/ojgICu697mvFSTXX8CHYYmWcGbOpH+JEUM/hPSaKVsf7jw/IRfxtPteLDHYrV3mcp3xbdYaFSgflySk4MFziMRfYYRN3uBpsSlfHuuaEXtgSC5Rujhbfd03clovL11VVYJT+csvvGXpn6ve9V/i5Hc8iNNrm7ni++n+BGnJ8ySechYjMbPYVoue0kBtH76mJo0dGhASutE75aDniQYcHQG8h57hlylXpiJynhhZ0TaaDqmtm6c0x9DySPB6hO+uMLtCdoXa6BNMmFmIOveVMzR2MdfDY96MD+KRHlg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6vAzw2LNJ+CxuC6sC6j1wWgOSiRfIuN8nFEHUw8TsAI=; b=imgZE4a2RtfeM85iw5vKYmMUnNsQ7EjxmiLk6tkMuqpEYAPMKNatgyoIWkwY3YqP3tYqq9UW9gDAPhbPYKrqbdB1STdQ2/rsAm6rXDjlkYofOa9CjdmwPAWXzeS+CXCXeai0jMhP8ehd4r1CAMO+jyKKhTWjXKDr0iPSpDqeD04= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB4089.eurprd04.prod.outlook.com (2603:10a6:5:1b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.31; Thu, 25 Feb 2021 03:22:49 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0%9]) with mapi id 15.20.3846.043; Thu, 25 Feb 2021 03:22:49 +0000 From: peng.fan@oss.nxp.com To: sboyd@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, ulf.hansson@linaro.org, adrian.hunter@intel.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Peng Fan Subject: [PATCH V3 3/5] arm64: dts: imx8qxp: correct usdhc clock-names sequence Date: Thu, 25 Feb 2021 11:10:02 +0800 Message-Id: <1614222604-27066-4-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1614222604-27066-1-git-send-email-peng.fan@oss.nxp.com> References: <1614222604-27066-1-git-send-email-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SGAP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::19) 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 SGAP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3890.19 via Frontend Transport; Thu, 25 Feb 2021 03:22:44 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 47f2cd93-2993-4904-7bf8-08d8d93ca091 X-MS-TrafficTypeDiagnostic: DB7PR04MB4089: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True 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: 0fc+B2TLdE6d6rNhWIz2fEHNpf22H+fMHOqybNtXVffH1nTUi43UirhiTAfwp1IQtLA0in1S7ZxA5Yt08/AzeqKd6FDGOuDwzo/kpYM3tydrhCV3QGrpeKowPbYHUdibf65k1mA0DahX5XRmA/BOYDfom2uRr+0/z/DMkFnzMWY3FwhMOfRcUJST8UJdp8sAlsmrIg3Q4wSA6vTpZ0FsuhWQ1RjUErGp72tv6HmuR4Z8KUlG3FN14gYMMmzA4MV3d3TfIzPgX0i0F3qB083H6mhQYy6on9bifxjksJMl4LJV/HlRb4J9nqvMubNJJgWUebucwI6y7bXDoMyvzvLB5chNGhQr+/uWhYEozA+raqQLCFV83dvafyOalCRni6f3584HYfkh2UqNFgyryhTpLAhQXycNtm5dZIKFq+I8YY0ljgtLcBgw1KA9UwpZvMvOVC2Zegm0FlgUOOOsXyVuh/rMneV9TXBmuPeDY0sC6EbmSyOnK5WO4YmJwR1Z1WoFZ6SYcpmzwLj4v1/XQ0UphMN7SQZyAg5EcQ6WE9uqX+myDtu1fa4U3NI9F3X7S8/s3XtKpi3pNzO+/yxtT+XBk/mJZsx+HznE/31gSa//x34= 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)(396003)(366004)(136003)(376002)(39860400002)(346002)(6666004)(66946007)(316002)(8936002)(8676002)(66476007)(66556008)(2616005)(478600001)(52116002)(186003)(4326008)(86362001)(69590400012)(956004)(83380400001)(26005)(6506007)(6486002)(2906002)(7416002)(16526019)(9686003)(5660300002)(6512007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: +lEHOdj++wTa4J/EDObZAcWKJAGkWDv01ZQ16iB83gbUJDzofB2BbQoqTiz0Ibc3lWCBpQgiBRgSney3WZ6gJLNm+/9kfX7Rb/obbfR0LVOlqufo1+3rgwKxyJvTLyPQwCCJrqdRC0CTan4M7f+LPRInqP3nWbvolgaxTjOn9DHrMi2BnkQzxaetmm8Tc99SavwRfODmZlMJDkA7oaPZIvhub+WjJiixoPoDUq3dfZTb08P+TET1m3NCK8cdXwadhnup2P9+EIYiFxtM7oBItH2EyDfOD1BuNdgxvY0xk5bPp5TPFTAVhKHgkh46MoXtx5VcxPyO/OA7DkIQt5OdBJRAEcWOaxqNwAAoEyABJwV2Bb7GQGbtmka8bKaRD2eAY4D8nwjjUSlhhg046/f5cGAfzgR6FDbJZBV2ggwNuqPPoumoMt/7l/rvixzJkBNLMYMCiv2ZRAPvhFJrwGVc7BvSSd3mPnNu++bFJKgPVNXW/kxMSCoenuakhutAEjEdevABno2BOFV3TetMliw5c6f9VlzvD8CZCqyXWRAxIL0VyPJcS0qveRP+mNiSAYu2EPjscq0raucIStE2Y/3sC2GPX2YSR7Gy65eFXhpH6F5gFA7eASh5siM7jb9V+HmouaWp+YMFosCmddASxSyTunJ1f/zzU9IemmcILBlJZYE92cODZeUYWbGja57J/8u03sJ7AH+bvkME9jyqrQfMTQ+Wijv4mJQ+aQ/yf/Ki+xms3dPCmJMQ9fq9w9f+a7tDcXmnbmgqwpQvEKvDciKnfODRawiAqV/kaGtDr1zj82e18yqT5SIApOhvWvgCCrnR6FZA5jRZ90UZy8+Rv8YYEpfiwi1tt8E6iDwg8hK0l/BIcWV9ldrPZpKPxmI6nvZabejbA5+JbRBFfwJ1z66fTuTwT4iyFz1o8hsrsTfy773Z7YugOKqSAkJw24Rq683JfiZhhhQHGX8f46C4PxcrlvWBvqVJTw2dQAsKS3oj4jlfnaZNjqrM2VFakEj1HQIgzpkXg38aWaix8up07NCk8eyNLg71SFz1l2sBa6WXyBU+6TBi3br9LJiIIDdei6TR8ouFwOwe698mt6bv/YKY3J8aBmrBCfpXURHCV+wKuIQMqh7UQN76S6WBY+i/YGOnu2FxT842nuAhkzN62vYsd8FNpop3P54BPoebcHCb02A2JVkWAsKToFN4A99zQ2qiktROWKoOD8PyfYy0k/Ike8IcX/OiandY977ebJqy48ggTnmXQqoqqiJ8diZTahjjhBVlTdMcEDw6cqFJFTW6UZ1mqwZDquBQ6ZEyPUWnVvYURGIFjtVSIE2KxoqtlyCc X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47f2cd93-2993-4904-7bf8-08d8d93ca091 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2021 03:22:49.0938 (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: Y7L4y4fqjTHF5N+v2oIq8Muv9rtMhMxpMnvV6u5StOnDmgN8hDOMdr1wTxdhW1+Ro2UTlCOtFubSLYzvg+SA8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4089 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(-) 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 Feb 25 03:10:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 387200 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp898959jap; Wed, 24 Feb 2021 19:25:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzL30849bAItzZ8a14waCpzMjvnrEJtzJ73YwVTWR0lBhvAeJizvCCvmFtT6JQefVP9qU3O X-Received: by 2002:aa7:de0f:: with SMTP id h15mr958990edv.140.1614223512004; Wed, 24 Feb 2021 19:25:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614223512; cv=pass; d=google.com; s=arc-20160816; b=I1TOh5hPr+a1xAlhsoNrTaSTIxQXqRXpOYHAurJTRRPsJpEr4B6dBHTvqQENJTNiR0 n/hXWa0u9a2RNHiyfcoXcvZP38R0vnM/yA2YGSwjMt1SEQZmzJSvPdDz/VykY/VQ4PLt Wlvw+s27Mncwoq6p9RqH4xHTzpMAgGI0vi2V0KFJi8f+/m7UIUQYumblKmmODlaYuQGg rQdCHE2P43p8WQ5HiRqAHexjGMUilr6Dpt1doUW3AGah9NDjApap0yQG01OxEf/CqwEU 1zCbUR3tTBU2JhrWrRMlnr5WLhKa6w+o/8h6YgwcWTlOwN5HdQdiErlzu+A5TCyILRua f0fA== 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=cBuJc8UxcXpW6ZqGYUCPs/BykKRPfVROjX0KyVi+wQQ=; b=XFQgHRkm445FygtMKA4Tn7muB+ZCFMPWgc8YzVOZdb6WSms3wfLx1+tc2JXvkgNvcJ VXb6TWAzvq3VGYFmHs48LlscZeuHFl2+Kn+2n+QTDH36f3VQcYpLWDvyUq6ystsByGPP R4Kmz9lrDaQc+No0/aBBJESR2Jli0RjOyCbxIPSqW7ip3/+FqdgfCMm2F4CSX1vixT4K arACAH1hw/iKAORzw2+ocafr7FlkPlkjX73wW/kyzUL/zc8biH6uf0ol8/nn34/swcrD CaEv4xxXCYT0Nkk4eo7DQUihFzybw5HkGzeIMnV2IY5VUY/PaSx1aK8t9rkiha2sQDgB Jsww== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=c5MiQMGW; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.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=fail (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 b9si2555282ede.108.2021.02.24.19.25.11; Wed, 24 Feb 2021 19:25:11 -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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=c5MiQMGW; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237014AbhBYDYa (ORCPT + 3 others); Wed, 24 Feb 2021 22:24:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236900AbhBYDYT (ORCPT ); Wed, 24 Feb 2021 22:24:19 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on062c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16193C061788; Wed, 24 Feb 2021 19:23:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LndRDWEnTS3iC+SuXxAHTGbMIfJuRAbfshnm/UeGSUPVrmyL5z6UPe24SgzcYD3d+WtvqypeMP1sVuDg14ZH1BITDjnr349hyg/gNr6DqSKI0NOW8C8twku3mnp2B+OdWdrqKe+uzJHv/zkGYlxHR9PeeYQnjg17Yam1R5Vk0xWD3B5fqEkBcnHoQrf6e6K8AaS/62Mi+znGhQamgQSI6XKrPKnTPO5zaYpRZVVgnU8rSo9iujbVbasrYgX/uNnXsk6J1MNHqwtdjpKK5CmS8lg7y2hWq6ZgPRZ5Ny7mHX6hCDKnO15hVsc4MWOnjh5+WVxO4mCSMhfwkb0UudHLBA== 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=cBuJc8UxcXpW6ZqGYUCPs/BykKRPfVROjX0KyVi+wQQ=; b=nBQuFlvW5JZ13g6b47RSezSysMsQXdpYBn4WJHz0KpsICnDSz7wXvL/oLAPjpi6fBRG/ow0KcC9RhmqAXnt/cLJ8jSUPzYRpkb+2nkDhpWlBweoojqjWTUV+siOZ3j8Aov0hlH333uRg/0iTIVlhgpEKgw9ByZIJ8pNUOVifUhKBJFn7ePFDpxdYjWFfo2GbfgCINMED7GWyIagskSSQVD0ublxR3pqLSG72lgmQjpUzQ6tGnEn5QV2ivbxW4peUSQkhr/lpBz4cewxNkvLqcyStgTVx7FyAg9JmwNUimBcBHHyGWD8872xyf6bWVowp1qWyHxUt6M2fLXxvsZMl4A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cBuJc8UxcXpW6ZqGYUCPs/BykKRPfVROjX0KyVi+wQQ=; b=c5MiQMGWmgQ8drBHWVsG4JWogmiMZFWWqOMp6c3nWqY6nkHHVvTbGfK3IyXno3KfCWmtHrWkvQLUJ1JQ1ttbnd7w2Uua7E/O83tZQ+CJYKaZF8kRVqlhK1f0mo0UuB1aCymZK7JWiPiESOO8QOgIK6/bH1MGbjlgagVGSf4y1Es= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB4089.eurprd04.prod.outlook.com (2603:10a6:5:1b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.31; Thu, 25 Feb 2021 03:22:54 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0%9]) with mapi id 15.20.3846.043; Thu, 25 Feb 2021 03:22:54 +0000 From: peng.fan@oss.nxp.com To: sboyd@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, ulf.hansson@linaro.org, adrian.hunter@intel.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Peng Fan Subject: [PATCH V3 4/5] dt-bindings: mmc: fsl-imx-esdhc: add clock bindings Date: Thu, 25 Feb 2021 11:10:03 +0800 Message-Id: <1614222604-27066-5-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1614222604-27066-1-git-send-email-peng.fan@oss.nxp.com> References: <1614222604-27066-1-git-send-email-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SGAP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::19) 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 SGAP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3890.19 via Frontend Transport; Thu, 25 Feb 2021 03:22:49 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6f936417-de28-4462-fd8f-08d8d93ca395 X-MS-TrafficTypeDiagnostic: DB7PR04MB4089: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True 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: PSSZDfiHEVNjRSGCr+6kKsDc9ji56WfBRNNBJOnGmON2mloKnIdjxuPIsSVsR1mLaIauN6hFkHzAlwwo3cRRhXX0gQctTdMSVKNO6ImM5qrMeWiSpc9rLQBvNOlP+QtPVkUJSF0tC35EoDpqBNswXN9QkjOmAwCN+0TF4O2h763BssP3NWQEe9HPef0OXTlm6ZeaJVpYKSoAz8FvamRoocSsx9fCgIuEP7p3iVUVSOaui4utPtTnu+sXrsFX99zZdgIFN9lpUXBR7+Mok9OYeBKlGvLEt0nSLpn8eZ7zhd+9kUobAbkOC3TS9Q9cvdRV/+1bXRmlZZCQ6tQQgxPtZFS2qqxzAcGG3NRESR2S9eSDtk/RLVOzm01PriVSC/o+8fUFITJneBCgehDGPQk10mHyVMzofeIqYHpyRORtX+hDwpfQ8EKo9KhIUc9k/NSf78U6Y4nM7WQ9bqIP5QQ4jdwj005avAGA4ByiZIM1bvLpSOgOFZTT/SFaNiGA8ClMIDzLszyWBoS7EnTS3Rd+fWuB0lD78yNLmYo95ATbl8/2rGB2bjuAToHk7hWCjV4Mcd9RJBU2o/IpBS8gqH+jCw== 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)(396003)(366004)(136003)(376002)(39860400002)(346002)(6666004)(66946007)(316002)(8936002)(8676002)(66476007)(66556008)(2616005)(478600001)(52116002)(186003)(4326008)(86362001)(69590400012)(956004)(83380400001)(26005)(6506007)(6486002)(2906002)(7416002)(4744005)(16526019)(9686003)(5660300002)(6512007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 2Ku0s/4p7o0eC6uchB+XI0XNqwOVWk4sKqpLKkDUopesgfNv0jyBdT2co6AqlbPnTdDLORANnzIWPeSgFeBmKUVIlB3xlm0LA3dIOFPNpHgFb9g2CPayCtBfJJ72MrEZC8a+pFLx+ZlYkGy3kAOEO9fqXN1juMr5C7xJiLOrCr+6R8YDZt3URtHOaSCOq2Yt2twyqIHSU1EQ2xkxf5VnVTyrABv9uXlIZxVdFb+RYDKhpysUk1DRmQ8fbink/xXuVyPlzlBZv+MFGAC1AXdRRAHKFEJgAh0aRWStVW8D9B05J3yIVdSQRfSfXh2cuiY6a2E2YRvnLXeicYJEhsyiUfJha2sywSDzNe4yRTavHldqTfBy2TF8jUuADcVerfsvFljMsFhm+dpRKy0UO+8feEYu6bMSwfr5Mxkzf2jOfo+w72G63LX1v8waIcMZNXuIY+0afEPyhExnF9KsD34TKloVw1YxEy6SKxcbL2qt2qOCXDX7mntMEZDq0zUv6J9jL1Cmj8jmQrP0xKdRVONv1lWcmD1Bf9Z3dJDFTPRpnM3cTm+lKiyaSzBQbnCaEVhu5dyc1v+HwDdgn/uR0063ck5E4LVbKOMTz/Rs2hfFii/lLmJpW1MFifd2h7b0sm36jDZoLNg6+PIN2QWdGDvJYZO7IK0J5LMuhWzaFwO071nTFZyWrN/QbiB9tWqGx9mrH3T1A0vP0a8yp4J+9yc+mfgJ8bVUL0yXV1/goQBx4+zyM7a4/7acxb/dR94+7SBy4gCO3TaVnHG8DPsiJKiED5AAjJzk+Q6JroIOXEv6G9LE5KlY7aFJjiN9XwxD+EVNo+dnjxNJOVNSJmp3HAaKq9V2omnZJb7P5qI97OPdQlFRlr5guyQpSpaNOYc/EauGGQP9gumk5ua2OsWpJ0vnscjDuVPCLNdRuBt/AnbrGs+NQhxi3RrjJ0qPGdEFMLULMXGE6PNf8nbYuN1vxJqd2qwbSrGnOkabexMmgCA70DnwywYcVviMqBmJdIfK4Eg5ho5zgSI0qSbM+eI3H7sOoGN+8NT2j7AS772Gue9aXTCjEx98m7uPeRS83SW0ZSFc2ERP/+VnIQ90s0oX/hB/kmEwKF4Ud+zIu6kNJicDDLN3b03oKvbgPPZjYKDRZEnIjaB37UnN8+Px5GlVbogKhQTe+GEF/kNuXzMG5LfMClsRPVcRJvCbfe2Z8EEbX/2AUPuwc0u4lTxXyDj6YrEgN+qhLUlsXKgOFudbXGFOwheLSsClewLFK/SBLiYhtadfzj1HgAJVHMmlVWKhb05QcvNamtWrmR4gV78mmYj2AjWWSkooWljEd9sM+e9shi26 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f936417-de28-4462-fd8f-08d8d93ca395 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2021 03:22:54.6822 (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: yq0JLgOmd7Lk8ASAid+MhL3rt1hOPTP+gJWVa6w9w/FI1wRH00zYHsfe+9OA2kKYFTUJUjCcr0CxKZSTGAwBHw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4089 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(+) -- 2.30.0 diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index a7fbd8cc1e38..369471814496 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-names: minItems: 1 maxItems: 4 From patchwork Thu Feb 25 03:10:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 387196 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp898915jap; Wed, 24 Feb 2021 19:25:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQKM3qgauY2ZSNS/KWmJqO9Cc+68iHvXvQSwVEzW0ccTHq78XY3VIh0dRac3jyP3y8kTNN X-Received: by 2002:a17:906:33c5:: with SMTP id w5mr706004eja.319.1614223507245; Wed, 24 Feb 2021 19:25:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614223507; cv=pass; d=google.com; s=arc-20160816; b=IicfFru5oQX+ioEOzD37tArtNkOywmvFDCrL2DMsFFPBtajKNDifzY+BMwCddneAJB eP7YXW2CMA7Vb9d8ff7R3moYWYgaWlmpgw+MiHieQUbD+TuIJw1P8qDPiLehKZasPWK0 TaoeUaWAf44smhO1rDlxP+X0VnLQYF/k9VasqJ9QjYeh6fGtu6u/RG5nD5bXIewCs9Up gZH09IHr0Npi8+k+rjC4qWQX9qmMUPlW9wb0WKlzjT0vbpobQ5doR4qisSBdxM8JMOKv kIh0QDb5qZAykSiKD4k+Qyi0vCkecwrB75Ex2Kv7oUkmN4GCosLT6fpiAqc7e7BUJXBO Sr0A== 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=Lck6ZS8A2U9T+PdekfnW8U8SUFXIjFDjy5TRKWl5XXM=; b=X0yh4Mj/gx+Rb+8vZwZBo4JD8ipc/9VlJRE4ySafKFT2cUpGEnDEn6RuI/9TZNlWpK 3gKh8ahOTuMctSj+izO0F7vg0Sk6hmhYBhkoI2ZKvVwtWNU6Ze+mwoEAy2PIA9Qg7hF+ idf8+zSDw0uuxhpx5OCxvBBTMIGFTmQ5MpSWKwuVJQIDi6cKflICLz3lXmwWLWJBMrRE 4sM2ud/mxdhg0vrBI/SCqSjwO1Cw2zT7eyLfjpUummijTpMEhBUr0TqYzE2DyhUWoZWT A/HogvgnQhwOWmYQEnC190eDGYtuWvvVlJF3qKUjo1hZymvyZD7pngd8sKGbr/c4ariV P22Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Qi1BDqQY; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.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=fail (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 b9si2555282ede.108.2021.02.24.19.25.07; Wed, 24 Feb 2021 19:25:07 -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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Qi1BDqQY; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235918AbhBYDXu (ORCPT + 3 others); Wed, 24 Feb 2021 22:23:50 -0500 Received: from mail-eopbgr40063.outbound.protection.outlook.com ([40.107.4.63]:28622 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232723AbhBYDXu (ORCPT ); Wed, 24 Feb 2021 22:23:50 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FWu0i/zb40KEGYua7u6obAeZSTiBv8+YQmdILuZQQwGkao9aY2rDl9/UupRN3f5MZP3Uo8ihqGKBjp/leUV4KhkNft+0EsU/Vqpj/NRJ470+z5f/mRWGVZ1ej4EjxCYB/+7IkAIDlYQBfI/rE6XyhgkgcS0oIUHe/bhchXN13zfMi09xgbssMeu+AgSK8Cpvn1Ng5YTdomoogYLetDslFwcF4tisTF7oS2jpjbWmYLrJl8XI/wgC7vBHieOFYpzOngsDflLlBOzq37csinQ4OUe0nXH34Ik5A6Px9WWsg8b+3zzKeKtKYOLuqKbL+9BQuhEVXhfsYo0T1frjtDzVXQ== 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=Lck6ZS8A2U9T+PdekfnW8U8SUFXIjFDjy5TRKWl5XXM=; b=Nzx3oAP37m5yDM9ysjXNKZhHtCxA3ZZSex+xI0lFrwrO5D/rlCvtYh2a5LpgVc26ju5f2nM8agH/4iedG0LKIt5lPSZvdKSKCD6N59XEy6xOB/FwvMkCzNXWBLKASsXnSY9x5fcfHVgpiRNjr643jFe2Pan1Pe9juNX3JcHk6sD7MpoaPChZUQHouThM6Qa42Kr0zubh9bi3aioIiyr09EhhU3q7fpdpLsdvrf57WAwvCrb0V6c9Y6BIp0Fe85JYIDNq03jIZtLe30ou9OTjnqptp0qTsgX0tNtogCSscrm2LIfXMC1iYCI+95Yu8jf4/HQ1UA4FZQAwUNBGStAWDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Lck6ZS8A2U9T+PdekfnW8U8SUFXIjFDjy5TRKWl5XXM=; b=Qi1BDqQY1ZozV6lnsm0giqNX6Map9psX3K/S2ZqwFTWZWYVgM7YzaVpHpgNmSiASoYVrSxWho34v9QOd6PlAUk7kKq13TPQ01QiGLvW1KRN5XtztaEJG+qRATVEErlupGAgsaZ762r1e/SIVwCp4pNDFcYENjffg03p3CE17NC0= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DBAPR04MB7222.eurprd04.prod.outlook.com (2603:10a6:10:1af::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.20; Thu, 25 Feb 2021 03:22:59 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0%9]) with mapi id 15.20.3846.043; Thu, 25 Feb 2021 03:22:59 +0000 From: peng.fan@oss.nxp.com To: sboyd@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, ulf.hansson@linaro.org, adrian.hunter@intel.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Peng Fan Subject: [PATCH V3 5/5] mmc: sdhci-esdhc-imx: validate pinctrl before use it Date: Thu, 25 Feb 2021 11:10:04 +0800 Message-Id: <1614222604-27066-6-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1614222604-27066-1-git-send-email-peng.fan@oss.nxp.com> References: <1614222604-27066-1-git-send-email-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SGAP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::19) 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 SGAP274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3890.19 via Frontend Transport; Thu, 25 Feb 2021 03:22:55 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: f408410d-0c89-4925-92b8-08d8d93ca6cf X-MS-TrafficTypeDiagnostic: DBAPR04MB7222: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True 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: WNvVANhwfWvA3vTXVH/e9+IIOctca6BZ9rNhErMK1S8tq+XrweGG9Dc9nCqlJb73iNXHHK6fB0/jvjYtFmrmzlWa9Pwm/Bz3KUbcdOyNsrGjarDY8lB3vWWj/6gwxiXblmafGPaTWaJzw7cYgzR2UDksEtdTa0ux+NirVxq2t0DudXv0TVA8Mr1zOgg5sq0MD5zqVKu8e6t/bx0S0ZjUdbhYkT2CJhtG4NUDUaKokW7ljAy7uw9d+k5oZsqDdHmTCDO0DaYhNKVjh5uZmBwqMZXpd8z5gYTY4p/I2CMomPgy8SEAQGXXnn0DqRytceVMwYN2vjlGze2ZjC4mq7whkWqtmXsnH1tg3RRvT/dEGEnI10aOKgzA6Nkes4WfD7njm0USP3NcpkTgrtDBhN7R/kp/CGHezsYzPDIEHhW95K/vTaDfoF4OIhswIvbBPecIJ0+TqzmLLoDK59nYQA85UNMPC5WZEFjSaKW93lcTnFHATE6wmOnn9sSPvCpFD6CtnsINydHgDPPcprXTSbXuSCql7SY4fTdBkKExehuR4n7C75ubF9tseIj8WqB6serpbNRCQzde/76yyjRSOYWvhg== 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)(346002)(136003)(376002)(39860400002)(366004)(396003)(26005)(6486002)(5660300002)(66556008)(66946007)(66476007)(478600001)(86362001)(7416002)(956004)(6506007)(2906002)(6512007)(2616005)(6666004)(9686003)(83380400001)(16526019)(8676002)(69590400012)(4326008)(316002)(186003)(52116002)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: SPGrzSHYtxpOYXFVSfTyy66FHRj2o6w1AckK8GddO5z9yrG6rmlPqGcUBLVLezlwdu4QQiKNGP897BsVZqH/Ed3+JLk+7HLRZYYEypP6kxcgxv7xSZRCF5FRwrOY5knBcOKPlGbH2m55+jn2zhzC+9p6zSHv73JA622NGxM5EWr6dt/ibMVVvRcIxHvulPu3Y6oww+LxwJ8TLA+1ygeEfey5Usdh1CMGrh/lDA3/THaDUblC3iXJxpXM6n03p/C3Gn2Y+/moVvmbQ4YNWFU9XXOctaNb5sBhjnUFzUSn8/9omWZuB72YPzByQAk6krZnRkorrpng8zTOmKJUqFFagoma08PZCi+BiAXfIFiCB4mqzzCr3lCBnXevDYVBaC+O/DxbRbqAWvSC14yMUcL2kcPapddeXoM/dC4MBl0oOgvZEoF/QiGR5MxBXq/CUWnJL6miCcdDYqtbLQxLWJ2PXlg96DigA1y3WF90A8ooC5SzCiJ0gENyRNPUZxN7G+5VFXjsBFYxyedg9O4HyVEfHOapk8w1TPnWS3Pa+yHP3RaqAkcI8mEGoVqYJoH7TegP3laaeVem3OBeMDZwDNDyb/OsM+Ht7iDh2q5zgtikyZogYigLoCFy4p6zbSSbCmimRXFe7nn3YtgUQi5QqHE7B5ugDOxhM3PZRDFHh2o5G78lSWCZMvkU8DI5Cpm2ELajC02NvjgkHv8Nvxk+JSh/4gYmJhRXbfryOMf+pNn6Clpv5g5sqJ5K0E69k8mdlonaBtnchQq36dfMJbj6xUxwKjk4eded56FOTsaSL/l3uipU/xAB9b+TIPfydXxtHGyo8IaBh0p4OEivjRbxIG+cRXuvK1Is6EXTFuLPrO/ifUc96/QIVpIn5ZqgfjsZ+neYDHw+cDljirM0nOS5sbddehYrnFQaBrhx7triJiEJPTk1NqHVnU9iFeRnkPO/tCrhHL25nrHjlvW1swCzxxsarpmrGnSqV2URJ87yPuZDxDmVLCkbUvDTlnrIeXgZRoKkX3WxdhClWJDYcVtaEistmvSQYUKDBlsFp2C53Qlv+p7F5uf5bXavtHeMbkA5YfF3tPVzQ74s1aRsadHtVdlBGFZd69I5ID2hCF2OJxWxtbHRg+HTpwjNCSdKAB1PJb5UU315qZR8KMqGLLfwSwvUF+0vfPwhB0OUFGDI5lDVOqVl8McOYwMQyRs0XGM+JUY1KMSCA6MLf+nWH/YsaFfuj14Rm8DlpIoZDKxlJm0LHRCI02zZoUvksZTHzf31zlbOJe7IHN+5AJNaW3WImdCCkIFuk4Ij8cbKDjOQtpmCVZxRwQ+qNqfcWfDZcElAu7l4 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f408410d-0c89-4925-92b8-08d8d93ca6cf X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2021 03:22:59.6659 (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: srLEI1leelfHm0DpJBd0oAWo12FUorhLW++ZzNpobwY4S6b4EYeM8YH/eozEZAQqMIQykXSVJXvq4HCkJdSptA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7222 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(-) -- 2.30.0 diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index a20459744d21..94327988da91 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,