linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] dt-bindings: rtc: add trickle-voltage-millivolt
@ 2020-10-07 22:05 Alexandre Belloni
  2020-10-07 22:05 ` [PATCH v2 2/3] dt-bindings: rtc: rv3032: add RV-3023 bindings Alexandre Belloni
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexandre Belloni @ 2020-10-07 22:05 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni, Rob Herring
  Cc: devicetree, linux-rtc, linux-kernel

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 v2:
 - use millivolt suffix instead of mV

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

diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml
index ee237b2ed66a..93f04d5e5307 100644
--- a/Documentation/devicetree/bindings/rtc/rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/rtc.yaml
@@ -42,6 +42,13 @@ properties:
       Selected resistor for trickle charger. Should be given
       if trickle charger should be enabled.
 
+  trickle-voltage-mV:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-13 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-07 22:05 [PATCH v2 1/3] dt-bindings: rtc: add trickle-voltage-millivolt Alexandre Belloni
2020-10-07 22:05 ` [PATCH v2 2/3] dt-bindings: rtc: rv3032: add RV-3023 bindings Alexandre Belloni
2020-10-07 22:05 ` [PATCH v2 3/3] rtc: rv3032: Add a driver for Microcrystal RV-3032 Alexandre Belloni
2020-10-13 13:38 ` [PATCH v2 1/3] dt-bindings: rtc: add trickle-voltage-millivolt Rob Herring
2020-10-13 14:42   ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).