[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220719215017.1875530-1-robh@kernel.org>
Date: Tue, 19 Jul 2022 15:50:16 -0600
From: Rob Herring <robh@...nel.org>
To: Sebastian Reichel <sre@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] dt-bindings: power: supply: charger-manager: Add missing type for 'cm-battery-stat'
'cm-battery-stat' is missing a type definition and is not a common
property. The type is boolean.
Signed-off-by: Rob Herring <robh@...nel.org>
---
.../devicetree/bindings/power/supply/charger-manager.yaml | 1 +
1 file changed, 1 insertion(+)
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
--
2.34.1
Powered by blists - more mailing lists