Re: [PATCH 0/6] PM / clock_ops: Add helpers combining generic runtime and generic clock PM

From: Ulf Hansson
Date: Thu Apr 24 2014 - 09:27:13 EST


On 24 April 2014 12:26, Geert Uytterhoeven <geert+renesas@xxxxxxxxx> wrote:
> Several platform support codes combine pm_generic_runtime_suspend() and
> pm_clk_suspend(), resp. pm_clk_resume() and pm_generic_runtime_resume() in
> their .runtime_suspend resp. .runtime_resume callbacks.
>
> Create helpers to consolidate.
>
> - [1/6] PM / clock_ops: Add helpers combining generic runtime and generic
> clock PM

How about adding the code from the above patch into the generic power
domain instead?

> - [2/6] ARM: davinci: Use generic runtime and clock helpers
> - [3/6] ARM: keystone: Use generic runtime and clock helpers
> - [4/6] ARM: omap: Use generic runtime and clock helpers
> - [5/6] drivers: sh: Use generic runtime and clock helpers

Then convert the above power domains implementations to the generic
power domain? Would that work?

Kind regards
Ulf Hansson

> - [6/6] of/clk: Use generic runtime and clock helpers
>
> Patches 5 and 6 have dependencies (listed in the individual patches),
> but they can be postponed and handled later.
>
> Thanks!
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/