[PATCH v3 1/3] dt-bindings: rtc: add trickle-voltage-millivolt

From: Alexandre Belloni
Date: Tue Oct 13 2020 - 10:41:27 EST


Some RTCs have a trickle charge that is able to output different voltages
depending on the type of the connected auxiliary power (battery, supercap,
...). Add a property allowing to specify the necessary voltage.

Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
---

changes in v3:
- actually use -millivolt instead of -mV

Documentation/devicetree/bindings/rtc/rtc.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml
index ee237b2ed66a..538f3f9b29a2 100644
--- a/Documentation/devicetree/bindings/rtc/rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/rtc.yaml
@@ -42,6 +42,12 @@ properties:
Selected resistor for trickle charger. Should be given
if trickle charger should be enabled.

+ trickle-voltage-millivolt:
+ description:
+ Selected voltage for trickle charger. Should be given
+ if trickle charger should be enabled and the trickle voltage is different
+ from the RTC main power supply.
+
wakeup-source:
$ref: /schemas/types.yaml#/definitions/flag
description:
--
2.26.2