diff mbox series

[v4,2/2] dt-bindings: power: supply: bq24735: document the watchdog timer delay feature

Message ID 20210816165245.40416-3-bruno.meneguele@smartgreen.net
State New
Headers show
Series add Watchdog Timer delay support for BQ24735 | expand

Commit Message

Bruno Meneguele Aug. 16, 2021, 4:52 p.m. UTC
The new watchdog timer delay support in BQ24735 allow the user to set four
different options, ranging from 0 to 3. With that, add this new property and
its values and description to the BQ24735 DT binding documentation.

Signed-off-by: Bruno Meneguele <bruno.meneguele@smartgreen.net>
---
Changelog:
  v3 - create specific patch for dt bindings changes
     - add minimum and maximum values

 .../devicetree/bindings/power/supply/bq24735.yaml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

Rob Herring (Arm) Aug. 18, 2021, 1:09 a.m. UTC | #1
On Mon, 16 Aug 2021 13:52:45 -0300, Bruno Meneguele wrote:
> The new watchdog timer delay support in BQ24735 allow the user to set four
> different options, ranging from 0 to 3. With that, add this new property and
> its values and description to the BQ24735 DT binding documentation.
> 
> Signed-off-by: Bruno Meneguele <bruno.meneguele@smartgreen.net>
> ---
> Changelog:
>   v3 - create specific patch for dt bindings changes
>      - add minimum and maximum values
> 
>  .../devicetree/bindings/power/supply/bq24735.yaml | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 

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

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/bq24735.yaml b/Documentation/devicetree/bindings/power/supply/bq24735.yaml
index 131be6782c4b..93a125359ec7 100644
--- a/Documentation/devicetree/bindings/power/supply/bq24735.yaml
+++ b/Documentation/devicetree/bindings/power/supply/bq24735.yaml
@@ -56,6 +56,21 @@  properties:
       The POR value is 0x1000h. This number is in mA (e.g. 8064).
       See the spec for more information about the InputCurrent (0x3fh) register.
 
+  ti,wdt-timeout:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    minimum: 0
+    maximum: 3
+    description: |
+      Used to control and set the charger watchdog delay between consecutive
+      charge voltage and charge current commands.
+      This value must be:
+        0 - disabled
+        1 - 44 seconds
+        2 - 88 seconds
+        3 - 175 seconds
+      The POR value is 0x11 (3).
+      See the spec for more information about the ChargeOptions(0x12h) register.
+
   ti,external-control:
     type: boolean
     description: |