Skip to contentSkip to conversation

ARM: shmobile: porter: add I2C2 DT support

PATCH New Sergei Shtylyov 2 participants 4 messages Oct 8, 2015 – Oct 11, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: shmobile: porter: add I2C2 DT support

Define the Porter board dependent part of the I2C2 device node.

This patch is analogous to the commit 29a647c396a0 ("ARM: shmobile:
henninger: add I2C2 DT support") as there are no differences between the boards in this respect.

---
This patch is against 'renesas-devel-20151008-v4.3-rc4' tag of Simon Horman's 'renesas.git' repo.

 arch/arm/boot/dts/r8a7791-porter.dts |   13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm/boot/dts/r8a7791-porter.dts +13 -0
Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts
===================================================================
@@ -109,6 +109,11 @@
 		renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
 		renesas,function = "sdhi2";
 	};
+
+	i2c2_pins: i2c2 {
+		renesas,groups = "i2c2";
+		renesas,function = "i2c2";
+	};
 };
 
 &scif0 {
@@ -155,6 +160,14 @@
 	status = "okay";
 };
 
+&i2c2 {
+	pinctrl-0 = <&i2c2_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <400000>;
+};
+
 &sata0 {
 	status = "okay";
 };
#1 lore raw

PATCH 1/1 ARM: shmobile: porter: add I2C2 DT support

Quoted 7 lines · Sergei Shtylyov

Define the Porter board dependent part of the I2C2 device node.

This patch is analogous to the commit 29a647c396a0 ("ARM: shmobile:
henninger: add I2C2 DT support") as there are no differences between the boards in this respect.

Thanks Sergei,

I have queued this up for v4.4.

#2 lore raw

PATCH 1/1 ARM: shmobile: porter: add I2C2 DT support

Hello.

Quoted 11 lines · Simon Horman
Quoted 7 lines

Define the Porter board dependent part of the I2C2 device node.

This patch is analogous to the commit 29a647c396a0 ("ARM: shmobile:
henninger: add I2C2 DT support") as there are no differences between the boards in this respect.

Thanks Sergei,

I have queued this up for v4.4.

Not seeing anything from renesas.git running 'git fetch'. Forgot to push? :-)

MBR, Sergei

#3 lore raw

PATCH 1/1 ARM: shmobile: porter: add I2C2 DT support

Quoted 10 lines · Sergei Shtylyov

Hello.

Quoted 6 lines · Simon Horman
Quoted 6 lines

Define the Porter board dependent part of the I2C2 device node.

This patch is analogous to the commit 29a647c396a0 ("ARM: shmobile:
henninger: add I2C2 DT support") as there are no differences between the boards in this respect.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Thanks Sergei,

I have queued this up for v4.4.

Not seeing anything from renesas.git running 'git fetch'. Forgot to push? :-)

Yes, sorry about that.
I've pushed it now.