linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm/dts: omap3-evm: Add i2c and twl4030 support
@ 2012-01-18  6:55 Vaibhav Hiremath
  2012-01-23  8:49 ` Hiremath, Vaibhav
  0 siblings, 1 reply; 3+ messages in thread
From: Vaibhav Hiremath @ 2012-01-18  6:55 UTC (permalink / raw)
  To: linux-arm-kernel

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 <hvaibhav@ti.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Tony Lindgren <tony@atomide.com>
---
 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..530bdc0 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

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

* [PATCH] arm/dts: omap3-evm: Add i2c and twl4030 support
  2012-01-18  6:55 [PATCH] arm/dts: omap3-evm: Add i2c and twl4030 support Vaibhav Hiremath
@ 2012-01-23  8:49 ` Hiremath, Vaibhav
  2012-01-23  8:56   ` Cousson, Benoit
  0 siblings, 1 reply; 3+ messages in thread
From: Hiremath, Vaibhav @ 2012-01-23  8:49 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jan 18, 2012 at 12:25:39, Hiremath, Vaibhav wrote:
> 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 <hvaibhav@ti.com>
> Cc: Benoit Cousson <b-cousson@ti.com>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> Cc: Tony Lindgren <tony@atomide.com>
> ---
>  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..530bdc0 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
> 
> 

Benoit,

Can this (and also AM3517 DT support patch) be merged to your 
next pull request?

Thanks,
Vaibhav

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

* [PATCH] arm/dts: omap3-evm: Add i2c and twl4030 support
  2012-01-23  8:49 ` Hiremath, Vaibhav
@ 2012-01-23  8:56   ` Cousson, Benoit
  0 siblings, 0 replies; 3+ messages in thread
From: Cousson, Benoit @ 2012-01-23  8:56 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Vaibhav,

On 1/23/2012 9:49 AM, Hiremath, Vaibhav wrote:
> On Wed, Jan 18, 2012 at 12:25:39, Hiremath, Vaibhav wrote:
>> 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<hvaibhav@ti.com>
>> Cc: Benoit Cousson<b-cousson@ti.com>
>> Cc: Grant Likely<grant.likely@secretlab.ca>
>> Cc: Tony Lindgren<tony@atomide.com>
>> ---
>>   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..530bdc0 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>;

Minor nit: Use lower case for hexa value.

>> +	};
>> +};
>> --
>> 1.7.0.4
>>
>>
>
> Benoit,
>
> Can this (and also AM3517 DT support patch) be merged to your
> next pull request?

Yes, assuming that Grant/Rob will ack it, I can take it.

Regards,
Benoit

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

end of thread, other threads:[~2012-01-23  8:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-18  6:55 [PATCH] arm/dts: omap3-evm: Add i2c and twl4030 support Vaibhav Hiremath
2012-01-23  8:49 ` Hiremath, Vaibhav
2012-01-23  8:56   ` Cousson, Benoit

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