Skip to content

Commit 860cb8d

Browse files
krzksre
authored andcommitted
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: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/20250604-dt-bindings-psy-monitored-battery-v1-3-7f755ff75218@linaro.org Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 0835608 commit 860cb8d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ properties:
3838
- const: usbin_i
3939
- const: usbin_v
4040

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

4543
required:
4644
- compatible
@@ -51,6 +49,9 @@ required:
5149
- io-channel-names
5250
- monitored-battery
5351

52+
allOf:
53+
- $ref: power-supply.yaml#
54+
5455
additionalProperties: false
5556

5657
examples:

0 commit comments

Comments
 (0)