Message ID | 1434682158-7243-2-git-send-email-scottwood@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 94650C0020 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 19 Jun 2015 02:52:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AAE272090E for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 19 Jun 2015 02:52:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B634920909 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 19 Jun 2015 02:52:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5mO9-0001cy-SX; Fri, 19 Jun 2015 02:50:41 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5mNf-0000xe-JN for linux-arm-kernel@bombadil.infradead.org; Fri, 19 Jun 2015 02:50:11 +0000 Received: from mail-by2on0117.outbound.protection.outlook.com ([207.46.100.117] helo=na01-by2-obe.outbound.protection.outlook.com) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5mNZ-0001EO-H2 for linux-arm-kernel@lists.infradead.org; Fri, 19 Jun 2015 02:50:09 +0000 Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none; Received: from snotra.am.freescale.net (192.88.168.50) by BLUPR03MB1475.namprd03.prod.outlook.com (10.163.81.17) with Microsoft SMTP Server (TLS) id 15.1.190.14; Fri, 19 Jun 2015 02:49:31 +0000 From: Scott Wood <scottwood@freescale.com> To: Mike Turquette <mturquette@linaro.org>, Tang Yuantian <Yuantian.Tang@freescale.com> Subject: [RFC PATCH 1/8] ARM: dts: ls1021a: Fix clockgen node Date: Thu, 18 Jun 2015 21:49:11 -0500 Message-ID: <1434682158-7243-2-git-send-email-scottwood@freescale.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1434682158-7243-1-git-send-email-scottwood@freescale.com> References: <1434682158-7243-1-git-send-email-scottwood@freescale.com> MIME-Version: 1.0 X-Originating-IP: [192.88.168.50] X-ClientProxiedBy: BLUPR08CA0070.namprd08.prod.outlook.com (10.141.200.50) To BLUPR03MB1475.namprd03.prod.outlook.com (25.163.81.17) X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1475; 2:xxyogFrPOFH7wCqkmijHoaZgb3VuYt8WnBjDK+RtOEOXTx9CsL/E4dukKAEK7WTd; 2:sgMnfdReHFxSNB5HWwr2TJkg7O4a5ZTaMOe609IwvfopvznDQqBM5cgrTTVOStyCpNJw2S8SdR5KNLk5PtamEPZJIRmYiMB0jKbEa6sXVDFwqbwuqEbBh6kFSTHvqaoMnqKG+SZnzfNmJBHu2kZbjw==; 6:qffvwL+3QBc0Mp+j3qoq5UVx0g3wV9JPH7feohzPEk/SG3Z4zp8fCRTViVKeFXpjlyxNp94dD+R61m6S8G7sh4JtuCYN3asGixyFOKYKj6oADM3w8pQME9orvZ9UvzrEWD3aAU8e+mGpdGrrk4DsruroVHWFqI/CRlMB0Q9R6SWDNzZ2/4OCqKZ7rS2cfV6lexNkQ7FFup+PcxMkDMJEjr1yiBslSnEwrjE4ZjEuU7wYEi84b7B4ZDBAZzJpXWR1cYYJUKPmpB3QgeA2DXayVgGZIwxvsO1ruv1EH26xyRTpHgNwH+6MHRGgQ/KvzEhM4Cnn/P2hi+i6yNvxI6vlGksfPd7cun4BFd/3kmzXjrrRHprQP12nvZjM2ZizBLMpIIGSRwOrmebGCS6gB5UtfRARdePn1/OKBrnRz5C+FtWqruB6uoskzHhB9iKOOeY20VfMHtzTktRrnnOWE1psOtbzMFglAE1BXcaWFjTqtkhvUWwdLNZMkM87cEV86x9zLWfwgMoEvbV7F9hzLyTpWLl886mMWc1yBIUkeegh6FxQRmoelAcn+zT38AqfEjEwYoacyu2q1o3CwSvHWmIYnQjQHddj1LLJqwD9+lIepkg= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1475; X-Microsoft-Antispam-PRVS: <BLUPR03MB147598C9B48F155ABB179514B5A40@BLUPR03MB1475.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BLUPR03MB1475; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB1475; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1475; 3:hc59tvt3C8qTltEQ7YyHDW7bBMz7FNgp0BrYJe4J2OSMKvyvoh3WI8fE/WxPlRKFlyvA0HifAGHs6kRuZi0bcAJWR6E1R021hb9UTpGzYtndM4DxY3XOHKMq+dwF2a4yXzaxB/uIwbeCY6WryLScB45ETvbMqR5elX5Pr4YjWTFsUXXifX2GZc2jFRn/rlOixVEXpX8w0AWUHCmxzcIyxWzb4w7n0VWXqJxKHE92soSvRz4k+s3+JtTd+5x1aJW/zvgpBANoEFW9hcnz9OMeb78mpDHb6ZeB8dVr0OQR0ug= X-Forefront-PRVS: 0612E553B4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(575784001)(86362001)(77096005)(33646002)(76176999)(40100003)(87976001)(122386002)(36756003)(50466002)(189998001)(50986999)(50226001)(92566002)(48376002)(62966003)(77156002)(229853001)(42186005)(5001960100002)(19580395003)(2950100001)(46102003)(66066001)(19580405001)(47776003)(5001770100001)(4001450100001)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB1475; H:snotra.am.freescale.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1475; 9:LGgaGawNuKQeABV1fnUxwPinYE1ppzavPKILTs2Ndele01czly7ofoW8a+MkGt/u5euuXm+pFvMYNE3sNi/FC6WobQVlIoW5cdRFva4E0sseW4Efevy7qaYzHLQxuGWoROBoLwUR2/d8VvqlrACbyBcfvsg7stYikF3XAD3JBwyIo0ZgM6EE2ToFXxvLBRdhUNLedza1+GGzkOguigsVApSJE/MBw4GhpyKPikkh0q/3RlvQPhVeBwjh9NM/l5FjxNRAx/GBGZnk3lam2L6FEQZqCQ601Zo6zI5tymB8Fsuo6V82NLI0IGhaZxHy1Qm+JzuSsRVIkr6ni3h/DwLbgH7h7jy1I3vdOgLumWLiFNud7P6rIt2EeJ6mVJB+F4oNk5XlRS+V5touM8lUSlgAogVw56R0LwnhYPLnunzf63sc/WKL0jIJCJKmMrXlD0QxwhjBJPp8AC5tstMdWdWp+KVTY8freiW/3BYod23DO3ulspO+4AOzCWC7oLT5F7hNDks6ZhtQgKGCHiDDPvnDq5Q//HPL9xBwOx/I5gBEwgy9KAp4lbLbpJV7Wa1KtJHg0ATNaLqCL6WYoLhfpsjMann5r0a+sGe/YNPCrKpirCl7TcFtjwdXegmjcuGMBzYU/ZXEDzXV7q/cvVDv/glYiDnb2iDc0+EYFrGI/RZRrsg/qBGgZbcHesFCQKh4q9yg/CTROs1lPTGHN/f2j9R8A1ZLQKhygZCTDkKZKMUSJfNqpd8D8Qam+Y9FmL2MXpJ1XtuJglLf1BNXJsd7KTntkOmig6D9/ICJDRkp6lGKZn92awOfjEGwLPEtDwUEmYofvwGLkk2mLbbf8Bpacx1Xag== X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1475; 3:zvWitiAZX+Ce3llOe2HGTcNFvHsUmzIxXXJEPhuCdpZwyW4wR5oF9JEpTNLGWVelhBvOIr7WHRw3stGj6klA7BhEeDVy2Rm9m2cqfCqeKbanUa6Ym3VcEMquetKgtYd04bOp6igUaPhWI0iIlGzTqQ==; 10:y5Sba+i46f2iipAtgTLL2dVzlWZ3L9ZbCvAl2dxRKQBN0w2WJrBU3f38REnHCCeiKfexOnzxIYbpgo8HHULtYYcVjDWP/bNjUE9ImSSVozw=; 6:oPceQW4/Hp9xfYtuFnOdSe2t2cy0qCcu+9KXpbJF+TSSfEdU9cWc2EvJc9bkn7WF X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2015 02:49:31.1658 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1475 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150619_035006_904486_6F4A32F7 X-CRM114-Status: GOOD ( 13.24 ) X-Spam-Score: -1.9 (-) Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org, "Rafael J. Wysocki" <rjw@rjwysocki.net>, Liberman Igal-B31950 <Igal.Liberman@freescale.com>, Scott Wood <scottwood@freescale.com>, Jingchang Lu <b35083@freescale.com>, Shawn Guo <shawn.guo@linaro.org>, linuxppc-dev@lists.ozlabs.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index c70bb27..a0a1c51 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -146,9 +146,12 @@ }; clockgen: clocking@1ee1000 { + compatible = "fsl,ls201a-clockgen"; #address-cells = <1>; #size-cells = <1>; + reg = <0 0x1ee1000 0x10000>; ranges = <0x0 0x0 0x1ee1000 0x10000>; + clocks = <&sysclk>; sysclk: sysclk { compatible = "fixed-clock";
The binding requires compatible and reg properties, but the ls1021a device tree does not contain them. This will break with subsequent clock driver changes. If required (it's not clear to me whether the ls1 code currently works at all -- I tried multi_v7_defconfig and it didn't boot, whereas I was able to boot an SDK kernel), backwards compatibility can be retained with a device tree fixup. LS1021A also deviates from existing QorIQ clockgen practice by making the sysclk node be a fixed-clock node rather than the U-Boot compatibility hack of having a clock-frequency property in the clockgen node itself, and a fsl,qoriq-sysclk-... node that exports the clock. While this is not a violation of the existing binding, the upcoming rework of the clock driver requires that a driver for the clockgen node itself be able to find the input clock. Thus, a clocks property is added to reference the sysclk node. Signed-off-by: Scott Wood <scottwood@freescale.com> Cc: Jingchang Lu <b35083@freescale.com> Cc: Shawn Guo <shawn.guo@linaro.org> --- arch/arm/boot/dts/ls1021a.dtsi | 3 +++ 1 file changed, 3 insertions(+)