arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply
authorSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Fri, 2 Sep 2022 08:42:13 +0000 (10:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 10:35:44 +0000 (12:35 +0200)
commitd3c6d5be46de5824f154004808d3ef40929d9441
tree98e09ae29cbe4a499b5a8b7845ed6b6355f2d83a
parent82046b6a84e076cae683275ea19ed91a42168604
arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply

[ Upstream commit 6effe295e1a87408033c29dbcea9d5a5c8b937d5 ]

This allows the userspace to notice that there's not enough
current provided to charge the battery, and also fixes issues
with 0% SOC values being considered invalid.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi