Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751934AbdC0Djx (ORCPT ); Sun, 26 Mar 2017 23:39:53 -0400 Received: from mail-eopbgr00059.outbound.protection.outlook.com ([40.107.0.59]:11313 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751794AbdC0Djq (ORCPT ); Sun, 26 Mar 2017 23:39:46 -0400 From: Andy Tang To: "mturquette@baylibre.com" CC: "sboyd@codeaurora.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-clk@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Scott Wood Subject: RE: [PATCH 1/2 v2] dt-bindings: qoriq-clock: Add coreclk Thread-Topic: [PATCH 1/2 v2] dt-bindings: qoriq-clock: Add coreclk Thread-Index: AQHSoSTp2gg4DGwNNU+ig6s4pz9lHqGoFRhA Date: Mon, 27 Mar 2017 03:39:42 +0000 Message-ID: References: <1489977443-33582-1-git-send-email-andy.tang@nxp.com> In-Reply-To: <1489977443-33582-1-git-send-email-andy.tang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: baylibre.com; dkim=none (message not signed) header.d=none;baylibre.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [199.59.226.141] x-microsoft-exchange-diagnostics: 1;DB6PR0402MB2840;7:15vUtrJKx0yq55e2FboKigtvcLydFLLl3IBMnVJPeV18NLRWoqDB/hlDIkjemXRVgfL3erRnXR3wG94pCCxdsTuSBOXKPj++xQ/MAp4hc8j+PWBEBATuSmN+BfRkH7gqDBMm13zv+VKQRqDY3TIYOsKoFuiyosRKf3Bb5DiYwfOIyp4Pp/M1/dl2kID1aiIsaasvMLCKQeqPwzqvrO6BWSJAusw5dxLobuESuS0MEBiweWArr74a1MDRW7YJZp/5XfFwVll6jSZAmqrtXofiIWS3u6OX+kT4I9j9bSOr5ek8XssKP1tg+QnxmCYidHuZNIFByM4c4cDv7RG0W+z02g== x-ms-office365-filtering-correlation-id: e03ce0b5-1cf1-4d7b-3788-08d474c2e7fe x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081);SRVR:DB6PR0402MB2840; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(9452136761055)(185117386973197)(258649278758335); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123558025)(20161123562025)(20161123564025)(20161123560025)(6072148);SRVR:DB6PR0402MB2840;BCL:0;PCL:0;RULEID:;SRVR:DB6PR0402MB2840; x-forefront-prvs: 02596AB7DA x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39840400002)(39860400002)(39410400002)(39850400002)(13464003)(377454003)(102836003)(3846002)(6116002)(2900100001)(54356999)(122556002)(305945005)(7736002)(74316002)(50986999)(76176999)(77096006)(38730400002)(5640700003)(4326008)(229853002)(6436002)(6506006)(2351001)(53936002)(7696004)(33656002)(5660300001)(110136004)(99286003)(54906002)(55016002)(53546009)(189998001)(6246003)(25786009)(9686003)(6916009)(2950100002)(66066001)(8936002)(3280700002)(86362001)(2906002)(3660700001)(1730700003)(8676002)(2501003)(81166006);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0402MB2840;H:DB6PR0402MB2837.eurprd04.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2017 03:39:42.8815 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2840 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v2R3e0b7001681 Content-Length: 2095 Lines: 59 PING! Regards, Yuantian > -----Original Message----- > From: Yuantian Tang [mailto:andy.tang@nxp.com] > Sent: Monday, March 20, 2017 10:37 AM > To: mturquette@baylibre.com > Cc: sboyd@codeaurora.org; robh+dt@kernel.org; mark.rutland@arm.com; > linux-clk@vger.kernel.org; devicetree@vger.kernel.org; linux- > kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; Scott Wood; > Andy Tang > Subject: [PATCH 1/2 v2] dt-bindings: qoriq-clock: Add coreclk > > 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 > > -- > 2.1.0.27.g96db324