diff mbox

[v3,3/3] ARM: dts: meson: add I2C controller nodes

Message ID 1415907123-4318-4-git-send-email-b.galvani@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Beniamino Galvani Nov. 13, 2014, 7:32 p.m. UTC
Add nodes for I2C controllers A,B,AO, which are available in both
Meson6 and Meson8.

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
---
 arch/arm/boot/dts/meson.dtsi | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Comments

Wolfram Sang Nov. 18, 2014, 3:19 p.m. UTC | #1
On Thu, Nov 13, 2014 at 08:32:03PM +0100, Beniamino Galvani wrote:
> Add nodes for I2C controllers A,B,AO, which are available in both
> Meson6 and Meson8.
> 
> Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
> ---

I usually don't take DTS patches. They should go via arm-soc. Please say
so if there are reasons I should take it.
Carlo Caione Nov. 18, 2014, 3:29 p.m. UTC | #2
On Tue, Nov 18, 2014 at 4:19 PM, Wolfram Sang <wsa@the-dreams.de> wrote:
> On Thu, Nov 13, 2014 at 08:32:03PM +0100, Beniamino Galvani wrote:
>> Add nodes for I2C controllers A,B,AO, which are available in both
>> Meson6 and Meson8.
>>
>> Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
>> ---
>
> I usually don't take DTS patches. They should go via arm-soc. Please say
> so if there are reasons I should take it.

I'll take them.
Beniamino Galvani Nov. 18, 2014, 8:32 p.m. UTC | #3
On Tue, Nov 18, 2014 at 04:29:13PM +0100, Carlo Caione wrote:
> On Tue, Nov 18, 2014 at 4:19 PM, Wolfram Sang <wsa@the-dreams.de> wrote:
> > On Thu, Nov 13, 2014 at 08:32:03PM +0100, Beniamino Galvani wrote:
> >> Add nodes for I2C controllers A,B,AO, which are available in both
> >> Meson6 and Meson8.
> >>
> >> Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
> >> ---
> >
> > I usually don't take DTS patches. They should go via arm-soc. Please say
> > so if there are reasons I should take it.
> 
> I'll take them.

Thanks!

Beniamino
diff mbox

Patch

diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi
index e6539ea..4f16aee 100644
--- a/arch/arm/boot/dts/meson.dtsi
+++ b/arch/arm/boot/dts/meson.dtsi
@@ -106,5 +106,35 @@ 
 			clocks = <&clk81>;
 			status = "disabled";
 		};
+
+		i2c_AO: i2c@c8100500 {
+			compatible = "amlogic,meson6-i2c";
+			reg = <0xc8100500 0x20>;
+			interrupts = <0 92 1>;
+			clocks = <&clk81>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		i2c_A: i2c@c1108500 {
+			compatible = "amlogic,meson6-i2c";
+			reg = <0xc1108500 0x20>;
+			interrupts = <0 21 1>;
+			clocks = <&clk81>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		i2c_B: i2c@c11087c0 {
+			compatible = "amlogic,meson6-i2c";
+			reg = <0xc11087c0 0x20>;
+			interrupts = <0 128 1>;
+			clocks = <&clk81>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
 	};
 }; /* end of / */