]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: rtc: add reset-source property
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Fri, 18 Dec 2020 10:10:53 +0000 (11:10 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 19 Dec 2020 00:57:44 +0000 (01:57 +0100)
commit320d159e2d63a97a40f24cd6dfda5a57eec65b91
tree1bb826d43d9357a9246c02eee38d9b37ecf3508d
parentf70cc33029fca3cf62bffb15102ea42eb4d097ac
dt-bindings: rtc: add reset-source property

Some RTCs, e.g. the pcf2127, can be used as a hardware watchdog. But
if the reset pin is not actually wired up, the driver exposes a
watchdog device that doesn't actually work.

Provide a standard binding that can be used to indicate that a given
RTC can perform a reset of the machine, similar to wakeup-source.

Suggested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201218101054.25416-2-rasmus.villemoes@prevas.dk
Documentation/devicetree/bindings/rtc/rtc.yaml