lkml.org 
[lkml]   [2022]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6.0 781/862] arm64: dts: imx8mq-librem5: Add bq25895 as max17055s power supply
    Date
    From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>

    [ 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 | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
    index 9eec8a7eecfc..127fc7f904c8 100644
    --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
    +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
    @@ -1077,6 +1077,7 @@
    interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_gauge>;
    + power-supplies = <&bq25895>;
    maxim,over-heat-temp = <700>;
    maxim,over-volt = <4500>;
    maxim,rsns-microohm = <5000>;
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-10-19 13:54    [W:3.615 / U:0.124 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site