[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJOA=zOWMR2R2CjZbnCOWQ_R1ZA+aOUejzm-t8OMzbFmc+U2Hg@mail.gmail.com>
Date: Sat, 24 Sep 2011 22:27:24 -0700
From: "Turquette, Mike" <mturquette@...com>
To: Grant Likely <grant.likely@...retlab.ca>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
jeremy.kerr@...onical.com, broonie@...nsource.wolfsonmicro.com,
tglx@...utronix.de, linus.walleij@...ricsson.com,
amit.kucheria@...aro.org, dsaxena@...aro.org, patches@...aro.org,
linaro-dev@...ts.linaro.org, paul@...an.com, sboyd@...inc.com,
shawn.guo@...escale.com, skannan@...cinc.com,
magnus.damm@...il.com, arnd.bergmann@...aro.org,
linux@....linux.org.uk, eric.miao@...aro.org,
richard.zhao@...aro.org, Jamie Iles <jamie@...ieiles.com>
Subject: Re: [PATCH v2 4/7] clk: Add simple gated clock
On Sat, Sep 24, 2011 at 9:02 PM, Grant Likely <grant.likely@...retlab.ca> wrote:
> On Thu, Sep 22, 2011 at 03:26:59PM -0700, Mike Turquette wrote:
>> From: Jeremy Kerr <jeremy.kerr@...onical.com>
>>
>> Signed-off-by: Jeremy Kerr <jeremy.kerr@...onical.com>
>> Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
>> Signed-off-by: Jamie Iles <jamie@...ieiles.com>
>> Signed-off-by: Mike Turquette <mturquette@...com>
>> ---
>> Changes since v1:
>> Add copyright header
>> Fold in Jamie's patch for set-to-disable clks
>> Use BIT macro instead of shift
>>
>> drivers/clk/Kconfig | 4 ++
>> drivers/clk/Makefile | 1 +
>> drivers/clk/clk-gate.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++
>> include/linux/clk.h | 13 ++++++++
>> 4 files changed, 96 insertions(+), 0 deletions(-)
>> create mode 100644 drivers/clk/clk-gate.c
>>
>> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
>> index d8313d7..a78967c 100644
>> --- a/drivers/clk/Kconfig
>> +++ b/drivers/clk/Kconfig
>> @@ -12,3 +12,7 @@ config GENERIC_CLK
>> config GENERIC_CLK_FIXED
>> bool
>> depends on GENERIC_CLK
>> +
>> +config GENERIC_CLK_GATE
>> + bool
>> + depends on GENERIC_CLK
>
> I see zero documentation on what a "gated clock" is supposed to be or
> how it works, and there are zero comments in the code. It's kind of
> hard to review that way, and even harder to use.
Will add Documentation and re-post.
Thanks,
Mike
> g.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists