Message ID | 20200921171735.1191342-1-alexandre.belloni@bootlin.com |
---|---|
State | Changes Requested, archived |
Headers | show |
Series | [1/3] dt-bindings: rtc: add trickle-voltage-mV | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/dt-meta-schema | success |
On Mon, Sep 21, 2020 at 07:17:32PM +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> > --- > 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: Use standard unit suffix. > + $ref: /schemas/types.yaml#/definitions/uint32 And then you don't need a type. > + 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 >
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:
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> --- Documentation/devicetree/bindings/rtc/rtc.yaml | 7 +++++++ 1 file changed, 7 insertions(+)