From: Roger Quadros <rogerq@ti.com>
To: tony@atomide.com, bcousson@baylibre.com
Cc: mugunthanvnm@ti.com, nsekhar@ti.com, balbi@ti.com,
linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
Roger Quadros <rogerq@ti.com>
Subject: [PATCH v2 2/2] ARM: dts: AM437x: Add touchscreen support for GP EVM
Date: Mon, 19 May 2014 11:49:33 +0300 [thread overview]
Message-ID: <5379C59D.40809@ti.com> (raw)
In-Reply-To: <1398861805-9229-3-git-send-email-rogerq@ti.com>
From: Sekhar Nori <nsekhar@ti.com>
Add touchscreen support for AM437x GP EVM using pixcir
touchscreen controller.
[Roger Q] - Updated bindings for touchscreen size.
CC: Benoit Cousson <bcousson@baylibre.com>
CC: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Roger Quadros <rogerq@ti.com>
---
arch/arm/boot/dts/am437x-gp-evm.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index df8798e..64cd344 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -81,6 +81,12 @@
0x164 MUX_MODE0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
>;
};
+
+ pixcir_ts_pins: pixcir_ts_pins {
+ pinctrl-single,pins = <
+ 0x264 (PIN_INPUT_PULLUP | MUX_MODE7) /* spi2_d0.gpio3_22 */
+ >;
+ };
};
&i2c0 {
@@ -93,6 +99,20 @@
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
+
+ pixcir_ts@5c {
+ compatible = "pixcir,pixcir_tangoc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pixcir_ts_pins>;
+ reg = <0x5c>;
+ interrupt-parent = <&gpio3>;
+ interrupts = <22 0>;
+
+ attb-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
+
+ touchscreen-size-x = <1024>;
+ touchscreen-size-y = <600>;
+ };
};
&epwmss0 {
--
1.8.3.2
next prev parent reply other threads:[~2014-05-19 8:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 12:43 [PATCH 0/2] ARM: dts: AM43xx: Touchscreen support Roger Quadros
2014-04-30 12:43 ` [PATCH 1/2] ARM: dts: am43x-epos-evm: Correct Touch controller info Roger Quadros
2014-05-19 8:48 ` [PATCH v2 " Roger Quadros
2014-04-30 12:43 ` [PATCH 2/2] ARM: dts: AM437x: Add touchscreen support for GP EVM Roger Quadros
2014-05-19 8:49 ` Roger Quadros [this message]
2014-05-06 16:39 ` [PATCH 0/2] ARM: dts: AM43xx: Touchscreen support Tony Lindgren
2014-05-19 8:46 ` Roger Quadros
2014-05-19 16:44 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5379C59D.40809@ti.com \
--to=rogerq@ti.com \
--cc=balbi@ti.com \
--cc=bcousson@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=mugunthanvnm@ti.com \
--cc=nsekhar@ti.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.