arm64: dts: sprd: Fix battery-detect-gpios property
Subsystems (2)
PATCH v3 1/1 arm64: dts: sprd: Fix battery-detect-gpios property
According to DT bindings, the property is called 'battery-detect-gpios', not 'bat-detect-gpio'. Update the property as such.
Signed-off-by Stanislav Jakubek <[email protected]>
---
Krzysztof could you pick this one up as well?
Changes in V3:
- rebase on next-20241205
- drop already applied patches
- drop cover letter, as it's now just a single patch
Changes in V2:
- actually fix the property, as per bindings
- drop Baolin's R-b as the original patch was incorrect
Link to V2: https://lore.kernel.org/lkml/[email protected]/
arch/arm64/boot/dts/sprd/sc2731.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/sprd/sc2731.dtsi +1 -1
@@ -97,7 +97,7 @@ pmic_adc: adc@480 { pmic_fgu: fuel-gauge@a00 { compatible = "sprd,sc2731-fgu"; reg = <0xa00>; - bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>; + battery-detect-gpios = <&pmic_eic 9 GPIO_ACTIVE_HIGH>; io-channels = <&pmic_adc 3>, <&pmic_adc 6>; io-channel-names = "bat-temp", "charge-vol"; nvmem-cell-names = "fgu_calib";
Signature · 1 line
2.43.0
Krzysztof Kozlowski
AppliedQuoted 4 lines · Stanislav Jakubek
According to DT bindings, the property is called 'battery-detect-gpios', not 'bat-detect-gpio'. Update the property as such.
Applied, thanks!
[1/1] arm64: dts: sprd: Fix battery-detect-gpios property
https://git.kernel.org/krzk/linux-dt/c/e1daed030b56049caa2d8cc040c824990374d941
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>