From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: sun5i: Enable touchscreen on Utoo P66
Date: Mon, 30 Mar 2015 15:52:55 -0700 [thread overview]
Message-ID: <20150330225255.GZ23664@lukather> (raw)
In-Reply-To: <1427652831-12838-2-git-send-email-hdegoede@redhat.com>
Hi Hans,
On Sun, Mar 29, 2015 at 08:13:51PM +0200, Hans de Goede wrote:
> Add a node for the chipone-icn8318 touchscreen found on the Utoo P66 tablet.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
> arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
> index 0f0a411..d1d4d30 100644
> --- a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
> +++ b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
> @@ -50,6 +50,7 @@
> #include "sunxi-common-regulators.dtsi"
> #include <dt-bindings/gpio/gpio.h>
> #include <dt-bindings/input/input.h>
> +#include <dt-bindings/interrupt-controller/irq.h>
> #include <dt-bindings/pinctrl/sun4i-a10.h>
>
> / {
> @@ -93,6 +94,20 @@
> pinctrl-0 = <&i2c1_pins_a>;
> status = "okay";
>
> + chipone_icn8318 at 40 {
The node name should be the class of the device, something like
touchscreen at 40 in this case.
> + compatible = "chipone,icn8318";
> + reg = <0x40>;
> + interrupt-parent = <&pio>;
> + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* EINT9 (PG9) */
Shouldn't you reference this pin in the pinctrl node too?
If this patch is resent soon enough, I'll merge it and send it through
a late pull request together with the A23 SMP and A31 cpufreq patches.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150330/2466e79c/attachment.sig>
next prev parent reply other threads:[~2015-03-30 22:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-29 18:13 [PATCH 0/1] ARM: dts: sun5i: Enable touchscreen on Utoo P66 Hans de Goede
2015-03-29 18:13 ` [PATCH] " Hans de Goede
2015-03-30 22:52 ` Maxime Ripard [this message]
2015-04-01 15:29 ` [linux-sunxi] " Hans de Goede
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=20150330225255.GZ23664@lukather \
--to=maxime.ripard@free-electrons.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