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(+)

Comments

Rob Herring (Arm) July 27, 2022, 2:51 p.m. UTC | #1
On Tue, 19 Jul 2022 15:50:16 -0600, Rob Herring wrote:
> '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(+)
> 

Applied, thanks!
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