Commit 860cb8df authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Sebastian Reichel
Browse files

dt-bindings: power: supply: qcom,pmi8998: 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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250604-dt-bindings-psy-monitored-battery-v1-3-7f755ff75218@linaro.org


Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 08356084
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -38,9 +38,7 @@ properties:
      - const: usbin_i
      - const: usbin_v

  monitored-battery:
    description: phandle to the simple-battery node
    $ref: /schemas/types.yaml#/definitions/phandle
  monitored-battery: true

required:
  - compatible
@@ -51,6 +49,9 @@ required:
  - io-channel-names
  - monitored-battery

allOf:
  - $ref: power-supply.yaml#

additionalProperties: false

examples: