Re: [PATCH v4] rtc: pcf8563: add CLKOUT to common clock framework

From: Alexandre Belloni
Date: Sat Oct 17 2015 - 20:31:25 EST


On 16/10/2015 at 13:31:29 +0200, Heiko Schocher wrote :
> Add the clkout output clk to the common clock framework.
> Disable the CLKOUT of the RTC after power-up.
> After power-up/reset of the RTC, CLKOUT is enabled by default,
> with CLKOUT enabled the RTC chip has 2-3 times higher power
> consumption.
>
> Signed-off-by: Heiko Schocher <hs@xxxxxxx>
> ---
>
> Changes in v4:
> - add comments from Alexandre Belloni
> - use devm_clk_register() instead of clk_register()
> - rework Documentation
>
> Changes in v3:
> - use CONFIG_COMMON_CLK for common clk framework
> changes
>
> Changes in v2:
> - add comments from Alexandre Belloni
> - remove the DT property, instead
> register for the CLKOUT a clk in the common
> clk framework. The clk is disabled by default.
>
> Documentation/devicetree/bindings/rtc/pcf8563.txt | 25 ++++
> drivers/rtc/rtc-pcf8563.c | 170 +++++++++++++++++++++-
> 2 files changed, 194 insertions(+), 1 deletion(-)
> create mode 100644 Documentation/devicetree/bindings/rtc/pcf8563.txt
>
Applied, thanks.

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
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/