From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 8 Jun 2019 14:45:37 +0530 From: Vinod Koul Subject: Re: [PATCH 2/2] clk: qcom: gcc: Add global clock controller driver for SM8150 Message-ID: <20190608091537.GG9160@vkoul-mobl.Dlink> References: <20190607101234.30449-1-vkoul@kernel.org> <20190607101234.30449-2-vkoul@kernel.org> <20190607174353.31EDA208C3@mail.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190607174353.31EDA208C3@mail.kernel.org> To: Stephen Boyd Cc: Rob Herring , linux-arm-msm@vger.kernel.org, Bjorn Andersson , Deepak Katragadda , Andy Gross , David Brown , Michael Turquette , Mark Rutland , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Taniya Das List-ID: On 07-06-19, 10:43, Stephen Boyd wrote: > Quoting Vinod Koul (2019-06-07 03:12:34) > > diff --git a/drivers/clk/qcom/gcc-sm8150.c b/drivers/clk/qcom/gcc-sm8150.c > > new file mode 100644 > > index 000000000000..1cbc884444c9 > > --- /dev/null > > +++ b/drivers/clk/qcom/gcc-sm8150.c > > +static const struct parent_map gcc_parent_map_0[] = { > > + { P_BI_TCXO, 0 }, > > + { P_GPLL0_OUT_MAIN, 1 }, > > + { P_GPLL0_OUT_EVEN, 6 }, > > + { P_CORE_BI_PLL_TEST_SE, 7 }, > > +}; > > + > > +static const char * const gcc_parent_names_0[] = { > > We have a new way of specifying clk parents now. Can you use that > instead of using strings everywhere? Okay I will update, any pointers on new implementation I can look up? Thanks -- ~Vinod