* [PATCH] ARM: dts: sun4i: Enable i2c1 and i2c2 on the Chuwi V7-CW0825 tablet
@ 2015-08-08 15:38 Hans de Goede
2015-08-16 16:21 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2015-08-08 15:38 UTC (permalink / raw)
To: linux-arm-kernel
i2c1 has a freescale mma7660 accelerometer connected to it at addr 0x4c,
i2c2 has a ft5x touchscreen connected to it at addr 0x38.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts b/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
index 1430568..5366089 100644
--- a/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
+++ b/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
@@ -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 = <®_vcc3v0>;
status = "okay";
--
2.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: dts: sun4i: Enable i2c1 and i2c2 on the Chuwi V7-CW0825 tablet
2015-08-08 15:38 [PATCH] ARM: dts: sun4i: Enable i2c1 and i2c2 on the Chuwi V7-CW0825 tablet Hans de Goede
@ 2015-08-16 16:21 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2015-08-16 16:21 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Aug 08, 2015 at 05:38:54PM +0200, Hans de Goede wrote:
> i2c1 has a freescale mma7660 accelerometer connected to it at addr 0x4c,
> i2c2 has a ft5x touchscreen connected to it at addr 0x38.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Queued, thanks!
Maxime
--
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-16 16:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-08 15:38 [PATCH] ARM: dts: sun4i: Enable i2c1 and i2c2 on the Chuwi V7-CW0825 tablet Hans de Goede
2015-08-16 16:21 ` Maxime Ripard
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).