]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: power: supply: richtek,rt5033: Add missing power-supply ref
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 4 Jun 2025 08:18:24 +0000 (10:18 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 21 Jun 2025 23:45:46 +0000 (01:45 +0200)
Reference the common power supply schema to bring the definition of
monitored-battery property.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250604-dt-bindings-psy-monitored-battery-v1-4-7f755ff75218@linaro.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/supply/richtek,rt5033-charger.yaml

index 5b3edd79a523ff7f8f04cadc425c208a63cd8f85..d91eced9f5fb0b330c91aa61e0be9aa6bee52ae4 100644 (file)
@@ -18,7 +18,6 @@ properties:
     const: richtek,rt5033-charger
 
   monitored-battery:
-    $ref: /schemas/types.yaml#/definitions/phandle
     description: |
       Phandle to the monitored battery according to battery.yaml. The battery
       node needs to contain five parameters.
@@ -54,6 +53,9 @@ properties:
 required:
   - monitored-battery
 
+allOf:
+  - $ref: power-supply.yaml#
+
 additionalProperties: false
 
 examples: