Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1590760

[PATCH 7/8] ARM: dts: omap4-droid4: Add touchscreen

From Sebastian Reichel <sre@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 7/8] ARM: dts: omap4-droid4: Add touchscreen
Date 2017-03-02 02:10 +0100
Message-ID <tgnpM-30D-19@gated-at.bofh.it> (permalink)
References <tgnpL-30D-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Droid4's touchscreen can be used with mainline's maxtouch
driver. The touchscreen's lower area is used for four soft
buttons (KEY_MENU, KEY_HOME, KEY_BACK, KEY_SEARCH), but that
is currently not supported by the mainline kernel.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
 arch/arm/boot/dts/omap4-droid4-xt894.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/omap4-droid4-xt894.dts b/arch/arm/boot/dts/omap4-droid4-xt894.dts
index 479cd5e5de83..364e98e66037 100644
--- a/arch/arm/boot/dts/omap4-droid4-xt894.dts
+++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts
@@ -191,6 +191,20 @@
 	power = <50>;
 };
 
+&i2c2 {
+	atmxt: touchscreen@4a {
+		compatible = "atmel,maxtouch";
+		reg = <0x4a>;
+
+		interrupt-parent = <&gpio6>;
+		interrupts = <23 IRQ_TYPE_LEVEL_LOW>; /* gpio183 */
+
+		reset-gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>; /* gpio173 */
+
+		/* TODO: touchscreen has 4 soft buttons */
+	};
+};
+
 &i2c4 {
 	ak8975: magnetometer@c {
 		compatible = "asahi-kasei,ak8975";
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] Droid4 DTS update Sebastian Reichel <sre@kernel.org> - 2017-03-02 02:10 +0100
  [PATCH 1/8] ARM: dts: omap4-droid4: Add gpio-keys Sebastian Reichel <sre@kernel.org> - 2017-03-02 02:10 +0100
  [PATCH 2/8] ARM: dts: omap4-droid4: Configure regulators Sebastian Reichel <sre@kernel.org> - 2017-03-02 02:10 +0100
  [PATCH 7/8] ARM: dts: omap4-droid4: Add touchscreen Sebastian Reichel <sre@kernel.org> - 2017-03-02 02:10 +0100
  [PATCH 3/8] ARM: dts: motorola-cpcap-mapphone: add rtc Sebastian Reichel <sre@kernel.org> - 2017-03-02 02:20 +0100
  [PATCH 5/8] ARM: dts: omap4-droid4: Add compass Sebastian Reichel <sre@kernel.org> - 2017-03-02 02:20 +0100
  [PATCH 8/8] ARM: dts: omap4-droid4: Add keypad support Sebastian Reichel <sre@kernel.org> - 2017-03-02 02:20 +0100
    Re: [PATCH 8/8] ARM: dts: omap4-droid4: Add keypad support Tony Lindgren <tony@atomide.com> - 2017-03-02 02:50 +0100
  [PATCH 4/8] ARM: dts: motorola-cpcap-mapphone: add pwrbutton Sebastian Reichel <sre@kernel.org> - 2017-03-02 02:20 +0100
  [PATCH 6/8] ARM: dts: omap4-droid4: Add accelerometer Sebastian Reichel <sre@kernel.org> - 2017-03-02 02:20 +0100
  Re: [PATCH 0/8] Droid4 DTS update Tony Lindgren <tony@atomide.com> - 2017-03-02 02:50 +0100
    Re: [PATCH 0/8] Droid4 DTS update Tony Lindgren <tony@atomide.com> - 2017-03-02 03:00 +0100
      Re: [PATCH 0/8] Droid4 DTS update Sebastian Reichel <sre@kernel.org> - 2017-03-03 17:30 +0100
        Re: [PATCH 0/8] Droid4 DTS update Tony Lindgren <tony@atomide.com> - 2017-03-03 17:30 +0100
          Re: [PATCH 0/8] Droid4 DTS update Tony Lindgren <tony@atomide.com> - 2017-03-04 17:30 +0100
            Re: [PATCH 0/8] Droid4 DTS update Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:00 +0100
    Re: [PATCH 0/8] Droid4 DTS update Sebastian Reichel <sre@kernel.org> - 2017-03-03 12:50 +0100
      Re: [PATCH 0/8] Droid4 DTS update Tony Lindgren <tony@atomide.com> - 2017-03-03 17:40 +0100

csiph-web