Skip to contentSkip to conversation

ARM: dts: sun4i: Enable i2c1 and i2c2 on the Chuwi V7-CW0825 tablet

PATCH New Hans de Goede 2 participants 2 messages Aug 8, 2015 – Aug 16, 2015

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

PATCH 1/1 ARM: dts: sun4i: Enable i2c1 and i2c2 on the Chuwi V7-CW0825 tablet

i2c1 has a freescale mma7660 accelerometer connected to it at addr 0x4c, i2c2 has a ft5x touchscreen connected to it at addr 0x38.

---
 arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts +12 -0
index 1430568..5366089 100644
@@ -78,6 +78,18 @@
 	};
 };
 
+&i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins_a>;
+	status = "okay";
+};
+
+&i2c2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c2_pins_a>;
+	status = "okay";
+};
+
 &lradc {
 	vref-supply = <&reg_vcc3v0>;
 	status = "okay";
Signature · 1 line
2.4.3
#1 lore raw

PATCH 1/1 ARM: dts: sun4i: Enable i2c1 and i2c2 on the Chuwi V7-CW0825 tablet

Quoted 4 lines · Hans de Goede

i2c1 has a freescale mma7660 accelerometer connected to it at addr 0x4c, i2c2 has a ft5x touchscreen connected to it at addr 0x38.

Queued, thanks!

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150816/ff8b8053/attachment-0001.sig>