linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] ARM: dts: imx7s-warp: Enable I2C2 device support
@ 2016-08-30 20:23 Vanessa Maegima
  2016-08-30 20:23 ` [PATCH v2 2/3] ARM: dts: imx7s-warp: Add User Button support Vanessa Maegima
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vanessa Maegima @ 2016-08-30 20:23 UTC (permalink / raw)
  To: linux-arm-kernel

Enable I2C2 device support.

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
---
Changes since v1:
- Update commit subject
- Update commit log

 arch/arm/boot/dts/imx7s-warp.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts
index 92d9c85..71dbece 100644
--- a/arch/arm/boot/dts/imx7s-warp.dts
+++ b/arch/arm/boot/dts/imx7s-warp.dts
@@ -188,6 +188,13 @@
 	};
 };
 
+&i2c2 {
+	clock-frequency = <100000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_i2c2>;
+	status = "okay";
+};
+
 &i2c4 {
 	clock-frequency = <100000>;
 	pinctrl-names = "default";
@@ -278,6 +285,13 @@
 		>;
 	};
 
+	pinctrl_i2c2: i2c2grp {
+		fsl,pins = <
+			MX7D_PAD_I2C2_SDA__I2C2_SDA	0x4000007f
+			MX7D_PAD_I2C2_SCL__I2C2_SCL	0x4000007f
+		>;
+	};
+
 	pinctrl_i2c4: i2c4grp {
 		fsl,pins = <
 			MX7D_PAD_I2C4_SCL__I2C4_SCL	0x4000007f
-- 
2.7.4

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

end of thread, other threads:[~2016-09-05  2:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-30 20:23 [PATCH v2 1/3] ARM: dts: imx7s-warp: Enable I2C2 device support Vanessa Maegima
2016-08-30 20:23 ` [PATCH v2 2/3] ARM: dts: imx7s-warp: Add User Button support Vanessa Maegima
2016-08-30 20:23 ` [PATCH v3 3/3] ARM: dts: imx7s-warp: Add Bluetooth support Vanessa Maegima
2016-09-05  2:22 ` [PATCH v2 1/3] ARM: dts: imx7s-warp: Enable I2C2 device support Shawn Guo

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