ARM: dts: omap3-n900: Add link between battery and charger
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Thu, 22 Feb 2018 20:06:33 +0000 (21:06 +0100)
committerSebastian Reichel <sre@kernel.org>
Mon, 12 Mar 2018 13:34:51 +0000 (14:34 +0100)
This adds information, that the battery is charged by the charger.
The Linux kernel uses this information to refresh battery information
when the power-supply changes.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
arch/arm/boot/dts/omap3-n900.dts

index ab930581fc7a593d268f6e5a57970a317c7e9138..182a53991c901a387317db9710bceb9d0d1d5bb6 100644 (file)
        bq27200: bq27200@55 {
                compatible = "ti,bq27200";
                reg = <0x55>;
+               power-supplies = <&bq24150a>;
        };
 
        /* Stereo headphone amplifier */