From: "J. Neuschäfer" <j.neuschaefer@gmx.net>
To: Josua Mayer <josua.mayer@jm0.eu>
Cc: j.neuschaefer@gmx.net, Lee Jones <lee@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Sebastian Reichel <sre@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Andreas Kemnade <andreas@kemnade.info>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 3/3] ARM: dts: imx: imx50-kobo-aura: add description for battery
Date: Sun, 28 Dec 2025 19:01:01 +0100 [thread overview]
Message-ID: <aVFwXWkPPW_kya-h@probook> (raw)
In-Reply-To: <20251227-kobo-aura-battery-v1-3-328a90ef5122@jm0.eu>
On Sat, Dec 27, 2025 at 05:28:15PM +0100, Josua Mayer wrote:
> Kobo Aura has a rechargable battery that is monitored by the embedded
> controller.
>
> Battery markings: PR-285083 3.7V Typ. 1500mAh; 575327416288 5.55Wh.
>
> Add description for this battery and link it for monitoring by the
> embedded controller.
>
> Signed-off-by: Josua Mayer <josua.mayer@jm0.eu>
> ---
Reviewed-by: J. Neuschäfer <j.neuschaefer@gmx.net>
Thanks!
> arch/arm/boot/dts/nxp/imx/imx50-kobo-aura.dts | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/nxp/imx/imx50-kobo-aura.dts b/arch/arm/boot/dts/nxp/imx/imx50-kobo-aura.dts
> index b1a6a9c58ac33..dc8d9fd45cd23 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx50-kobo-aura.dts
> +++ b/arch/arm/boot/dts/nxp/imx/imx50-kobo-aura.dts
> @@ -16,6 +16,14 @@ chosen {
> stdout-path = "serial1:115200n8";
> };
>
> + battery: battery {
> + compatible = "simple-battery";
> + voltage-min-design-microvolt = <3400000>;
> + voltage-max-design-microvolt = <4100000>;
> + energy-full-design-microwatt-hours = <5550000>;
> + charge-full-design-microamp-hours = <1500000>;
> + };
> +
> memory@70000000 {
> device_type = "memory";
> reg = <0x70000000 0x10000000>;
> @@ -151,6 +159,7 @@ embedded-controller@43 {
> system-power-controller;
> interrupts-extended = <&gpio4 11 IRQ_TYPE_EDGE_FALLING>;
> #pwm-cells = <2>;
> + monitored-battery = <&battery>;
> };
> };
>
>
> --
> 2.51.0
>
prev parent reply other threads:[~2025-12-28 18:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-27 16:28 [PATCH 0/3] power: supply: add battery driver for netronix ec Josua Mayer
2025-12-27 16:28 ` [PATCH 1/3] " Josua Mayer
2025-12-27 21:38 ` Andreas Kemnade
2025-12-27 23:34 ` Ing. Josua Mayer
2025-12-28 17:56 ` J. Neuschäfer
2025-12-29 11:09 ` Ing. Josua Mayer
2025-12-27 16:28 ` [PATCH 2/3] dt-bindings: mfd: netronix,ntxec: add reference to power-supply Josua Mayer
2025-12-30 11:32 ` Krzysztof Kozlowski
2025-12-27 16:28 ` [PATCH 3/3] ARM: dts: imx: imx50-kobo-aura: add description for battery Josua Mayer
2025-12-28 18:01 ` J. Neuschäfer [this message]
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=aVFwXWkPPW_kya-h@probook \
--to=j.neuschaefer@gmx.net \
--cc=andreas@kemnade.info \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=josua.mayer@jm0.eu \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=sre@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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).