[PATCH 2/2] DTS: ARM: OMAP3-N900: Add LP5523 support

2013-10-22 Thread Sebastian Reichel
Add support for LP5523 device.

Signed-off-by: Sebastian Reichel s...@debian.org
---
 arch/arm/boot/dts/omap3-n900.dts | 61 
 1 file changed, 61 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index 7688f6a..195e1eb 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -230,6 +230,67 @@
 
clock-frequency = 10;
 
+   lp5523: lp5523@32 {
+   compatible = national,lp5523;
+   reg = 0x32;
+   clock-mode = /bits/ 8 0; /* LP55XX_CLOCK_AUTO */
+   enable-gpio = gpio2 9 GPIO_ACTIVE_HIGH; /* 41 */
+
+   chan0 {
+   chan-name = lp5523:kb1;
+   led-cur = /bits/ 8 50;
+   max-cur = /bits/ 8 100;
+   };
+
+   chan1 {
+   chan-name = lp5523:kb2;
+   led-cur = /bits/ 8 50;
+   max-cur = /bits/ 8 100;
+   };
+
+   chan2 {
+   chan-name = lp5523:kb3;
+   led-cur = /bits/ 8 50;
+   max-cur = /bits/ 8 100;
+   };
+
+   chan3 {
+   chan-name = lp5523:kb4;
+   led-cur = /bits/ 8 50;
+   max-cur = /bits/ 8 100;
+   };
+
+   chan4 {
+   chan-name = lp5523:b;
+   led-cur = /bits/ 8 50;
+   max-cur = /bits/ 8 100;
+   };
+
+   chan5 {
+   chan-name = lp5523:g;
+   led-cur = /bits/ 8 50;
+   max-cur = /bits/ 8 100;
+   };
+
+   chan6 {
+   chan-name = lp5523:r;
+   led-cur = /bits/ 8 50;
+   max-cur = /bits/ 8 100;
+   };
+
+   chan7 {
+   chan-name = lp5523:kb5;
+   led-cur = /bits/ 8 50;
+   max-cur = /bits/ 8 100;
+   };
+
+   chan8 {
+   chan-name = lp5523:kb6;
+   led-cur = /bits/ 8 50;
+   max-cur = /bits/ 8 100;
+   };
+   };
+
bq27200: bq27200@55 {
compatible = ti,bq27200;
reg = 0x55;
-- 
1.8.4.rc3

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 2/2] DTS: ARM: OMAP3-N900: Add LP5523 support

2013-10-22 Thread Tony Lindgren
* Sebastian Reichel s...@debian.org [131022 06:02]:
 Add support for LP5523 device.

This patch should be queued separately by Benoit.

Tony
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 2/2] DTS: ARM: OMAP3-N900: Add LP5523 support

2013-10-22 Thread Bryan Wu
On Tue, Oct 22, 2013 at 10:38 AM, Tony Lindgren t...@atomide.com wrote:
 * Sebastian Reichel s...@debian.org [131022 06:02]:
 Add support for LP5523 device.

 This patch should be queued separately by Benoit.


OK, got it. I will merge Patch 1.

-Bryan
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html