Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1518526
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v6 5/8] DT:omap3+tsc2007: use new common touchscreen bindings |
| Date | 2016-11-09 23:30 +0100 |
| Message-ID | <sBJxv-56q-17@gated-at.bofh.it> (permalink) |
| References | <swP0R-8pq-11@gated-at.bofh.it> <swP0S-8pq-41@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* 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
>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[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" <hns@goldelico.com> - 2016-10-27 11:20 +0200
[PATCH v6 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-10-27 11:20 +0200
[PATCH v6 5/8] DT:omap3+tsc2007: use new common touchscreen bindings "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-10-27 11:20 +0200
Re: [PATCH v6 5/8] DT:omap3+tsc2007: use new common touchscreen bindings Tony Lindgren <tony@atomide.com> - 2016-11-09 23:30 +0100
[PATCH v6 8/8] DT:omap3+ads7846: use new common touchscreen bindings "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-10-27 11:20 +0200
Re: [PATCH v6 4/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature Jonathan Cameron <jic23@kernel.org> - 2016-10-30 18:20 +0100
Re: [PATCH v6 6/8] drivers:input:ads7846(+tsc2046): add new common binding names, pre-calibration and flipping Rob Herring <robh@kernel.org> - 2016-10-31 04:50 +0100
csiph-web