From patchwork Mon Mar 27 07:49:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangbo Lu X-Patchwork-Id: 9645519 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D8CF6602D6 for ; Mon, 27 Mar 2017 08:05:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB4C02815E for ; Mon, 27 Mar 2017 08:05:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFF0C28338; Mon, 27 Mar 2017 08:05:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58F2F2815E for ; Mon, 27 Mar 2017 08:05:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751969AbdC0IFC (ORCPT ); Mon, 27 Mar 2017 04:05:02 -0400 Received: from mail-sn1nam02on0050.outbound.protection.outlook.com ([104.47.36.50]:28864 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752064AbdC0IE7 (ORCPT ); Mon, 27 Mar 2017 04:04:59 -0400 Received: from BN6PR03CA0007.namprd03.prod.outlook.com (10.168.230.145) by BY2PR0301MB1959.namprd03.prod.outlook.com (10.163.196.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.991.14; Mon, 27 Mar 2017 08:04:30 +0000 Received: from BL2FFO11FD019.protection.gbl (2a01:111:f400:7c09::164) by BN6PR03CA0007.outlook.office365.com (2603:10b6:404:23::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.991.14 via Frontend Transport; Mon, 27 Mar 2017 08:04:30 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD019.mail.protection.outlook.com (10.173.161.37) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.977.7 via Frontend Transport; Mon, 27 Mar 2017 08:04:30 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v2R842kq024493; Mon, 27 Mar 2017 01:04:26 -0700 From: Yangbo Lu To: , , , , Adrian Hunter , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon CC: Xiaobo Xie , Yangbo Lu Subject: [v3, 6/7] arm64: dts: ls1046a: add clocks property and compatible for eSDHC node Date: Mon, 27 Mar 2017 15:49:41 +0800 Message-ID: <1490600982-5410-7-git-send-email-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1490600982-5410-1-git-send-email-yangbo.lu@nxp.com> References: <1490600982-5410-1-git-send-email-yangbo.lu@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131350754705030000; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39840400002)(39450400003)(39860400002)(39400400002)(39380400002)(39850400002)(39410400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(5003940100001)(50986999)(7416002)(38730400002)(76176999)(50226002)(4326008)(68736007)(36756003)(305945005)(5660300001)(33646002)(8936002)(81166006)(8676002)(356003)(105606002)(106466001)(104016004)(86362001)(2950100002)(189998001)(50466002)(48376002)(2906002)(85426001)(77096006)(6666003)(8656002)(53936002)(2201001)(54906002)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB1959; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD019; 1:0BSCHbr6Az1sCqx2FRY32dMdT2XP9BsxPCVOdiog7sv3nOUrqcZvipDczWV59Q8xzrq83lyNP1HWJbJVVsqRVSW4n7QJEkIiE85drCyuEnnUVBGhMU8mfqVs6CTf64ulsuvKVdxSjny9OrgF3RQ5iKK4uMM/rZopQ/oyqTDlwO+uJg6RqfgH1cUt3a0m0RgiJUwXhOijYqbHzl0BWAyM81IbAyZ/4qOmdHEXyTnVd6+QNEpYT6VkajIe9VO6o5e+j9iwiOOLxm4X3wlSmE81GRq40Eg0Z2ViYGKGWx5XPJi1SqlxwTQo894ISNJTh2bqi9jDnn0fO0ou5/H/fsiDNkOM43ke/CzMaPkYgSkCk+VKuP5c++QQxTZC3jAd8PCMZxvlOBv8GYm1B0J4Z7V2EW4wBz7KKALLby4g95amKWoQIWcscvhuZXd0M+/AGGMEIFce/fiIuu10/X5CREXvRvoyhjOr7YMNy6cliM1zMFCtC0IElAVkvgQ+PzltKDtnitq0xxmol2vXwoRdW7DdXD3Yx41UF6u0vlvdiIxeijBLHUqXBuRGIXE1tGu1boSsmHQ8s/efzPV21hjuvm3xrl+cvoExIvm9YjCtWTvkjMlCg1o5UVUov4QnqYtIFcToedhCqKyWgjk9YTByZ47tK8sRfQ46sA+6Wnq+IIGF1rYnpZDKAsYlIBWggIL47lHz6tegq33Tv9MRAsoDB+5MAhs/uhUAYp+zuw0PwyVB0hit7wp9+CrwbLks95QKGDu5 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 0dfcc941-f721-4029-cf07-08d474e7e58d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY2PR0301MB1959; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1959; 3:gDmHFpVIpDIuErSAA5jLUO1cAkMLCwYec/XXUP6KFV/8HSIlgcVYtnas0YC5uJsbBWeGKsZqbgiJlbBQwtZdc8S8pI+2+8uCtaSFq3SaeddfMyzGHbQWG5pt9GLjRHFjnOv7OSQn5wugu96ze1pU3slAC0aO9eWWW9wy4E2ehgheta7w9e58oArXzvhE1k2TQKo15mE0rLp9xn+wxlZSzvZ05moFvMT5AnwXH5/HEzlrw1lYlxG+XuIwVcjSpHlLkPwOWrxiKU61/GXmP9985ZcaqQDB93KXS6hdH1fvIvvnb78o6bnDDBaEPRgGeypyF5zkvUYKF9ODDKHFRAyuIgE8eNV6WAEzDPcG2h1Qc1/usbgtBzFNBtKh1ODBeQtE; 25:0bZAg2H41M6HPLupgUo+6YyZy0yQYHwRqiak32BfhohXfsZNLbSepGrC3RECL2j7oBXSMkD4gY9UDV2enno6ZjNHOFlU/mu813UD0kdXCnu8cVWNGDL/FMrI5DI8cASuYoVHFilB0/NE7ubH26+qapqpPatgeoiCp2YUyfMUt68oZiLCu7ptr75gonMc8YINsuOg8AMeMTraHxSnzb4zVpaKB18G1AQW+ujFcoh+6GKn3FdJRbdaXoLcGQ6KRdgWZ5ShnnyCTkCV87gBdoYhR14alw0ZqJ0gdJeNWJPClksT019J1wNTno0ZhugdYPNE0spraGe9kcSy7dgL48+KFUKxkT3aBYR2lS/o5IVzPAxgGtY9Ie5P1f1YPAqLRvpbun0H1S80k/Pkp8zocPCc9XNACs7KA4o/zCP8xPUBPO13AITsnGqcf9KZ+e2QYPWqoUALBB0jt/n64pOgndPL1g== X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1959; 31:KfZAcKt0AunugMD/wnY5qw/BZ7S9W7PjjcTNpfBYe4m/kT8PQP/ovTTLMpt3Ld19micPOIscjs97vDvkBjVWM3wNblMVA3XylMQvyNcnyKL1UVA++Q9QsCyNa6iql6zIPUteApeZuQBCUb1borLtRNqK03yTCwmCBluTdpfKYurzy7mk3Yr4fCBzpbA+uIIqwT+bocTIZm4+9PCncqZsZx6BOfe/PjgWFI/VJJMCnC79uq+FHwl7kGzBUsgt25eApuM8tnV0F435r0rbwtpX+Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13023025)(13018025)(13017025)(5005006)(13024025)(13015025)(8121501046)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123561025)(20161123565025)(20161123556025)(20161123559025); SRVR:BY2PR0301MB1959; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB1959; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1959; 4:pCOO57aVYu+uHwpQTKaDIoBbZ5OuRWnpL/QiueSKfXPTsmOgt9YZn/HQnljRG9aUzriBnewkBORDIHnRdqFxJyxoXi8TI7o3Mk6qll0O3EAFSDVwqnro1ED+mMCjTSMCoK9P71zjLTcUCr7CzEaPlYqwHRcBQdp6D5eP21qlkOSWgBcd0gzsASrO3r1K7BiMIdy0FJlBPGOUKAU2TmXdGh+yrB5O1N8bh9AJMsJVS2/Q3wjC3kdhed57dFnuKLI4t7USBeogS88JagiHVGGmCicYU7zxX9GLgGDjHnNXhYhl5gCNxGdLuZiK1A9ChYmckUUNO/eEHfIkoQZDVkhobMYAEG5vdn07z0fu1H97+DbtjNUl7KrtiMCSoX7L/PyA2d/S9/DXIOtcxGX8EVaVN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Ivb93eN3rez1+qZwED1AsmQChyyy4FIKnZid8pE4vGnr8IniHsoRbKlDxwTV5zBKpGeZJtsDWMzBHbJtDHKKZFr6g75uxSkcF3MmV7NiivsTIa0fUaHJlitegbpJYAD/eTfofAJ5jjSIj0YYRVN1n+4ObGKHhhmp4gn3KsUxPsqSzqKoykQ9NT5vtxSKZ+K4LcNHcN/ayJF4IlZR52xyAxA4VQw==; 5:A0gZLRuEY0S16BDAzZK3sf9EAiLgtCoGpdIEZhMvj+J8Kfeae2b8PFz9NG2AQoHFE5kbbp0Fp5LN6PaDOfHkUcx3znosT8/kPTb+qORLgVZbnVtEnWiLMHgS2SYRJwIU5BYf9Xw/RaSA04PtWENcipPh0bZfaXpv8JYCU5+seNYdVJKh7i/ltzFwL0wJZCiV; 24:H+NA//Yvnv3UYuwLN9GzYw4KYgAJ61ypkovRpiYRVzvb4y1jNSrHlCicUuSXeLaM483IB6xZFgxnUhg8OcWVG6/NRKZIl7KLlAh4ZPz+CG8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1959; 7:2zu66nOtjS4sjG70NHqfjcdT85Bk1cNgd3sF+tRuvo52HF0jLe8t6/8AYQ8HnZLd7WHW6NTf6sp/TtbAODJctJQPvv3zH30BZq3+2Cm6uY8kgk2+rT0PCwqHFV4dhUhs85xZ8idXn3mxzCtRfJk5D53BpEeXRl0PCtE28tM22NQEZra4PjnJEapD56ncReCDHCcumVBK6VnU0UcF9H9SpdPGD1WCiG/2LloJagL0kG7XS0PJoT2cjBJ2v0CCZO48zcvz1ZCpg5yEfpYwRsFtJiElUHPDYuKnQndj4hcnuEFV1S+d4Rqoy3klEsepI0Df39xb3yDfHnIJHEL9KCN0dg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2017 08:04:30.1909 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB1959 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The eSDHC could select peripheral clock or platform clock as clock source. In default, we use platform clock. This patch is to add clocks property describing peripheral clock for eSDHC node. The driver could use common clk APIs to get peripheral clock. Also add a compatible for ls1046a eSDHC node. Signed-off-by: Yangbo Lu --- Changes for v2: - None Changes for v3: - None --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 4a164b8..141a513 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -209,10 +209,11 @@ }; esdhc: esdhc@1560000 { - compatible = "fsl,esdhc"; + compatible = "fsl,ls1046a-esdhc", "fsl,esdhc"; reg = <0x0 0x1560000 0x0 0x10000>; interrupts = ; clock-frequency = <0>; + clocks = <&clockgen 2 1>; voltage-ranges = <1800 1800 3300 3300>; sdhci,auto-cmd12; big-endian;