Skip to content

Commit 221e08e

Browse files
krzksre
authored andcommitted
dt-bindings: power: supply: richtek,rt5033: Add missing power-supply ref
Reference the common power supply schema to bring the definition of monitored-battery property. Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/20250604-dt-bindings-psy-monitored-battery-v1-4-7f755ff75218@linaro.org Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 860cb8d commit 221e08e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/devicetree/bindings/power/supply/richtek,rt5033-charger.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ properties:
1818
const: richtek,rt5033-charger
1919

2020
monitored-battery:
21-
$ref: /schemas/types.yaml#/definitions/phandle
2221
description: |
2322
Phandle to the monitored battery according to battery.yaml. The battery
2423
node needs to contain five parameters.
@@ -54,6 +53,9 @@ properties:
5453
required:
5554
- monitored-battery
5655

56+
allOf:
57+
- $ref: power-supply.yaml#
58+
5759
additionalProperties: false
5860

5961
examples:

0 commit comments

Comments
 (0)