Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932531AbcKVJxh (ORCPT ); Tue, 22 Nov 2016 04:53:37 -0500 Received: from mail-db5eur01on0056.outbound.protection.outlook.com ([104.47.2.56]:35184 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932501AbcKVJxa (ORCPT ); Tue, 22 Nov 2016 04:53:30 -0500 From: "Y.T. Tang" To: Scott Wood , "mturquette@baylibre.com" CC: "sboyd@codeaurora.org" , "linux-kernel@vger.kernel.org" , Scott Wood , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: RE: [PATCH] clk: qoriq: added ls1012a clock configuration Thread-Topic: [PATCH] clk: qoriq: added ls1012a clock configuration Thread-Index: AQHSP9BHYNrOZA8r4kGzYMxeqhQj6KDbLOQAgAmFlnA= Date: Tue, 22 Nov 2016 08:20:00 +0000 Message-ID: References: <1479275900-42365-1-git-send-email-yuantian.tang@nxp.com> <1479279262.21746.40.camel@buserror.net> In-Reply-To: <1479279262.21746.40.camel@buserror.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yuantian.tang@nxp.com; x-originating-ip: [192.158.241.86] x-microsoft-exchange-diagnostics: 1;VI1PR0401MB1934;7:uGsU/oFSwsTPars6ZK8HqhG96/yDi8MD8oErbD0NLwXpTnQ8uaDKizxWZnhlTIB2oigGqlVzYrD+IVV5Sxe6aAa1nIa+oBQi0Yey/204dopAqd3FumtQ3RaB6EOO7DSufVwQLLkfVubvg0EoktdSE1QlrBMsdi6N/8oUcYqdVHGgsiCr1hqK6cOFG0Bft++3YfWW8viHWzxQVRUTjOoHXHOBLJ0aedLDk3HWQXnDOSv8PovsmnUn40yhSFStvZ+jMSjBw21DLNXtrRgnxFlV7lD7OuHCHgqf6eOfZFsYAtJ8lUzyXakt9CBhfPV9zsE3gdHfZG+WPfuxY8BtyJM6CbCOht2bJahS2WkninK9Zl0= x-forefront-antispam-report: SFV:SKI;SCL:-1SFV:NSPM;SFS:(10009020)(6009001)(7916002)(199003)(377454003)(24454002)(189002)(13464003)(54534003)(377424004)(33656002)(7846002)(7736002)(6506003)(38730400001)(305945005)(66066001)(3660700001)(97736004)(122556002)(74316002)(68736007)(3280700002)(5001770100001)(4001150100001)(189998001)(2501003)(5660300001)(8676002)(87936001)(2906002)(9686002)(4326007)(229853002)(8936002)(86362001)(575784001)(92566002)(76576001)(2950100002)(81166006)(81156014)(105586002)(7696004)(106356001)(106116001)(101416001)(77096005)(6116002)(50986999)(3846002)(54356999)(102836003)(76176999)(2900100001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0401MB1934;H:DB6PR0402MB2837.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-ms-office365-filtering-correlation-id: e491c61c-134d-4f09-f0e0-08d412b05a68 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:VI1PR0401MB1934; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197)(258649278758335); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6060326)(6040307)(6045199)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6041248)(6061324)(6046074);SRVR:VI1PR0401MB1934;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0401MB1934; x-forefront-prvs: 0134AD334F spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2016 08:20:00.5672 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB1934 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 base64 to 8bit by mail.home.local id uAM9rfMh004932 Content-Length: 2718 Lines: 89 Hi Scott, > -----Original Message----- > From: Scott Wood [mailto:oss@buserror.net] > Sent: Wednesday, November 16, 2016 2:54 PM > To: Y.T. Tang ; mturquette@baylibre.com > Cc: sboyd@codeaurora.org; linux-kernel@vger.kernel.org; Scott Wood > ; linux-clk@vger.kernel.org; linux-arm- > kernel@lists.infradead.org > Subject: Re: [PATCH] clk: qoriq: added ls1012a clock configuration > > On Wed, 2016-11-16 at 13:58 +0800, yuantian.tang@nxp.com wrote: > > From: Tang Yuantian > > > > Added ls1012a clock configuation information. > > Do we really need the same line in the changelog twice? > > > > > Signed-off-by: Tang Yuantian > > --- > >  drivers/clk/clk-qoriq.c | 19 +++++++++++++++++++ > >  1 file changed, 19 insertions(+) > > > > diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index > > 1bece0f..563d874 100644 > > --- a/drivers/clk/clk-qoriq.c > > +++ b/drivers/clk/clk-qoriq.c > > @@ -202,6 +202,14 @@ static const struct clockgen_muxinfo ls1021a_cmux > = { > >   } > >  }; > > > > +static const struct clockgen_muxinfo ls1012a_cmux = { > > + { > > + [0] = { CLKSEL_VALID, CGA_PLL1, PLL_DIV1 }, > > + {}, > > + [2] = { CLKSEL_VALID, CGA_PLL1, PLL_DIV2 }, > > + } > > +}; > > + > > Based on the "ls1021a_cmux" in the context it looks like this patch is > intended to apply on top > of https://patchwork.kernel.org/patch/8923541/ but I don't see any mention > of that. > I saw this patch had been merged already. Regards, Yuantian > >  static const struct clockgen_muxinfo t1040_cmux = { > >   { > >   [0] = { CLKSEL_VALID, CGA_PLL1, PLL_DIV1 }, @@ -482,6 > +490,16 @@ > > static const struct clockgen_chipinfo chipinfo[] = { > >   .pll_mask = 0x03, > >   }, > >   { > > + .compat = "fsl,ls1012a-clockgen", > > + .cmux_groups = { > > + &ls1012a_cmux > > + }, > > + .cmux_to_group = { > > + 0, -1 > > + }, > > + .pll_mask = 0x03, > > + }, > > + { > >   .compat = "fsl,ls1043a-clockgen", > >   .init_periph = t2080_init_periph, > >   .cmux_groups = { > > @@ -1284,6 +1302,7 @@ CLK_OF_DECLARE(qoriq_clockgen_2, > > "fsl,qoriq-clockgen- 2.0", clockgen_init); > >  CLK_OF_DECLARE(qoriq_clockgen_ls1021a, "fsl,ls1021a-clockgen", > > clockgen_init); > >  CLK_OF_DECLARE(qoriq_clockgen_ls1043a, "fsl,ls1043a-clockgen", > > clockgen_init); > >  CLK_OF_DECLARE(qoriq_clockgen_ls2080a, "fsl,ls2080a-clockgen", > > clockgen_init); > > +CLK_OF_DECLARE(qoriq_clockgen_ls1012a, "fsl,ls1012a-clockgen", > > clockgen_init); > > Please keep these lists of chips sorted (or as close as you can in the case of > the cmux structs which already have some sorting issues). > > -Scott