diff mbox series

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

Message ID 20201013144110.1942218-1-alexandre.belloni@bootlin.com
State Not Applicable
Headers show
Series [v3,1/3] dt-bindings: rtc: add trickle-voltage-millivolt | expand

Checks

Context Check Description
robh/dt-meta-schema success
robh/checkpatch success

Commit Message

Alexandre Belloni Oct. 13, 2020, 2:41 p.m. UTC
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@bootlin.com>
---

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

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

Comments

Rob Herring Oct. 16, 2020, 5:23 p.m. UTC | #1
On Tue, 13 Oct 2020 16:41:08 +0200, Alexandre Belloni wrote:
> 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@bootlin.com>
> ---
> 
> changes in v3:
>  - actually use -millivolt instead of -mV
> 
>  Documentation/devicetree/bindings/rtc/rtc.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

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: