diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-11-11 20:31:13 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-12-04 13:31:06 -0600 |
commit | 6331d184e65e270b4768679b94e73eef1ab2ccde (patch) | |
tree | 3612716eb4b37bd0b36b59e824e8f41bf02d8495 /Documentation/devicetree/bindings/rtc/rtc.txt | |
parent | e1e5254427525d59a184771b122469c998e53b58 (diff) |
dt-bindings: rtc: add generic bindings
Add generic binding documentation for the RTC subsystem.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc/rtc.txt')
-rw-r--r-- | Documentation/devicetree/bindings/rtc/rtc.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/rtc.txt b/Documentation/devicetree/bindings/rtc/rtc.txt new file mode 100644 index 000000000000..221b7da50aca --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc.txt @@ -0,0 +1,30 @@ +Generic device tree bindings for Real Time Clock devices +======================================================== + +This document describes generic bindings which can be used to describe Real Time +Clock devices in a device tree. + +Required properties +------------------- + +- compatible : name of RTC device following generic names recommended practice. + +For other required properties e.g. to describe register sets, +clocks, etc. check the binding documentation of the specific driver. + +Optional properties +------------------- + +- start-year : if provided, the default hardware range supported by the RTC is + shifted so the first usable year is the specified one. + +The following properties may not be supported by all drivers. However, if a +driver wants to support one of the below features, it should adapt the bindings +below. +- trickle-resistor-ohms : Selected resistor for trickle charger. Should be given + if trickle charger should be enabled +- trickle-diode-disable : Do not use internal trickle charger diode Should be + given if internal trickle charger diode should be + disabled +- wakeup-source : Enables wake up of host system on alarm + |