Skip to content

Commit

Permalink
dt-bindings: power: supply: sc27xx-fg: document deprecated bat-detect…
Browse files Browse the repository at this point in the history
…-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 <stano.jakubek@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Chunyan Zhang <zhang.lyra@gmail.com>
Link: https://lore.kernel.org/r/f334c973dd4e6390a0cd51dbde358277a07604d7.1730720720.git.stano.jakubek@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
  • Loading branch information
Stanislav Jakubek authored and Sebastian Reichel committed Nov 11, 2024
1 parent 7263d7d commit 2da0cb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ properties:
battery-detect-gpios:
maxItems: 1

bat-detect-gpio:
maxItems: 1
deprecated: true
description: use battery-detect-gpios instead

interrupts:
maxItems: 1

Expand Down

0 comments on commit 2da0cb9

Please sign in to comment.