[PATCH 0/3] clk: Provide option to unprepare unused clocks at late init

Ulf Hansson ulf.hansson at linaro.org
Wed Jan 16 03:54:19 EST 2013


On 20 December 2012 20:17, Linus Walleij <linus.walleij at linaro.org> wrote:
> On Wed, Dec 19, 2012 at 12:16 AM, Ulf Hansson
> <ulf.hansson at stericsson.com> wrote:
>
>> The disable_unused sequence executed at late init, is already handling the
>> fast unused ungated clocks to be gated. This patchset extends this sequence to
>> include the slow unused prepared clocks to be unprepared.
>>
>> The default behavior will not change in this patchset. To unprepare unused
>> clocks during the disable_unused sequence, the clk_hw needs to implement
>> the new optional callback, is_prepared.
>>
>> The motivation for this patchset is to save power. Clocks that is from
>> bootloaders prepared|enabled, but not used should be unprepared|disabled.
>
> This has a nice symmetrical touch to it and looks allright to me, so
> Acked-by: Linus Walleij <linus.walleij at linaro.org>
>
> Yours,
> Linus Walleij

Hi Mike,

Just a kind reminder on this, could this be merged for 3.9?

I have a patch for ux500 that make use of this new feature, so it is
of course fully tested.
My plan was to send this patch separately, but if you like to see a
"proof of concept" I can include it into this patchset!?

Thanks!
Ulf Hansson



More information about the linux-arm-kernel mailing list