From: Stanislav Jakubek Date: Mon, 4 Nov 2024 13:03:58 +0000 (+0100) Subject: dt-bindings: power: supply: sc27xx-fg: document deprecated bat-detect-gpio X-Git-Tag: v6.13-rc1~43^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2da0cb9f03bd9b726fa1b4accb210ef2ab439925;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Krzysztof Kozlowski Reviewed-by: Chunyan Zhang Link: https://lore.kernel.org/r/f334c973dd4e6390a0cd51dbde358277a07604d7.1730720720.git.stano.jakubek@gmail.com Signed-off-by: Sebastian Reichel --- diff --git a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml index 9108a2841caf6..b10f155afe688 100644 --- a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml +++ b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml @@ -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