From: Martin Kepplinger <martin.kepplinger@puri.sm> To: festevam@gmail.com, shawnguo@kernel.org Cc: martin.kepplinger@puri.sm, devicetree@vger.kernel.org, kernel@pengutronix.de, kernel@puri.sm, krzk@kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, robh@kernel.org, Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> Subject: [PATCH v2 3/6] arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply Date: Fri, 2 Sep 2022 10:42:13 +0200 [thread overview] Message-ID: <20220902084216.1259202-4-martin.kepplinger@puri.sm> (raw) In-Reply-To: <20220902084216.1259202-1-martin.kepplinger@puri.sm> From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> 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> --- 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 8da7b87c1aa1f..7e6c4ad438092 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -1109,6 +1109,7 @@ bat: fuel-gauge@36 { 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.30.2
WARNING: multiple messages have this Message-ID (diff)
From: Martin Kepplinger <martin.kepplinger@puri.sm> To: festevam@gmail.com, shawnguo@kernel.org Cc: martin.kepplinger@puri.sm, devicetree@vger.kernel.org, kernel@pengutronix.de, kernel@puri.sm, krzk@kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, robh@kernel.org, Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> Subject: [PATCH v2 3/6] arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply Date: Fri, 2 Sep 2022 10:42:13 +0200 [thread overview] Message-ID: <20220902084216.1259202-4-martin.kepplinger@puri.sm> (raw) In-Reply-To: <20220902084216.1259202-1-martin.kepplinger@puri.sm> From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> 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> --- 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 8da7b87c1aa1f..7e6c4ad438092 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -1109,6 +1109,7 @@ bat: fuel-gauge@36 { 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.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-09-02 8:43 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-09-02 8:42 [PATCH v2 0/6] arm64: dts: imx8mq-librem5: phone DT updates Martin Kepplinger 2022-09-02 8:42 ` Martin Kepplinger 2022-09-02 8:42 ` [PATCH v2 1/6] arm64: dts: imx8mq-librem5: describe the voice coil motor for focus control Martin Kepplinger 2022-09-02 8:42 ` Martin Kepplinger 2022-09-02 8:42 ` [PATCH v2 2/6] arm64: dts: imx8mq-librem5: add RGB pwm notification leds Martin Kepplinger 2022-09-02 8:42 ` Martin Kepplinger 2022-09-06 8:45 ` Pavel Machek 2022-09-06 8:45 ` Pavel Machek 2022-09-09 8:32 ` Martin Kepplinger 2022-09-09 8:32 ` Martin Kepplinger 2022-09-02 8:42 ` Martin Kepplinger [this message] 2022-09-02 8:42 ` [PATCH v2 3/6] arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply Martin Kepplinger 2022-09-02 8:42 ` [PATCH v2 4/6] arm64: dts: imx8mq-librem5: add USB type-c properties for role switching Martin Kepplinger 2022-09-02 8:42 ` Martin Kepplinger 2022-09-02 8:42 ` [PATCH v2 5/6] arm64: dts: imx8mq-librem5: add usb-role-switch property to dwc3 Martin Kepplinger 2022-09-02 8:42 ` Martin Kepplinger 2022-09-02 8:42 ` [PATCH v2 6/6] arm64: dts: imx8mq-librem5: fix mipi_csi description Martin Kepplinger 2022-09-02 8:42 ` Martin Kepplinger 2022-09-05 3:35 ` [PATCH v2 0/6] arm64: dts: imx8mq-librem5: phone DT updates Shawn Guo 2022-09-05 3:35 ` Shawn Guo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220902084216.1259202-4-martin.kepplinger@puri.sm \ --to=martin.kepplinger@puri.sm \ --cc=devicetree@vger.kernel.org \ --cc=festevam@gmail.com \ --cc=kernel@pengutronix.de \ --cc=kernel@puri.sm \ --cc=krzk@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-imx@nxp.com \ --cc=linux-kernel@vger.kernel.org \ --cc=phone-devel@vger.kernel.org \ --cc=robh@kernel.org \ --cc=sebastian.krzyszkowiak@puri.sm \ --cc=shawnguo@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.