From: Sebastian Reichel Date: Sat, 15 Nov 2014 02:08:24 +0000 (+0100) Subject: ARM: dst: OMAP3-N900: Add n900-battery support X-Git-Tag: v3.19-rc1~167^2~11^2~22 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=28398c69a7f99861d9631d5cfbadf8cd054ccf93;p=linux.git ARM: dst: OMAP3-N900: Add n900-battery support This adds support for the N900's battery to the Nokia N900 DTS file. Signed-off-by: Sebastian Reichel Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index de15feac259b..6fbf44a4bf5e 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -115,6 +115,12 @@ sound: n900-audio { eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */ speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>; }; + + battery: n900-battery { + compatible = "nokia,n900-battery"; + io-channels = <&twl_madc 0>, <&twl_madc 4>, <&twl_madc 12>; + io-channel-names = "temp", "bsi", "vbat"; + }; }; &omap3_pmx_core {