Skip to content

Commit 0835608

Browse files
krzksre
authored andcommitted
dt-bindings: power: supply: bq256xx: 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-2-7f755ff75218@linaro.org Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent 0dc41c6 commit 0835608

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ properties:
5858
minimum: 100000
5959
maximum: 3200000
6060

61-
monitored-battery:
62-
$ref: /schemas/types.yaml#/definitions/phandle
63-
description: phandle to the battery node being monitored
61+
monitored-battery: true
6462

6563
interrupts:
6664
maxItems: 1
@@ -78,6 +76,7 @@ required:
7876
- monitored-battery
7977

8078
allOf:
79+
- $ref: power-supply.yaml#
8180
- if:
8281
properties:
8382
compatible:

0 commit comments

Comments
 (0)