Re: [PATCH V2] ARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus

2018-12-05 Thread Shawn Guo
On Wed, Dec 05, 2018 at 01:14:25AM +, Anson Huang wrote:
> Add egalax touch screen support on i2c2 bus, it is connected
> to LVDS0, while the existing one on i2c3 bus is connected to
> LVDS1.
> 
> Signed-off-by: Anson Huang 

Applied, thanks.


Re: [PATCH V2] ARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus

2018-12-05 Thread Shawn Guo
On Wed, Dec 05, 2018 at 01:14:25AM +, Anson Huang wrote:
> Add egalax touch screen support on i2c2 bus, it is connected
> to LVDS0, while the existing one on i2c3 bus is connected to
> LVDS1.
> 
> Signed-off-by: Anson Huang 

Applied, thanks.


Re: [PATCH V2] ARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus

2018-12-05 Thread Fabio Estevam
On Tue, Dec 4, 2018 at 11:14 PM Anson Huang  wrote:
>
> Add egalax touch screen support on i2c2 bus, it is connected
> to LVDS0, while the existing one on i2c3 bus is connected to
> LVDS1.
>
> Signed-off-by: Anson Huang 

Reviewed-by: Fabio Estevam 


Re: [PATCH V2] ARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus

2018-12-05 Thread Fabio Estevam
On Tue, Dec 4, 2018 at 11:14 PM Anson Huang  wrote:
>
> Add egalax touch screen support on i2c2 bus, it is connected
> to LVDS0, while the existing one on i2c3 bus is connected to
> LVDS1.
>
> Signed-off-by: Anson Huang 

Reviewed-by: Fabio Estevam 


[PATCH V2] ARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus

2018-12-04 Thread Anson Huang
Add egalax touch screen support on i2c2 bus, it is connected
to LVDS0, while the existing one on i2c3 bus is connected to
LVDS1.

Signed-off-by: Anson Huang 
---
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 16 
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi 
b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index 6e46a19..d7389b5 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -272,6 +272,16 @@
pinctrl-0 = <_i2c2>;
status = "okay";
 
+   touchscreen@4 {
+   compatible = "eeti,egalax_ts";
+   reg = <0x04>;
+   pinctrl-names = "default";
+   pinctrl-0 = <_i2c2_egalax_int>;
+   interrupt-parent = <>;
+   interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
+   wakeup-gpios = < 8 GPIO_ACTIVE_HIGH>;
+   };
+
ov5640: camera@3c {
compatible = "ovti,ov5640";
pinctrl-names = "default";
@@ -498,6 +508,12 @@
>;
};
 
+   pinctrl_i2c2_egalax_int: i2c2egalaxintgrp {
+   fsl,pins = <
+   MX6QDL_PAD_NANDF_ALE__GPIO6_IO080x1b0b0
+   >;
+   };
+
pinctrl_i2c3: i2c3grp {
fsl,pins = <
MX6QDL_PAD_GPIO_3__I2C3_SCL 
0x4001b8b1
-- 
2.7.4



[PATCH V2] ARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus

2018-12-04 Thread Anson Huang
Add egalax touch screen support on i2c2 bus, it is connected
to LVDS0, while the existing one on i2c3 bus is connected to
LVDS1.

Signed-off-by: Anson Huang 
---
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 16 
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi 
b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index 6e46a19..d7389b5 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -272,6 +272,16 @@
pinctrl-0 = <_i2c2>;
status = "okay";
 
+   touchscreen@4 {
+   compatible = "eeti,egalax_ts";
+   reg = <0x04>;
+   pinctrl-names = "default";
+   pinctrl-0 = <_i2c2_egalax_int>;
+   interrupt-parent = <>;
+   interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
+   wakeup-gpios = < 8 GPIO_ACTIVE_HIGH>;
+   };
+
ov5640: camera@3c {
compatible = "ovti,ov5640";
pinctrl-names = "default";
@@ -498,6 +508,12 @@
>;
};
 
+   pinctrl_i2c2_egalax_int: i2c2egalaxintgrp {
+   fsl,pins = <
+   MX6QDL_PAD_NANDF_ALE__GPIO6_IO080x1b0b0
+   >;
+   };
+
pinctrl_i2c3: i2c3grp {
fsl,pins = <
MX6QDL_PAD_GPIO_3__I2C3_SCL 
0x4001b8b1
-- 
2.7.4