Re: [PATCH 3/3] ARM: dts: imx: imx50-kobo-aura: add description for battery

J. Neuschäfer
2025-12-28T18:01:17Z

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
>