From patchwork Mon Mar 20 02:37:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Tang X-Patchwork-Id: 9633007 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 B460D60249 for ; Mon, 20 Mar 2017 02:52:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A2C9927FAC for ; Mon, 20 Mar 2017 02:52:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 954162810E; Mon, 20 Mar 2017 02:52:16 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F235527FAC for ; Mon, 20 Mar 2017 02:52:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=yGxsrjRRrmGWE0GVmqh8a266dPHdgVFpYG6GkKQjY/Q=; b=HlK0tpIIrlcEY/ u08pJVLQFL6X+XKH9VLjqItSj6xN6mOly6m66kV2Y1xHRt5FElhl5KZaYVsJPE4wYcVlnDjaRMQ8R MhroHfHoIFsY0JzzUjNNBRbGtsk2jcifl/y7CZmEOPO5o35G/ztbJujMcvYok22xp+0uwwvgqogeI RuuyOccpQeaL4t9DsCgotLE3tsJ1OQxEqp2CAmwoCneZ3nzQgaxzmOxIvQCXnro6dByksHRjERo3E rjJ5NrL3gPVJa4aER3dpwifzTr7j2u+OTVQhRwYWq/s+MmZUN9qD8mLpq9sVpJ+sBMRVOAB16zmCY OvtlQhU6WX2fGS4Jg8hg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cpnQX-00085a-MH; Mon, 20 Mar 2017 02:52:09 +0000 Received: from mail-cys01nam02on0089.outbound.protection.outlook.com ([104.47.37.89] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cpnQT-000838-Gq for linux-arm-kernel@lists.infradead.org; Mon, 20 Mar 2017 02:52:07 +0000 Received: from BLUPR0301CA0021.namprd03.prod.outlook.com (10.162.113.159) by MWHPR03MB2798.namprd03.prod.outlook.com (10.168.208.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12; Mon, 20 Mar 2017 02:51:41 +0000 Received: from BL2FFO11FD007.protection.gbl (2a01:111:f400:7c09::178) by BLUPR0301CA0021.outlook.office365.com (2a01:111:e400:5259::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.977.11 via Frontend Transport; Mon, 20 Mar 2017 02:51:40 +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 BL2FFO11FD007.mail.protection.outlook.com (10.173.161.3) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.977.7 via Frontend Transport; Mon, 20 Mar 2017 02:51:40 +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 v2K2pYPm023779; Sun, 19 Mar 2017 19:51:36 -0700 From: Yuantian Tang To: Subject: [PATCH 1/2 v2] dt-bindings: qoriq-clock: Add coreclk Date: Mon, 20 Mar 2017 10:37:22 +0800 Message-ID: <1489977443-33582-1-git-send-email-andy.tang@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131344519005840574; (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)(39380400002)(39840400002)(39400400002)(39410400002)(39450400003)(39860400002)(39850400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(53936002)(110136004)(47776003)(5660300001)(104016004)(50226002)(8676002)(48376002)(5003940100001)(4326008)(54906002)(6916009)(305945005)(81166006)(7416002)(50466002)(2906002)(356003)(36756003)(86362001)(105606002)(106466001)(50986999)(33646002)(6666003)(38730400002)(8656002)(2351001)(8936002)(189998001)(77096006)(85426001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2798; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD007; 1:FmXOhKygb+orMH1LgLYi8AJ1XHaCHlJdy/7AYHg9gNJVYLScWSLOERPzNQory72wRJoYcLSNaifOrDN+LihqpvkGzpswNYbg6NNDRR3hN2/xceyI4mhdvw5ru86sYWfQCq30uZwkYv4Aa2oLm3K0GFjOialhoZbG/r4mI56cT2m9tItHcUjoD3m/LfWdvfJcpnpYpKOPbzuZ/23GXxhT4GLAl5UzwhZkM/opRngxqgr211mWXHsy2vdFw/j6JtsRA0eHIhNMlze65tM47/7YxkzEou+/ai66oqd3B1WQoV3/GRpa3UORBNmy8iZzilsLyxSGaPE+AaIlcfWiu2hiDpArURcYmDMbG0kR0aeXWtzHpx6aVBswEwt+hNlZPMYOORMd7aTDz+y/ujZLud7CoRJTgmJd00rah7iI6iZoAV1qihWM6PHoegV+Zdtq2bd2+ywV4UtkXJd7ehKm9U7V5QMo9GsERUq+S3H5fEwDEi61xZCUsqDN2a57X/4vZ4yPWK9zAI5rCGI4BgY8OACaRJ/e9LfFBkjQPLBHjC4qpTW7dGERtz381nMrlPDTZwui1VuYKzDP6k4iIeTU1l8EDBd3cdbxEx9tYr5oMxzTPQgmeVdowtVsoUGTNQi+UxC54n+ovxxBJ5cx7OgfA39VpCy9Z79R58m64qtAACskMNTv5kO/7Kjs2rv1c7RCTbp194Lppo2Nuh9heRIv4xBsOoZD9FuBpG9rcmDk2kRUYVA= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 5bf1e94b-52d7-49e7-435d-08d46f3c08fe X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:MWHPR03MB2798; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2798; 3:OK5S9xuNjk6sluedw/JGu7xuPshVHcvpn+0NBneNxXRZhdbzCC2NKzU1q25YdIf5/qwiUvdro7xK7um3G04Yf/mRtfk7wtLkKQ5UTHeudqH/aNt5wLFpa/arI1eU69gppS7dmv4Da4aENKBKph6lUoYVRkv0kk0fdMR1Q/aRxO0pH8wlXVWCWfXAGXzAyJmCSFEaL9Eu3TbksAK12VYojhZ2Uer5clQ0d8sjUBHuHMbz9b5j0diowO6iyDH7TModOIlN/xdfFO35uER7Mdu4avJ/b+JnOK09FmUlXS0A99ajpS5Sc7qqTFhuNQ09zvoqXb1ObJM1PGEWpeCNNWdr3Iy7t2n4Rbz7cYK12N0xmAe5zxqo4q4jqVW5pnvV666s; 25:dgTrfmw4FrwMM66kbylS3zKLoDf1PDvNdeVsOzKTwyd8GkUUzyfFd9JisSPUbJ5QBTHjjRQduP3mfgLiUER+ArunGRbj6aJg5/O+DttYLKR7AbSqd7/io3xZ4Z+4lbUgLWS6fjzYUHLmxspknPfYYzc2e4f/6S3VvedKiO4trwKXYKKxuV5Zl88gS93rwXaJgzHYntx+sGHz7LvTe3pChId8Gczh/wtcx2wtALfuoRMwST6X2/eI51lrAO6gFXfDubLyCpRY5Kga/82+y7CiwOyqe6iA224l3HyopzWVf13JUKotCCyh2dhFR+fjBwEB5vdiKtzVHhDYvWRg9KQlmNoffPyYOlparPYY2F4LKOzFStLscOmnF7U/wXLAo7XzxDZwWiK/t1BB5cMzb0nnQNXMEcqhewL+rKBHlT4G1fqyE3+kkTYo5MDlDlr+KfTLJPt6IZiqlbhHeZaH8F8FvA== X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2798; 31:yIXLx4LxwfirXIk0ff1XVaS5M+W/+eBDYoRilFCUffTuj7A5+c27OWa6K4a6HMI1/80ZL3GxOy69hCi1jKgLvc6NmRsDuHM8lsa2XZF3GzbAPjnLprdGWGFV5EwiRpYHwej58QhvAXWgQBDDDZkYGErb19hYg87HmyKNT0M4rrsLEH1bXoTnylNUVrxst72bCMoR18IsVg/MqjoivsRP4zSof1Qzep5DlJ+LsXRjyaPgU57aM8WS9CNR9OvF73bO8zSZ5XD7PpQH438x1GgJ6jhmEJUyki0/zHEmnqhoCG4= 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)(13024025)(13018025)(5005006)(13023025)(13015025)(8121501046)(13017025)(10201501046)(3002001)(6055026)(6096035)(20161123563025)(20161123561025)(20161123556025)(20161123565025)(20161123559025); SRVR:MWHPR03MB2798; BCL:0; PCL:0; RULEID:(400006); SRVR:MWHPR03MB2798; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2798; 4:Bh+DUFPdnQELi3lmiSb4kNR7J3kEbq8twM1exroV5KhJ1VOokqtuXTC12I/RdliD6EkmPIm2QNKo8fCJcqJ0BEuf21XsYyWs0eLGtFu7mH5KL7pKoXJ45vEErFCDj/L+JUgaUfx8iB9U/no+qvEqG8tvkI/w7K+xM1gdZFiuEkNHjaXXIlLX4GeTZIu0esUqpTDHkExIrmLpc4ZrKG5JEnWadg0L8WEe1CvdfLsVHTBy3xtflHMkEd61RMg6c4auwbKop3Vl/7u1vlS0aVpEdm2wxtesO2Lh4ZxCFZRlH2vnP0SL0pVRMuyVOOFmxSvs8RxmbxPYY73rhbPs9ks+bgT3zPeIVxQCOirmkZqzpSB2LC9aaOETHASZQ7uhAAEO+rt68OEahy9AH3r/Ux0/HvS8EnPcKj0yS9ZIprZp+LncOlZr3sSbfEHRbS9kbX0klbgpropFlMFBrGkXVWP24vZX5LC299wA22Xg1ageEPgN9NJcd1hfbSL+ltY9RwlB+fP9U03hjyZITqFxlPwc4OFwUkz5lEDHr+dHZ05Kqn3qXzSWyJuwbo48MKWBFyk8sHS/lKvO20dXZYQEUfaOp2TDwc51QS+oyC3BKEbTmppwJpuwijCBHpLDjzOZe1rgHb/XHUC7B26lLeVkhlxuIzgmxPQL+QucrTNQBrOx/Jt3dddCtTLQqVwqns40xpVs9EGFaSbincx1hZoOGOmVbymM59RfspU1KTV+bEwxt0NBwhzGZSg1wCxvwCzPDhZN X-Forefront-PRVS: 02524402D6 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2798; 23:83tq9hVE3MITx7Ka9Y7I6FZFAbpka0+d8VG65HeO/?= =?us-ascii?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clprksp80WqZ8YdUVH9lw3E4i1TxVdntpZi/ABRPgH1rzHA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2798; 7:3yOBbre13OVv/T3S0OORItnBDpThjMrRRPgmKWF6UrQ9iq7RpxFULDAonW8p4z5Vtf1oArGHz0XgrFdgnn9q6k4D47iyxgoOY6xlrRbkUTmKkV5QwVw4kKGRkAyEWxGAtrMkRt2tXy7Ca+dxaa9jgsAlcX8wmGR/yRNJbmWYTn0ES488QzoE18SfT1vnPf3li2i42xOmpNRmVkZua7tR9n3BuIbsaMGdmYWuNCguLh/DJLIitNkN+jje+8ZZyfh10kwW6gnKO3vUrJOu2ds1sdAkJVCm2pBHX1yQvIumIVta5pNQIPMU/EQIwvDfAS+fn3mDz1QYNe9cU+oJbzPbYQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2017 02:51:40.3968 (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: MWHPR03MB2798 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170319_195205_668525_D2F52AB5 X-CRM114-Status: GOOD ( 12.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Tang Yuantian , sboyd@codeaurora.org, linux-kernel@vger.kernel.org, Scott Wood , robh+dt@kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Scott Wood ls1012a has separate input root clocks for core PLLs versus the platform PLL, with the latter described as sysclk in the hw docs. Update the qoriq-clock binding to allow a second input clock, named "coreclk". If present, this clock will be used for the core PLLs. Signed-off-by: Scott Wood Signed-off-by: Tang Yuantian Acked-by: Rob Herring --- v2: -- change the author to Scott Documentation/devicetree/bindings/clock/qoriq-clock.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qoriq-clock.txt b/Documentation/devicetree/bindings/clock/qoriq-clock.txt index aa3526f..119cafd 100644 --- a/Documentation/devicetree/bindings/clock/qoriq-clock.txt +++ b/Documentation/devicetree/bindings/clock/qoriq-clock.txt @@ -56,6 +56,11 @@ Optional properties: - clocks: If clock-frequency is not specified, sysclk may be provided as an input clock. Either clock-frequency or clocks must be provided. + A second input clock, called "coreclk", may be provided if + core PLLs are based on a different input clock from the + platform PLL. +- clock-names: Required if a coreclk is present. Valid names are + "sysclk" and "coreclk". 2. Clock Provider @@ -72,6 +77,7 @@ second cell is the clock index for the specified type. 2 hwaccel index (n in CLKCGnHWACSR) 3 fman 0 for fm1, 1 for fm2 4 platform pll 0=pll, 1=pll/2, 2=pll/3, 3=pll/4 + 5 coreclk must be 0 3. Example