* [PATCH 1/2] ARM: dts: imx6qdl-sabresd: Add touchscreen support
@ 2013-07-23 21:41 Fabio Estevam
2013-07-23 21:41 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_TOUCHSCREEN_EGALAX Fabio Estevam
2013-07-24 17:07 ` [PATCH 1/2] ARM: dts: imx6qdl-sabresd: Add touchscreen support Fabio Estevam
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2013-07-23 21:41 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@freescale.com>
mx6 sabresd boards have a egalax touchscreen controller connected via i2c2.
Add support for it.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Hi Shawn,
I don't have access to a sabresd board at the moment, so could not test this.
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 166b9ae..5124994 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -129,6 +129,21 @@
};
};
+&i2c2 {
+ clock-frequency = <100000>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c2_2>;
+ status = "okay";
+
+ egalax_ts at 04 {
+ compatible = "eeti,egalax_ts";
+ reg = <0x04>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <8 2>;
+ wakeup-gpios = <&gpio6 8 0>;
+ };
+};
+
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
@@ -143,6 +158,7 @@
MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x80000000
MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x80000000
MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
+ MX6QDL_PAD_NANDF_ALE__GPIO6_IO08 0x80000000
>;
};
};
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_TOUCHSCREEN_EGALAX
2013-07-23 21:41 [PATCH 1/2] ARM: dts: imx6qdl-sabresd: Add touchscreen support Fabio Estevam
@ 2013-07-23 21:41 ` Fabio Estevam
2013-07-24 17:07 ` [PATCH 1/2] ARM: dts: imx6qdl-sabresd: Add touchscreen support Fabio Estevam
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2013-07-23 21:41 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@freescale.com>
egalax touchscren controller is present on mx6 sabresd/sabrelite, so let's
enable it by default.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/configs/imx_v6_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index f1662d3..9e15992 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -127,6 +127,7 @@ CONFIG_KEYBOARD_IMX=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_ELANTECH=y
CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_EGALAX=y
CONFIG_TOUCHSCREEN_MC13783=y
CONFIG_INPUT_MISC=y
CONFIG_INPUT_MMA8450=y
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 1/2] ARM: dts: imx6qdl-sabresd: Add touchscreen support
2013-07-23 21:41 [PATCH 1/2] ARM: dts: imx6qdl-sabresd: Add touchscreen support Fabio Estevam
2013-07-23 21:41 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_TOUCHSCREEN_EGALAX Fabio Estevam
@ 2013-07-24 17:07 ` Fabio Estevam
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2013-07-24 17:07 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 23, 2013 at 6:41 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> mx6 sabresd boards have a egalax touchscreen controller connected via i2c2.
>
> Add support for it.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Hi Shawn,
>
> I don't have access to a sabresd board at the moment, so could not test this.
Ok, I got a sabresd now and I realized that max11801 driver is also
needed, so will work on it when time permits.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-24 17:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23 21:41 [PATCH 1/2] ARM: dts: imx6qdl-sabresd: Add touchscreen support Fabio Estevam
2013-07-23 21:41 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_TOUCHSCREEN_EGALAX Fabio Estevam
2013-07-24 17:07 ` [PATCH 1/2] ARM: dts: imx6qdl-sabresd: Add touchscreen support Fabio Estevam
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).