Re: [PATCH] ARM: dts: imx7s-warp: enable i2c3 device support

2018-08-27 Thread Shawn Guo
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 

Applied, thanks.


Re: [PATCH] ARM: dts: imx7s-warp: enable i2c3 device support

2018-08-27 Thread Shawn Guo
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 

Applied, thanks.


Re: [PATCH] ARM: dts: imx7s-warp: enable i2c3 device support

2018-08-20 Thread Fabio Estevam
On Fri, Aug 17, 2018 at 6:23 PM, 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 

Reviewed-by: Fabio Estevam 


Re: [PATCH] ARM: dts: imx7s-warp: enable i2c3 device support

2018-08-20 Thread Fabio Estevam
On Fri, Aug 17, 2018 at 6:23 PM, 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 

Reviewed-by: Fabio Estevam 


[PATCH] ARM: dts: imx7s-warp: enable i2c3 device support

2018-08-17 Thread Pierre-Jean Texier
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 
---
 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";
 };
 
+ {
+   clock-frequency = <10>;
+   pinctrl-names = "default";
+   pinctrl-0 = <_i2c3>;
+   status = "okay";
+};
+
  {
clock-frequency = <10>;
pinctrl-names = "default";
@@ -346,6 +353,13 @@
>;
};
 
+   pinctrl_i2c3: i2c3grp {
+   fsl,pins = <
+   MX7D_PAD_I2C3_SDA__I2C3_SDA 0x407f
+   MX7D_PAD_I2C3_SCL__I2C3_SCL 0x407f
+   >;
+   };
+
pinctrl_i2c4: i2c4grp {
fsl,pins = <
MX7D_PAD_I2C4_SCL__I2C4_SCL 0x407f
-- 
2.7.4



[PATCH] ARM: dts: imx7s-warp: enable i2c3 device support

2018-08-17 Thread Pierre-Jean Texier
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 
---
 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";
 };
 
+ {
+   clock-frequency = <10>;
+   pinctrl-names = "default";
+   pinctrl-0 = <_i2c3>;
+   status = "okay";
+};
+
  {
clock-frequency = <10>;
pinctrl-names = "default";
@@ -346,6 +353,13 @@
>;
};
 
+   pinctrl_i2c3: i2c3grp {
+   fsl,pins = <
+   MX7D_PAD_I2C3_SDA__I2C3_SDA 0x407f
+   MX7D_PAD_I2C3_SCL__I2C3_SCL 0x407f
+   >;
+   };
+
pinctrl_i2c4: i2c4grp {
fsl,pins = <
MX7D_PAD_I2C4_SCL__I2C4_SCL 0x407f
-- 
2.7.4