Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753140AbcKPGye (ORCPT ); Wed, 16 Nov 2016 01:54:34 -0500 Received: from host.buserror.net ([209.198.135.123]:37897 "EHLO host.buserror.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058AbcKPGyc (ORCPT ); Wed, 16 Nov 2016 01:54:32 -0500 Message-ID: <1479279262.21746.40.camel@buserror.net> From: Scott Wood To: yuantian.tang@nxp.com, mturquette@baylibre.com Cc: sboyd@codeaurora.org, linux-kernel@vger.kernel.org, scott.wood@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Wed, 16 Nov 2016 00:54:22 -0600 In-Reply-To: <1479275900-42365-1-git-send-email-yuantian.tang@nxp.com> References: <1479275900-42365-1-git-send-email-yuantian.tang@nxp.com> Organization: NXP Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 50.171.225.118 X-SA-Exim-Mail-From: oss@buserror.net X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -15 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Subject: Re: [PATCH] clk: qoriq: added ls1012a clock configuration X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) X-SA-Exim-Scanned: Yes (on host.buserror.net) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2090 Lines: 69 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. >  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