diff mbox series

dt-bindings: power: supply: charger-manager: Add missing type for 'cm-battery-stat'

Message ID 20220719215017.1875530-1-robh@kernel.org
State Accepted
Commit fe75ac871214e83b192fe64c8329489d8e1a6a14
Headers show
Series dt-bindings: power: supply: charger-manager: Add missing type for 'cm-battery-stat' | expand

Commit Message

Rob Herring (Arm) July 19, 2022, 9:50 p.m. UTC
'cm-battery-stat' is missing a type definition and is not a common
property. The type is boolean.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/power/supply/charger-manager.yaml        | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/charger-manager.yaml b/Documentation/devicetree/bindings/power/supply/charger-manager.yaml
index fbb2204769aa..5af1e0beaf29 100644
--- a/Documentation/devicetree/bindings/power/supply/charger-manager.yaml
+++ b/Documentation/devicetree/bindings/power/supply/charger-manager.yaml
@@ -50,6 +50,7 @@  properties:
 
   cm-battery-stat:
     description: battery status
+    $ref: /schemas/types.yaml#/definitions/uint32
     enum:
       - 0 # battery always present
       - 1 # no battery