linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: haibo.chen@freescale.com (Haibo Chen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 5/5] ARM: dts: imx6ul-14x14-evk.dts: add tsc support
Date: Tue, 28 Jul 2015 17:58:41 +0800	[thread overview]
Message-ID: <1438077521-12857-6-git-send-email-haibo.chen@freescale.com> (raw)
In-Reply-To: <1438077521-12857-1-git-send-email-haibo.chen@freescale.com>

Add touch screen surpport for i.MX6UL-EVK board.

Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
---
 arch/arm/boot/dts/imx6ul-14x14-evk.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dts b/arch/arm/boot/dts/imx6ul-14x14-evk.dts
index 61b41ee..9995656 100644
--- a/arch/arm/boot/dts/imx6ul-14x14-evk.dts
+++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dts
@@ -44,6 +44,15 @@
 	soc-supply = <&reg_soc>;
 };
 
+&tsc {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_tsc>;
+	xnur-gpio = <&gpio1 3 0>;
+	measure-delay-time = <0xffff>;
+	pre-charge-time = <0xfff>;
+	status = "okay";
+};
+
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart1>;
@@ -212,6 +221,15 @@
 		>;
 	};
 
+	pinctrl_tsc: tscgrp {
+		fsl,pins = <
+			MX6UL_PAD_GPIO1_IO01__GPIO1_IO01		0xb0
+			MX6UL_PAD_GPIO1_IO02__GPIO1_IO02		0xb0
+			MX6UL_PAD_GPIO1_IO03__GPIO1_IO03		0xb0
+			MX6UL_PAD_GPIO1_IO04__GPIO1_IO04		0xb0
+		>;
+	};
+
 	pinctrl_uart1: uart1grp {
 		fsl,pins = <
 			MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX 0x1b0b1
-- 
1.9.1

  parent reply	other threads:[~2015-07-28  9:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28  9:58 [PATCH v2 0/5] Add imx6ul touch screen controller support Haibo Chen
2015-07-28  9:58 ` [PATCH v2 1/5] input: touchscreen: add imx6ul_tsc driver support Haibo Chen
2015-08-19  5:11   ` Dmitry Torokhov
2015-08-21  8:08     ` Chen Bough
2015-08-21  9:26   ` Markus Pargmann
2015-08-24  8:24     ` Chen Bough
2015-07-28  9:58 ` [PATCH v2 2/5] Documentation: Detail permitted DT properties for the imx6ul_tsc Haibo Chen
2015-08-19  5:54   ` Markus Pargmann
2015-08-21  8:30     ` Chen Bough
2015-08-21  9:27       ` Markus Pargmann
2015-08-24  8:34         ` Chen Bough
2015-07-28  9:58 ` [PATCH v2 3/5] ARM: imx_v6_v7_defconfig: enable imx6ul_tsc Haibo Chen
2015-07-28  9:58 ` [PATCH v2 4/5] ARM: dts: imx6ul.dtsi: add TSC support Haibo Chen
2015-07-28  9:58 ` Haibo Chen [this message]
2015-08-12  7:26 ` [PATCH v2 0/5] Add imx6ul touch screen controller support Chen Bough

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=1438077521-12857-6-git-send-email-haibo.chen@freescale.com \
    --to=haibo.chen@freescale.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 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).