OSDN Git Service

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)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:34:26 +0000 (16:34 +0800)
commit6effe295e1a87408033c29dbcea9d5a5c8b937d5
tree5eb07c154dd29c9841acee8ef59bb5011cb14d1b
parentc504745d821e1e74157a5e942888ad9b14248042
arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply

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>
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi