[PATCH-V2] arm/dts: omap3-evm: Add i2c and twl4030 support

Subsystems: the rest

2 messages, 1 author, 2012-02-02 · open the first message on its own page

[PATCH-V2] arm/dts: omap3-evm: Add i2c and twl4030 support

From: Vaibhav Hiremath <hidden>
Date: 2012-02-01 06:26:08

Add support for TWL4030, which is interfaced on i2c1 bus.
Also add clock frequencies for other i2c instances(2 & 3)
required for client-device exist on OMAP3EVM board.

Signed-off-by: Vaibhav Hiremath <redacted>
Cc: Benoit Cousson <redacted>
Cc: Grant Likely <redacted>
Cc: Tony Lindgren <tony@atomide.com>
---
Changes from V1:
	- As per comment from Benoit, changed hex representation
	  from uppercase to lowercase.

 arch/arm/boot/dts/omap3-evm.dts |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-evm.dts b/arch/arm/boot/dts/omap3-evm.dts
index 2eee16e..f349ee9 100644
--- a/arch/arm/boot/dts/omap3-evm.dts
+++ b/arch/arm/boot/dts/omap3-evm.dts
@@ -18,3 +18,31 @@
 		reg = <0x80000000 0x10000000>; /* 256 MB */
 	};
 };
+
+&i2c1 {
+	clock-frequency = <2600000>;
+
+	twl: twl at 48 {
+		reg = <0x48>;
+		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+		interrupt-parent = <&intc>;
+	};
+};
+
+/include/ "twl4030.dtsi"
+
+&i2c2 {
+	clock-frequency = <400000>;
+};
+
+&i2c3 {
+	clock-frequency = <400000>;
+
+	/*
+	 * TVP5146 Video decoder-in for analog input support.
+	 */
+	tvp5146 at 5c {
+		compatible = "ti,tvp5146m2";
+		reg = <0x5c>;
+	};
+};
--
1.7.0.4

RE: [PATCH-V2] arm/dts: omap3-evm: Add i2c and twl4030 support

From: Hiremath, Vaibhav <hidden>
Date: 2012-02-02 15:23:57

On Wed, Feb 01, 2012 at 11:56:08, Hiremath, Vaibhav wrote:
quoted hunk
Add support for TWL4030, which is interfaced on i2c1 bus.
Also add clock frequencies for other i2c instances(2 & 3)
required for client-device exist on OMAP3EVM board.

Signed-off-by: Vaibhav Hiremath <redacted>
Cc: Benoit Cousson <redacted>
Cc: Grant Likely <redacted>
Cc: Tony Lindgren <tony@atomide.com>
---
Changes from V1:
	- As per comment from Benoit, changed hex representation
	  from uppercase to lowercase.

 arch/arm/boot/dts/omap3-evm.dts |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-evm.dts b/arch/arm/boot/dts/omap3-evm.dts
index 2eee16e..f349ee9 100644
--- a/arch/arm/boot/dts/omap3-evm.dts
+++ b/arch/arm/boot/dts/omap3-evm.dts
@@ -18,3 +18,31 @@
 		reg = <0x80000000 0x10000000>; /* 256 MB */
 	};
 };
+
+&i2c1 {
+	clock-frequency = <2600000>;
+
+	twl: twl at 48 {
+		reg = <0x48>;
+		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+		interrupt-parent = <&intc>;
+	};
+};
+
+/include/ "twl4030.dtsi"
+
+&i2c2 {
+	clock-frequency = <400000>;
+};
+
+&i2c3 {
+	clock-frequency = <400000>;
+
+	/*
+	 * TVP5146 Video decoder-in for analog input support.
+	 */
+	tvp5146 at 5c {
+		compatible = "ti,tvp5146m2";
+		reg = <0x5c>;
+	};
+};
Grant,

Can you ack this patch and below patch as well, so that
Benoit can queue it in his tree?

arm/dts: Add support for TI AM3517/05 EVM board

Thanks,
Vaibhav
--
1.7.0.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help