linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx7s-warp: enable i2c3 device support
@ 2018-08-17 21:23 Pierre-Jean Texier
  2018-08-20 15:58 ` Fabio Estevam
  2018-08-27  7:26 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Pierre-Jean Texier @ 2018-08-17 21:23 UTC (permalink / raw)
  Cc: texier.pj2, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Rob Herring, Mark Rutland,
	linux-arm-kernel, devicetree, linux-kernel

The WaRP7 has one mikroBUS socket on the back to plug click boards.
This patch allows to interact with some of these
i2c modules (EEPROM, RTC and so on).

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
---
 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 fa390da..b3d0951 100644
--- a/arch/arm/boot/dts/imx7s-warp.dts
+++ b/arch/arm/boot/dts/imx7s-warp.dts
@@ -216,6 +216,13 @@
 	status = "okay";
 };
 
+&i2c3 {
+	clock-frequency = <100000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_i2c3>;
+	status = "okay";
+};
+
 &i2c4 {
 	clock-frequency = <100000>;
 	pinctrl-names = "default";
@@ -346,6 +353,13 @@
 		>;
 	};
 
+	pinctrl_i2c3: i2c3grp {
+		fsl,pins = <
+			MX7D_PAD_I2C3_SDA__I2C3_SDA	0x4000007f
+			MX7D_PAD_I2C3_SCL__I2C3_SCL	0x4000007f
+		>;
+	};
+
 	pinctrl_i2c4: i2c4grp {
 		fsl,pins = <
 			MX7D_PAD_I2C4_SCL__I2C4_SCL	0x4000007f
-- 
2.7.4


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

* Re: [PATCH] ARM: dts: imx7s-warp: enable i2c3 device support
  2018-08-17 21:23 [PATCH] ARM: dts: imx7s-warp: enable i2c3 device support Pierre-Jean Texier
@ 2018-08-20 15:58 ` Fabio Estevam
  2018-08-27  7:26 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2018-08-20 15:58 UTC (permalink / raw)
  To: Pierre-Jean Texier
  Cc: Mark Rutland,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Sascha Hauer, linux-kernel, Fabio Estevam, Rob Herring,
	NXP Linux Team, Pengutronix Kernel Team, Shawn Guo,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE

On Fri, Aug 17, 2018 at 6:23 PM, Pierre-Jean Texier
<texier.pj2@gmail.com> wrote:
> The WaRP7 has one mikroBUS socket on the back to plug click boards.
> This patch allows to interact with some of these
> i2c modules (EEPROM, RTC and so on).
>
> Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>

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

* Re: [PATCH] ARM: dts: imx7s-warp: enable i2c3 device support
  2018-08-17 21:23 [PATCH] ARM: dts: imx7s-warp: enable i2c3 device support Pierre-Jean Texier
  2018-08-20 15:58 ` Fabio Estevam
@ 2018-08-27  7:26 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2018-08-27  7:26 UTC (permalink / raw)
  To: Pierre-Jean Texier
  Cc: Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Rob Herring, Mark Rutland, linux-arm-kernel,
	devicetree, linux-kernel

On Fri, Aug 17, 2018 at 11:23:17PM +0200, Pierre-Jean Texier wrote:
> The WaRP7 has one mikroBUS socket on the back to plug click boards.
> This patch allows to interact with some of these
> i2c modules (EEPROM, RTC and so on).
> 
> Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>

Applied, thanks.

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

end of thread, other threads:[~2018-08-27  7:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-17 21:23 [PATCH] ARM: dts: imx7s-warp: enable i2c3 device support Pierre-Jean Texier
2018-08-20 15:58 ` Fabio Estevam
2018-08-27  7:26 ` 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).