]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: sprd: sc2731: move fuel-gauge monitored-battery to device DTS
authorStanislav Jakubek <stano.jakubek@gmail.com>
Wed, 6 Nov 2024 19:05:45 +0000 (20:05 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 5 Dec 2024 10:33:38 +0000 (11:33 +0100)
commitec87fd9f66bb8196ce4c80b6f9a02a8fdb452821
treec0eb35b49c325072038918e5f8eaee424f36b4fd
parente864e215ce2197cd5d5c0e9229b4bb83379a5186
arm64: dts: sprd: sc2731: move fuel-gauge monitored-battery to device DTS

The monitored-battery property is a property of the board, not the PMIC.
Move this property to the DTS of its only user, sp9860g-1h10.
While at it, disable the fuel-gauge node by default and enable it only
for its users, as it requires board-specific properties to work correctly.

Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Link: https://lore.kernel.org/r/2959aa8567afbef17337829072adce01158f00bb.1730918663.git.stano.jakubek@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/sprd/sc2731.dtsi
arch/arm64/boot/dts/sprd/sp9860g-1h10.dts