Skip to content

Commit 128c070

Browse files
krzksre
authored andcommitted
dt-bindings: power: supply: summit,smb347: Add missing power-supply ref
Reference the common power supply schema to bring the definition of monitored-battery property. Drop also the obvious description because it is duplicating what is in power-supply.yaml. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: David Heidelberg <[email protected]> Link: https://lore.kernel.org/r/20250604-dt-bindings-psy-monitored-battery-v1-5-7f755ff75218@linaro.org Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 221e08e commit 128c070

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ properties:
2323
interrupts:
2424
maxItems: 1
2525

26-
monitored-battery:
27-
description: phandle to the battery node
28-
$ref: /schemas/types.yaml#/definitions/phandle
26+
monitored-battery: true
2927

3028
summit,enable-usb-charging:
3129
type: boolean
@@ -94,6 +92,7 @@ properties:
9492
unevaluatedProperties: false
9593

9694
allOf:
95+
- $ref: power-supply.yaml#
9796
- if:
9897
properties:
9998
compatible:

0 commit comments

Comments
 (0)