linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Haibo Chen <haibo.chen@freescale.com>
To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
	ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
	shawnguo@kernel.org, kernel@pengutronix.de,
	linux@arm.linux.org.uk, dmitry.torokhov@gmail.com
Cc: haibo.chen@freescale.com, hans.verkuil@cisco.com,
	hadess@hadess.net, mchehab@osg.samsung.com, mamlinav@gmail.com,
	arnd@arndb.de, jonathar@broadcom.com, hdegoede@redhat.com,
	christian.gmeiner@gmail.com, scott.liu@emc.com.tw,
	geert@linux-m68k.org, benjamin.tissoires@redhat.com,
	sebastien.szymanski@armadeus.com, sbranden@broadcom.com,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-input@vger.kernel.org
Subject: [PATCH v2 4/5] ARM: dts: imx6ul.dtsi: add TSC support
Date: Tue, 28 Jul 2015 17:58:40 +0800	[thread overview]
Message-ID: <1438077521-12857-5-git-send-email-haibo.chen@freescale.com> (raw)
In-Reply-To: <1438077521-12857-1-git-send-email-haibo.chen@freescale.com>

Add imx6ul touchscreen controller support.

TSC module need ADC2 module to measure the touchscreen
coordinate value. This patch put TSC and ADC2 together,
make ADC2 module only be used for TSC, can't be used as
a normal ADC.

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

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index dc0f5b4..33aac1f 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -484,6 +484,17 @@
 			reg = <0x02100000 0x100000>;
 			ranges;
 
+			tsc: tsc@02040000 {
+				compatible = "fsl,imx6ul-tsc";
+				reg = <0x02040000 0x4000>, <0x0219c000 0x4000>;
+				interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
+					     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clks IMX6UL_CLK_IPG>,
+					 <&clks IMX6UL_CLK_ADC2>;
+				clock-names = "tsc", "adc";
+				status = "disabled";
+			};
+
 			usdhc1: usdhc@02190000 {
 				compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc";
 				reg = <0x02190000 0x4000>;
-- 
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
     [not found]   ` <1438077521-12857-2-git-send-email-haibo.chen-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-08-21  9:26     ` Markus Pargmann
     [not found]       ` <20150821092607.GA706-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
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
     [not found]   ` <1438077521-12857-3-git-send-email-haibo.chen-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-08-19  5:54     ` Markus Pargmann
     [not found]       ` <20150819055434.GF11161-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-08-21  8:30         ` Chen Bough
     [not found]           ` <BY1PR03MB1388BBEF576297D76E7E3F839A650-+AXFdSrsDrYz5L6Zd4zdsmP7xZHs9kq/vxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
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 ` Haibo Chen [this message]
2015-07-28  9:58 ` [PATCH v2 5/5] ARM: dts: imx6ul-14x14-evk.dts: add tsc support Haibo Chen
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-5-git-send-email-haibo.chen@freescale.com \
    --to=haibo.chen@freescale.com \
    --cc=arnd@arndb.de \
    --cc=benjamin.tissoires@redhat.com \
    --cc=christian.gmeiner@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=galak@codeaurora.org \
    --cc=geert@linux-m68k.org \
    --cc=hadess@hadess.net \
    --cc=hans.verkuil@cisco.com \
    --cc=hdegoede@redhat.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jonathar@broadcom.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mamlinav@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=mchehab@osg.samsung.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=sbranden@broadcom.com \
    --cc=scott.liu@emc.com.tw \
    --cc=sebastien.szymanski@armadeus.com \
    --cc=shawnguo@kernel.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).