diff options
author | Heiko Schocher <hs@denx.de> | 2015-10-16 13:31:29 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-11-08 14:12:29 +0100 |
commit | a39a6405d5f949bc651694028a55d74c514ef1f9 (patch) | |
tree | e4d7958c093e69a71233c55e91cf73a7c51f2239 /Documentation/devicetree/bindings/rtc/pcf8563.txt | |
parent | dbb812b141f3bf3dbea75353da799da3d3373d53 (diff) | |
download | blackbird-obmc-linux-a39a6405d5f949bc651694028a55d74c514ef1f9.tar.gz blackbird-obmc-linux-a39a6405d5f949bc651694028a55d74c514ef1f9.zip |
rtc: pcf8563: add CLKOUT to common clock framework
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@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc/pcf8563.txt')
-rw-r--r-- | Documentation/devicetree/bindings/rtc/pcf8563.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/pcf8563.txt b/Documentation/devicetree/bindings/rtc/pcf8563.txt new file mode 100644 index 000000000000..72f6d2c9665e --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/pcf8563.txt @@ -0,0 +1,25 @@ +* Philips PCF8563/Epson RTC8564 Real Time Clock + +Philips PCF8563/Epson RTC8564 Real Time Clock + +Required properties: +see: Documentation/devicetree/bindings/i2c/trivial-devices.txt + +Optional property: +- #clock-cells: Should be 0. +- clock-output-names: + overwrite the default clock name "pcf8563-clkout" + +Example: + +pcf8563: pcf8563@51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + #clock-cells = <0>; +}; + +device { +... + clocks = <&pcf8563>; +... +}; |