devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "H. Nikolaus Schaller" <hns@goldelico.com>
Cc: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Benoît Cousson" <bcousson@baylibre.com>,
	"Russell King" <linux@armlinux.org.uk>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"Michael Welling" <mwelling@ieee.org>,
	"Mika Penttilä" <mika.penttila@nextfour.com>,
	"Javier Martinez Canillas" <javier@osg.samsung.com>,
	"Igor Grinberg" <grinberg@compulab.co.il>,
	"Sebastian Reichel" <sre@kernel.org>,
	"Andrew F. Davis" <afd@ti.com>, "Mark Brown" <broonie@kernel.org>,
	"Jonathan Cameron" <jic23@kernel.org>,
	"Hans de Goede" <hdegoede@redhat.com>,
	"Sangwon Jee" <jeesw@melfas.com>,
	linux-input@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
	letux-kernel@op
Subject: Re: [PATCH v6 5/8] DT:omap3+tsc2007: use new common touchscreen bindings
Date: Wed, 9 Nov 2016 15:27:23 -0700	[thread overview]
Message-ID: <20161109222723.GI2428@atomide.com> (raw)
In-Reply-To: <72927a5b3d5b9f33dfd57a68ef1de9cb0a536407.1477557860.git.hns@goldelico.com>

* H. Nikolaus Schaller <hns@goldelico.com> [161027 01:47]:
> While we fix the GTA04 we add proper pinmux for the
> penirq gpio.
> 
> Tested on: GTA04A4 and Pyra-Handheld
> 
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>

This should be safe to merge along with the driver changes:

Acked-by: Tony Lindgren <tony@atomide.com>

> ---
>  arch/arm/boot/dts/omap3-gta04.dtsi | 25 +++++++++++++++++++++++--
>  1 file changed, 23 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
> index b3a8b1f..64d6ee3 100644
> --- a/arch/arm/boot/dts/omap3-gta04.dtsi
> +++ b/arch/arm/boot/dts/omap3-gta04.dtsi
> @@ -273,6 +273,13 @@
>  			OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
>  		>;
>  	};
> +
> +	penirq_pins: pinmux_penirq_pins {
> +		pinctrl-single,pins = <
> +			/* here we could enable to wakeup the cpu from suspend by a pen touch */
> +			OMAP3_CORE1_IOPAD(0x2194, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio160 */
> +		>;
> +	};
>  };
>  
>  &omap3_pmx_core2 {
> @@ -410,10 +417,24 @@
>  	tsc2007@48 {
>  		compatible = "ti,tsc2007";
>  		reg = <0x48>;
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&penirq_pins>;
>  		interrupt-parent = <&gpio6>;
>  		interrupts = <0 IRQ_TYPE_EDGE_FALLING>; /* GPIO_160 */
> -		gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;
> -		ti,x-plate-ohms = <600>;
> +		gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;	/* GPIO_160 */
> +		touchscreen-size-x = <480>;
> +		touchscreen-size-y = <640>;
> +		touchscreen-max-pressure = <1000>;
> +		touchscreen-fuzz-x = <3>;
> +		touchscreen-fuzz-y = <8>;
> +		touchscreen-fuzz-pressure = <10>;
> +		touchscreen-inverted-y;
> +		ti,min-x = <0x100>;
> +		ti,max-x = <0xf00>;
> +		ti,min-y = <0x100>;
> +		ti,max-y = <0xf00>;
> +		ti,max-rt = <4096>;
> +		ti,x-plate-ohms = <550>;
>  	};
>  
>  	/* RFID EEPROM */
> -- 
> 2.7.3
> 

  reply	other threads:[~2016-11-09 22:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-27  8:44 [PATCH v6 0/8] drivers: touchscreen: tsc2007 and ads7846/tsc2046 improvements (use common touchscreen bindings, pre-calibration, spi fix and provide iio raw values) H. Nikolaus Schaller
2016-10-27  8:44 ` [PATCH v6 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation H. Nikolaus Schaller
2016-10-27  8:44 ` [PATCH v6 3/8] drivers:input:tsc2007: check for presence and power down tsc2007 during probe H. Nikolaus Schaller
2016-10-27  8:44 ` [PATCH v6 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature H. Nikolaus Schaller
2016-10-30 17:11   ` Jonathan Cameron
     [not found]   ` <810571cc83159c674116f6f55624ca6227510f96.1477557860.git.hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
2016-11-19 18:36     ` Dmitry Torokhov
2016-11-22 13:59       ` H. Nikolaus Schaller
2016-10-27  8:44 ` [PATCH v6 5/8] DT:omap3+tsc2007: use new common touchscreen bindings H. Nikolaus Schaller
2016-11-09 22:27   ` Tony Lindgren [this message]
2016-10-27  8:44 ` [PATCH v6 6/8] drivers:input:ads7846(+tsc2046): add new common binding names, pre-calibration and flipping H. Nikolaus Schaller
2016-10-31  3:41   ` Rob Herring
2016-10-27  8:44 ` [PATCH v6 7/8] drivers:input:ads7846(+tsc2046): fix spi module table H. Nikolaus Schaller
     [not found]   ` <54f282e1adebeeb133687b6c430ecbb6f2fe6d5b.1477557860.git.hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
2016-11-19 18:18     ` Dmitry Torokhov
2016-11-22 14:00       ` H. Nikolaus Schaller
2016-11-23 13:12       ` Javier Martinez Canillas
     [not found] ` <cover.1477557860.git.hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
2016-10-27  8:44   ` [PATCH v6 2/8] drivers:input:tsc2007: send pendown and penup only once like ads7846(+tsc2046) driver does H. Nikolaus Schaller
     [not found]     ` <5e961a92f11b1509bd0effb96ef560f19839aa9d.1477557860.git.hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
2016-11-19 18:12       ` Dmitry Torokhov
2016-11-22 13:59         ` H. Nikolaus Schaller
2016-11-22 14:08         ` H. Nikolaus Schaller
2016-10-27  8:44   ` [PATCH v6 8/8] DT:omap3+ads7846: use new common touchscreen bindings H. Nikolaus Schaller

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=20161109222723.GI2428@atomide.com \
    --to=tony@atomide.com \
    --cc=afd@ti.com \
    --cc=arnd@arndb.de \
    --cc=bcousson@baylibre.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=grinberg@compulab.co.il \
    --cc=hdegoede@redhat.com \
    --cc=hns@goldelico.com \
    --cc=javier@osg.samsung.com \
    --cc=jeesw@melfas.com \
    --cc=jic23@kernel.org \
    --cc=letux-kernel@op \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=mika.penttila@nextfour.com \
    --cc=mwelling@ieee.org \
    --cc=robh+dt@kernel.org \
    --cc=sre@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).