Message ID | 1488529129-23560-7-git-send-email-yangbo.lu@nxp.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show
Return-Path: <linux-mmc-owner@kernel.org> 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 C7118604E2 for <patchwork-linux-mmc@patchwork.kernel.org>; Fri, 3 Mar 2017 08:34:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB3452862C for <patchwork-linux-mmc@patchwork.kernel.org>; Fri, 3 Mar 2017 08:34:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B011D28634; Fri, 3 Mar 2017 08:34:22 +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 5279728630 for <patchwork-linux-mmc@patchwork.kernel.org>; Fri, 3 Mar 2017 08:34:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751433AbdCCIeT (ORCPT <rfc822;patchwork-linux-mmc@patchwork.kernel.org>); Fri, 3 Mar 2017 03:34:19 -0500 Received: from mail-bn3nam01on0088.outbound.protection.outlook.com ([104.47.33.88]:6801 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751514AbdCCIeL (ORCPT <rfc822;linux-mmc@vger.kernel.org>); Fri, 3 Mar 2017 03:34:11 -0500 Received: from BN3PR0301CA0008.namprd03.prod.outlook.com (10.160.180.146) by BY2PR0301MB0727.namprd03.prod.outlook.com (10.160.63.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.13; Fri, 3 Mar 2017 08:33:17 +0000 Received: from BN1BFFO11FD009.protection.gbl (2a01:111:f400:7c10::1:133) by BN3PR0301CA0008.outlook.office365.com (2a01:111:e400:4000::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12 via Frontend Transport; Fri, 3 Mar 2017 08:33:16 +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 BN1BFFO11FD009.mail.protection.outlook.com (10.58.144.72) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.933.11 via Frontend Transport; Fri, 3 Mar 2017 08:33:12 +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 v238WhMq019793; Fri, 3 Mar 2017 01:33:07 -0700 From: Yangbo Lu <yangbo.lu@nxp.com> To: <linux-mmc@vger.kernel.org>, <ulf.hansson@linaro.org>, Adrian Hunter <adrian.hunter@intel.com>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, "Will Deacon" <will.deacon@arm.com> CC: <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, Xiaobo Xie <xiaobo.xie@nxp.com>, Yangbo Lu <yangbo.lu@nxp.com> Subject: [v2, 6/7] arm64: dts: ls1046a: add clocks property and compatible for eSDHC node Date: Fri, 3 Mar 2017 16:18:48 +0800 Message-ID: <1488529129-23560-7-git-send-email-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1488529129-23560-1-git-send-email-yangbo.lu@nxp.com> References: <1488529129-23560-1-git-send-email-yangbo.lu@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131330035963566721; (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)(7916002)(336005)(39400400002)(39840400002)(39410400002)(39380400002)(39850400002)(39450400003)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(77096006)(86362001)(38730400002)(54906002)(356003)(106466001)(8936002)(47776003)(36756003)(53936002)(2906002)(5003940100001)(5660300001)(4326008)(6666003)(8676002)(50986999)(2950100002)(8656002)(626004)(33646002)(48376002)(81166006)(50226002)(305945005)(189998001)(85426001)(92566002)(105606002)(104016004)(76176999)(50466002)(7416002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0727; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD009; 1:yKDF45CAcs/F4onPemFSwAlPgQWArelvzy2ew1GkBvjKV+xxm5Y7g3tXuXztKZ5iMkmhXd1zF7hRwDtSOcjp6g59Vib4FdbcecZWiMwmVhqBJnmiS8eDfhMwDJsRLkuqso88ukhS77sOIe0MR8loheE7IfLTALIG6h6CdKOqG5Xx1Yk9O9lpxLzlC/f++5hFxrgxI23cbkjpZiTp/GQ0qOmHeXBwqxKp8zRZ4WkCZKkvE5WpuxCA9r2xTG+BmqBzBGHuFLsPDt8g/HU6Q6VIDn2xDcNM/Rgjho5fo9+YPlB/Im1Lbq+LNt41bbN5ZiYJf33V4VUTdufrJs3X5E7bXb7boNJCLKNhSC9aau8jcg1iN2lbNjDUq+jyiAToPVxE7udGKdOHQzM6Tga2SSQmLVPLLl765+U4M+3VYIKyh5og5nq3GuTXk2h4uPHMnzZy3kXUHUvJLYz0tfP/ZmXZ72OGrwKRtQcMGcCb0yJ6JlFLy1+/suOccBv3nDpbVj3owEj9EAMISeeM+2VjDVCzGAtI6xN+79btPL45jRXR/t5La6pgoa6Qlt2mnpZfxNB9yey3PQZ6ujAHh6k4giA5zmG4p7XirdV8RBQjQlf9CDR3DgRtu84XF7jESSNqUKZkrPXQvgt7syoygGCd5w8fqgeerQDPUqfBBSCGHQW8OtOlsLUtZ5V8wkwAf9Q7TaYMH5FYJ7XIoNMiGXz/3/hwI6gn+fvbjI/FOgA7+i6L4HXKnRR8+bmYyy7brzp8VSXr MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 8f49c1d5-f98c-44aa-8f81-08d4620ff056 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY2PR0301MB0727; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0727; 3:et259uveEYyzg1C6I9T01JZD3zXDzzefBP8tGStlVHZbTgNu1hR//oxHusiVVA5p6WABVtKnoVa8hFZVkUDxZtkHHCZ90VcDtXWtM5N74aTVWp2Sn1LvfYMFL9kL85Nz3d5CdwgbC+8HpPWThXYzGxyHm+iZnF9ukNCZPZHVdVESmIlx/2mga8XbfLyJqbbOfI7LWhP6pxT3iYPOZEZ1/BAomjgzeMviq4szK6kVJ2xc5eVe46LdeGqtt4L199ZDVfqQumkwbyw9jb99NV++iva+v5+eW1d0Ns78Zvdgrnr9fJCEUy+9pusURG3FYCqN8u2do/BdGpR24Z70JRTCvszKupVxDEoc6PT3t6v2bJt7RxJf5CUdtEzLpw2sIlUG; 25:lFWh4EoYeabQT0G5qRQUDvBru58ikQUOcxU+umgqFcg66wlkm1jBr5Q1XSjYR1tWY/j0Tu8fIzrbe/Rp0u7nhjlYlgSXdq4DbaiChIUhEj+Km1L+7uhd1B4lKLQInlzj5E0Xk5mBm/3eiW8GTAJQ2o0kwjS2VA+6kmpq2MslLcZGB+ktOdBE2ITc7UlWoCCDZFt2rTl0VQX/eIj/LzaYq4d02MskNGILNh8cwojjtGb0ejmaD9BsQ8SftTXXvCx2qOEomQFG5GU8HWWlohEBZy3r55bpCLn9BApD6W48LTWDgmWV+4v3Ta27+yQiooB3lfzSxABu3cSkZRxcnA+jukIC1m5gl+7OgYEphYpYNYeZbMbi3F4G8s7pNlM3TM8/i7Xu6xW1VsKqEZeY7sxrQ/lEfmloxTBW9opKrbtYdKW8ovBNOoXkGyQJ35jS73YwHlbY9C8zKnTR0s5Y+uRAeg== X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0727; 31:Rx610ktoAZ8BtPZFEPSFNayLJ4DqTERIhyOqoALwoMI2PGcIrCwVmapwEoS6LOYOHcZwthfLwI8drIO+4UWpdxZDO30XIS7toYP4JC310TuqiJO8hF6XRfQdbTGNIhw50E/3G8UxXoSyeaH5Mqd0zCfk9OwVuZhanYeEGfvZVZBk4gk0af/g0FZtKLU9fxDBh5rmzDY4l8mhi2Hh9e6ntjGnBb9ZhlPLa/bJUA1nF17AoK0ZUGXmHPvndHyblwvVXKcNFbBGuDGxHHDdHSFPGODo2z+UiG2QiwgWEDM8sfk= X-Microsoft-Antispam-PRVS: <BY2PR0301MB072796EA3FB65610E5D437EBF82B0@BY2PR0301MB0727.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13015025)(13017025)(13023025)(13024025)(13018025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6096035)(20161123565025)(20161123563025)(20161123561025)(20161123559025)(20161123556025); SRVR:BY2PR0301MB0727; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB0727; X-Microsoft-Exchange-Diagnostics: 1; BY2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ncwAP2Q6mycOoDw2P8CUk2KM4M3SiQ0VbHUzp5REJh/dJqrH/7dWr0xnChbA?= =?us-ascii?Q?xSyZof8U5LMzekK61HtZSW/w3Hdf6GZRLKQ5+K4Tx+LpWlymyZ22+mJmV1cd?= =?us-ascii?Q?4pY9k/ZtaJapEZGKGrAjrUxc7VAcbW8TxjdL6E1UABDgsa7GD98ugRrDzxQ?= =?us-ascii?Q?=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0727; 6:zOPkJd6AretZuiLaOZWNg9yu6A+JCPWt7D9gB+V12BnZHWXKulVMWwcnWf+vzum2ueSHgxK0xdqg5LjvovBMNbCtOXrFUxRcxZf75ky1iEwsvNAc98DJVx5ZOWwJ9gqXTdaxgt4QZt/ncnMnEwAr2q5iYozIDfkQgt2yuemud8zhNwqSl5Acugoj3a9LYmq0vteSiWy+uOSFb+KMcXk23qcK5+498ax7SDVgiGt0jxLJn3QEi2Ks7N9+LxVrQr44rlBxJ+A265fAtGrXskEN7Ygb6dOyBq55di5QFLZizr9oJwUD6VyvBEFE8w1c91p7PMaSOWI+Pbuful9XfdM410Vk6AIfPFkn/VqcASsuUxPvciEpOSFZO5fPC/JhkmHIgXIa12CCb/L82UbkO2Wy8yYt0AEONoFdUnCmIlL0Urw=; 5:rtjg7dD1GnDZPf0nan2f3xgCGCQ9F2hFFbqNdup473gnnTyINPMtatwtZyqyYaLRviS7/3P4XpVqlMNJp55Zq5QbpO8pPJJJRgpBfhNxKdcdA/KW4DcC0xyfvN7kgpIEc/3DAF+gWQYGvFH0XGkd8jXC8X6eKLAyGVyZXjzDX1b0qAKuvHUKH66ut1TLY3WB; 24:fL5PhM0yFO+zGpyRYeXzn0D/y0/TREqQB0AVmj3RaRt/CwFbi4tqNFG8Icasgw7lVPrFgEDxpw1Czkxoke9/SYwkyBpWaemn0uARnRSyFTw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0727; 7:mV5EhPC3UA8oppOm6yqqKpanaiJYpDjnbg9BeiQHKNuK5h84biB3dSjtXH+sgkznWfVt/nPm3SjnHzGDrqy+iAdvwqGqSGrMiFSOGdBxtkIarvXuujtatvMvAmDYBaHwoMOVS6UC3aqsPIN9U+PvzJK2hVU0J0Jb5rYfcQcd02m3sqWxXu7A0YxBdLEUEKT4BnVP5gleUNtX3fZxuV0o76RtVkoH/dADJRFH0IiO4c1cM3IffG0akCG8tXl03eACsizDwcFCWF7Qi/PFJ0FvO2Nu0/2ZRQtZPBQdzun4SIbpNE+I2kCaiGY5bqO9tq155J9zhu44+ZAEBsChaOh8kA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2017 08:33:12.1446 (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: BY2PR0301MB0727 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
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 = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; clock-frequency = <0>; + clocks = <&clockgen 2 1>; voltage-ranges = <1800 1800 3300 3300>; sdhci,auto-cmd12; big-endian;
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 <yangbo.lu@nxp.com> --- Changes for v2: - None --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)