Skip to content

Commit 0dc41c6

Browse files
krzksre
authored andcommitted
dt-bindings: power: supply: bq2515x: 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 <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250604-dt-bindings-psy-monitored-battery-v1-1-7f755ff75218@linaro.org Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent 19272b3 commit 0dc41c6

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Documentation/devicetree/bindings/power/supply/bq2515x.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,16 @@ properties:
5353
minimum: 50000
5454
maximum: 500000
5555

56-
monitored-battery:
57-
$ref: /schemas/types.yaml#/definitions/phandle
58-
description: phandle to the battery node being monitored
56+
monitored-battery: true
5957

6058
required:
6159
- compatible
6260
- reg
6361
- monitored-battery
6462

63+
allOf:
64+
- $ref: power-supply.yaml#
65+
6566
additionalProperties: false
6667

6768
examples:

0 commit comments

Comments
 (0)