All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: power: supply: charger-manager: Add missing type for 'cm-battery-stat'
@ 2022-07-19 21:50 Rob Herring
  2022-07-27 14:51 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2022-07-19 21:50 UTC (permalink / raw)
  To: Sebastian Reichel, Krzysztof Kozlowski; +Cc: linux-pm, devicetree, linux-kernel

'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 --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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: power: supply: charger-manager: Add missing type for 'cm-battery-stat'
  2022-07-19 21:50 [PATCH] dt-bindings: power: supply: charger-manager: Add missing type for 'cm-battery-stat' Rob Herring
@ 2022-07-27 14:51 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-07-27 14:51 UTC (permalink / raw)
  To: Rob Herring
  Cc: Sebastian Reichel, linux-kernel, Krzysztof Kozlowski, linux-pm,
	devicetree

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-27 14:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19 21:50 [PATCH] dt-bindings: power: supply: charger-manager: Add missing type for 'cm-battery-stat' Rob Herring
2022-07-27 14:51 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.