linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] DTS: ARM: OMAP3-N900: Add n900-battery support
@ 2014-11-15  2:08 Sebastian Reichel
  2014-11-21 23:56 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Reichel @ 2014-11-15  2:08 UTC (permalink / raw)
  To: Tony Lindgren, Benoît Cousson, linux-omap
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	linux-kernel, devicetree, Sebastian Reichel

This adds support for the N900's battery to the
Nokia N900 DTS file.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
 arch/arm/boot/dts/omap3-n900.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index bc82a12..39778e5 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -115,6 +115,12 @@
 		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 {
-- 
2.1.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] DTS: ARM: OMAP3-N900: Add n900-battery support
  2014-11-15  2:08 [PATCH] DTS: ARM: OMAP3-N900: Add n900-battery support Sebastian Reichel
@ 2014-11-21 23:56 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2014-11-21 23:56 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Benoît Cousson, linux-omap, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, linux-kernel, devicetree

* Sebastian Reichel <sre@kernel.org> [141114 18:10]:
> This adds support for the N900's battery to the
> Nokia N900 DTS file.

Applying this too thanks.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-21 23:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-15  2:08 [PATCH] DTS: ARM: OMAP3-N900: Add n900-battery support Sebastian Reichel
2014-11-21 23:56 ` Tony Lindgren

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).