From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH] ARM: dts: sun5i: Enable touchscreen on Utoo P66 Date: Mon, 30 Mar 2015 15:52:55 -0700 Message-ID: <20150330225255.GZ23664@lukather> References: <1427652831-12838-1-git-send-email-hdegoede@redhat.com> <1427652831-12838-2-git-send-email-hdegoede@redhat.com> Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="m8yuz6kcWj4yJ5vq" Return-path: Content-Disposition: inline In-Reply-To: <1427652831-12838-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Hans de Goede Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: devicetree@vger.kernel.org --m8yuz6kcWj4yJ5vq Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline 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 > --- > 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 > #include > +#include > #include > > / { > @@ -93,6 +94,20 @@ > pinctrl-0 = <&i2c1_pins_a>; > status = "okay"; > > + chipone_icn8318@40 { The node name should be the class of the device, something like touchscreen@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 --m8yuz6kcWj4yJ5vq--