linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Rutland <mark.rutland@arm.com>
To: Haibo Chen <haibo.chen@freescale.com>
Cc: "robh+dt@kernel.org" <robh+dt@kernel.org>,
	Pawel Moll <Pawel.Moll@arm.com>,
	"ijc+devicetree@hellion.org.uk" <ijc+devicetree@hellion.org.uk>,
	"galak@codeaurora.org" <galak@codeaurora.org>,
	"shawnguo@kernel.org" <shawnguo@kernel.org>,
	"kernel@pengutronix.de" <kernel@pengutronix.de>,
	"linux@arm.linux.org.uk" <linux@arm.linux.org.uk>,
	"dmitry.torokhov@gmail.com" <dmitry.torokhov@gmail.com>,
	"hans.verkuil@cisco.com" <hans.verkuil@cisco.com>,
	"hadess@hadess.net" <hadess@hadess.net>,
	"mchehab@osg.samsung.com" <mchehab@osg.samsung.com>,
	"mamlinav@gmail.com" <mamlinav@gmail.com>,
	"arnd@arndb.de" <arnd@arndb.de>,
	"jonathar@broadcom.com" <jonathar@broadcom.com>,
	"hdegoede@redhat.com" <hdegoede@redhat.com>,
	"christian.gmeiner@gmail.com" <christian.gmeiner@gmail.com>,
	"scott.liu@emc.com.tw" <scott.liu@emc.com.tw>,
	"geert@linux-m68k.org" <geert@linux-m68k.org>,
	benjamin.tissoire
Subject: Re: [PATCH 4/5] ARM: dts: imx6ul.dtsi: add TSC support
Date: Mon, 27 Jul 2015 12:28:47 +0100	[thread overview]
Message-ID: <20150727112847.GF9169@leverpostej> (raw)
In-Reply-To: <1437996407-27266-5-git-send-email-haibo.chen@freescale.com>

On Mon, Jul 27, 2015 at 12:26:46PM +0100, Haibo Chen wrote:
> 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";

These clocks weren't even in the example in the binding documentation.

Mark.

  reply	other threads:[~2015-07-27 11:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-27 11:26 [PATCH 0/5] Add imx6ul touch screen controller support Haibo Chen
2015-07-27 11:26 ` [PATCH 1/5] input: touchscreen: add imx6ul_tsc driver support Haibo Chen
2015-07-27 22:05   ` Dmitry Torokhov
2015-07-28  9:17     ` Chen Bough
2015-07-27 11:26 ` [PATCH 2/5] Documentation: Detail permitted DT properties for the imx6ul_tsc Haibo Chen
2015-07-27 11:25   ` Mark Rutland
2015-07-28  8:48     ` Chen Bough
2015-07-27 11:26 ` [PATCH 3/5] ARM: imx_v6_v7_defconfig: enable imx6ul_tsc Haibo Chen
2015-07-27 11:26 ` [PATCH 4/5] ARM: dts: imx6ul.dtsi: add TSC support Haibo Chen
2015-07-27 11:28   ` Mark Rutland [this message]
2015-07-27 11:26 ` [PATCH 5/5] ARM: dts: imx6ul-14x14-evk.dts: add tsc support Haibo Chen
2015-07-27 14:13   ` Shawn Guo
2015-07-28  8:50     ` 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=20150727112847.GF9169@leverpostej \
    --to=mark.rutland@arm.com \
    --cc=Pawel.Moll@arm.com \
    --cc=arnd@arndb.de \
    --cc=christian.gmeiner@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=galak@codeaurora.org \
    --cc=geert@linux-m68k.org \
    --cc=hadess@hadess.net \
    --cc=haibo.chen@freescale.com \
    --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.linux.org.uk \
    --cc=mamlinav@gmail.com \
    --cc=mchehab@osg.samsung.com \
    --cc=robh+dt@kernel.org \
    --cc=scott.liu@emc.com.tw \
    --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).