linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v1 01/12] clk: davinci - add Main PLL clock driver
       [not found] ` <1348525213-18987-2-git-send-email-m-karicheri2@ti.com>
@ 2012-09-26 11:10   ` Linus Walleij
  2012-09-26 13:44     ` [linux-keystone] " Karicheri, Muralidharan
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2012-09-26 11:10 UTC (permalink / raw)
  To: Murali Karicheri
  Cc: mturquette, arnd, akpm, shawn.guo, rob.herring, viresh.linux,
	linux-kernel, nsekhar, khilman, linux, davinci-linux-open-source,
	linux-arm-kernel, linux-keystone, linux-c6x-dev, cyril

On Tue, Sep 25, 2012 at 12:20 AM, Murali Karicheri <m-karicheri2@ti.com> wrote:

> +struct clk_davinci_pll_data {
> +       /* physical addresses set by platform code */
> +       u32 phy_pllm;
> +       /* if PLL has a prediv register this should be non zero */
> +       u32 phy_prediv;
> +       /* if PLL has a postdiv register this should be non zero */
> +       u32 phy_postdiv;
> +       /* mapped addresses. should be initialized by  */
> +       void __iomem *pllm;
> +       void __iomem *prediv;
> +       void __iomem *postdiv;
> +       u32 pllm_mask;
> +       u32 prediv_mask;
> +       u32 postdiv_mask;
> +       u32 num;
> +       /* framework flags */
> +       u32 flags;
> +       /* pll flags */
> +       u32 pll_flags;
> +       u32 fixed_prediv;       /* use this value for prediv */
> +       u32 pllm_multiplier;    /* multiply PLLM by this factor. By default
> +                                * most SOC set this to zero that translates
> +                                * to a multiplier of 1 and incrementer of 1.
> +                                * To override default, set this factor */
> +};

OMG this commenting style hurt my eyes ;-)

Please use good old kerneldoc above the struct instead.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [linux-keystone] Re: [PATCH v1 01/12] clk: davinci - add Main PLL clock driver
  2012-09-26 11:10   ` [PATCH v1 01/12] clk: davinci - add Main PLL clock driver Linus Walleij
@ 2012-09-26 13:44     ` Karicheri, Muralidharan
  0 siblings, 0 replies; 2+ messages in thread
From: Karicheri, Muralidharan @ 2012-09-26 13:44 UTC (permalink / raw)
  To: Linus Walleij
  Cc: mturquette, arnd, akpm, shawn.guo, rob.herring, viresh.linux,
	linux-kernel, Nori, Sekhar, Hilman, Kevin, linux,
	davinci-linux-open-source, linux-arm-kernel,
	linux-keystone@list.ti.com - Linux developers for Keystone
	family of devices (May contain non-TIers),
	linux-c6x-dev, Chemparathy, Cyril

>> -----Original Message-----
>> From: Linus Walleij [mailto:linus.walleij@linaro.org]
>> Sent: Wednesday, September 26, 2012 7:11 AM
>> To: Karicheri, Muralidharan
>> Cc: mturquette@linaro.org; arnd@arndb.de; akpm@linux-foundation.org;
>> shawn.guo@linaro.org; rob.herring@calxeda.com; viresh.linux@gmail.com; linux-
>> kernel@vger.kernel.org; Nori, Sekhar; Hilman, Kevin; linux@arm.linux.org.uk; davinci-
>> linux-open-source@linux.davincidsp.com; linux-arm-kernel@lists.infradead.org; linux-
>> keystone@list.ti.com - Linux developers for Keystone family of devices (May contain non-
>> TIers); linux-c6x-dev@linux-c6x.org; Chemparathy, Cyril
>> Subject: [linux-keystone] Re: [PATCH v1 01/12] clk: davinci - add Main PLL clock driver
>> 
>> On Tue, Sep 25, 2012 at 12:20 AM, Murali Karicheri <m-karicheri2@ti.com> wrote:
>> 
>> > +struct clk_davinci_pll_data {
>> > +       /* physical addresses set by platform code */
>> > +       u32 phy_pllm;
>> > +       /* if PLL has a prediv register this should be non zero */
>> > +       u32 phy_prediv;
>> > +       /* if PLL has a postdiv register this should be non zero */
>> > +       u32 phy_postdiv;
>> > +       /* mapped addresses. should be initialized by  */
>> > +       void __iomem *pllm;
>> > +       void __iomem *prediv;
>> > +       void __iomem *postdiv;
>> > +       u32 pllm_mask;
>> > +       u32 prediv_mask;
>> > +       u32 postdiv_mask;
>> > +       u32 num;
>> > +       /* framework flags */
>> > +       u32 flags;
>> > +       /* pll flags */
>> > +       u32 pll_flags;
>> > +       u32 fixed_prediv;       /* use this value for prediv */
>> > +       u32 pllm_multiplier;    /* multiply PLLM by this factor. By default
>> > +                                * most SOC set this to zero that translates
>> > +                                * to a multiplier of 1 and incrementer of 1.
>> > +                                * To override default, set this factor */
>> > +};
>> 
>> OMG this commenting style hurt my eyes ;-)
>> 
>> Please use good old kerneldoc above the struct instead.
>> 
>> Yours,
>> Linus Walleij

Sure! I will fix these in my next revision.

Murali

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-26 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1348525213-18987-1-git-send-email-m-karicheri2@ti.com>
     [not found] ` <1348525213-18987-2-git-send-email-m-karicheri2@ti.com>
2012-09-26 11:10   ` [PATCH v1 01/12] clk: davinci - add Main PLL clock driver Linus Walleij
2012-09-26 13:44     ` [linux-keystone] " Karicheri, Muralidharan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).