From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [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 at 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.
next prev parent reply other threads:[~2015-07-27 11:28 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=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