[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADRPPNQ8zf_+205OK=g1FvKpjghFwuyBVW3Wy4zC8VMN2bLdhQ@mail.gmail.com>
Date: Fri, 8 Nov 2019 14:20:00 -0600
From: Li Yang <leoyang.li@....com>
To: Wen He <wen.he_1@....com>
Cc: Stephen Boyd <sboyd@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Michael Turquette <mturquette@...libre.com>,
Rob Herring <robh+dt@...nel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-clk@...r.kernel.org" <linux-clk@...r.kernel.org>,
"linux-devel@...ux.nxdi.nxp.com" <linux-devel@...ux.nxdi.nxp.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [EXT] RE: [v6 2/2] clk: ls1028a: Add clock driver for Display
output interface
On Thu, Nov 7, 2019 at 8:21 PM Wen He <wen.he_1@....com> wrote:
>
>
>
> > -----Original Message-----
> > From: Stephen Boyd <sboyd@...nel.org>
> > Sent: 2019年11月8日 6:58
> > To: Leo Li <leoyang.li@....com>; Mark Rutland <mark.rutland@....com>;
> > Michael Turquette <mturquette@...libre.com>; Rob Herring
> > <robh+dt@...nel.org>; Wen He <wen.he_1@....com>;
> > devicetree@...r.kernel.org; linux-clk@...r.kernel.org;
> > linux-devel@...ux.nxdi.nxp.com; linux-kernel@...r.kernel.org
> > Subject: [EXT] RE: [v6 2/2] clk: ls1028a: Add clock driver for Display output
> > interface
> >
> > Caution: EXT Email
> >
> > Quoting Wen He (2019-11-06 19:13:48)
> > >
> > > > > diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index
> > > > > 0138fb14e6f8..d23b7464aba8 100644
> > > > > --- a/drivers/clk/Makefile
> > > > > +++ b/drivers/clk/Makefile
> > > > > @@ -45,6 +45,7 @@ obj-$(CONFIG_COMMON_CLK_OXNAS)
> > +=
> > > > > clk-oxnas.o
> > > > > obj-$(CONFIG_COMMON_CLK_PALMAS) += clk-palmas.o
> > > > > obj-$(CONFIG_COMMON_CLK_PWM) += clk-pwm.o
> > > > > obj-$(CONFIG_CLK_QORIQ) += clk-qoriq.o
> > > > > +obj-$(CONFIG_CLK_LS1028A_PLLDIG) += clk-plldig.o
> > > >
> > > > Wrong ordering. This section of Makefile requires ordering by
> > > > driver file
> > > > name:
> > > >
> > > > # hardware specific clock types
> > > > # please keep this section sorted lexicographically by file path
> > > > name
> > > >
> > >
> > > Hi Leo,
> > >
> > > Stephen once suggest the Kconfig variable name should be given a more
> > > specific name like CLK_LS1028A_PLLDIG, so I have to changed it.
> > >
> > > Hi Stephen,
> > >
> > > How do you think?
> > >
> >
> >
> > Config name looks fine to me, but you haven't sorted this based on the file
> > name, i.e. clk-plldig.o, so please insert this in the right place in this file.
>
> Wow, Understand now..
>
> Should be sort this file like below, right?
> obj-$(CONFIG_COMMON_CLK_PWM) += clk-pwm.o
> obj-$(CONFIG_CLK_LS1028A_PLLDIG) += clk-plldig.o
> obj-$(CONFIG_CLK_QORIQ) += clk-qoriq.o
No. The correct order should be:
clk-plldig.o
clk-pwm.o
clk-qoriq.o
Regards,
Leo
Powered by blists - more mailing lists