Skip to content

Commit 2da0cb9

Browse files
Stanislav Jakubeksre
authored andcommitted
dt-bindings: power: supply: sc27xx-fg: document deprecated bat-detect-gpio
While the bindings have always used the correct 'battery-detect-gpios' property, the DTS and the Linux driver have been using the incorrect 'bat-detect-gpio' property. Document this property and mark it as deprecated. Signed-off-by: Stanislav Jakubek <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Chunyan Zhang <[email protected]> Link: https://lore.kernel.org/r/f334c973dd4e6390a0cd51dbde358277a07604d7.1730720720.git.stano.jakubek@gmail.com Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 7263d7d commit 2da0cb9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ properties:
2727
battery-detect-gpios:
2828
maxItems: 1
2929

30+
bat-detect-gpio:
31+
maxItems: 1
32+
deprecated: true
33+
description: use battery-detect-gpios instead
34+
3035
interrupts:
3136
maxItems: 1
3237

0 commit comments

Comments
 (0)