<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/input/touchscreen, branch tegra-next</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Input: atmel_mxt_ts - fix reset-gpio for level based irqs</title>
<updated>2018-11-29T12:54:11+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sebastian.reichel@collabora.co.uk</email>
</author>
<published>2018-05-24T16:33:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=029aecd56607c0eb960c7a7901431b77bd10b798'/>
<id>029aecd56607c0eb960c7a7901431b77bd10b798</id>
<content type='text'>
The current reset-gpio support triggers an interrupt storm on platforms
using the maxtouch with level based interrupt. The Motorola Droid 4,
which I used for some of the tests is not affected, since it uses a edge
based interrupt.

This change avoids the interrupt storm by enabling the device while its
interrupt is disabled. Afterwards we wait 100ms. This is important for
two reasons: The device is unresponsive for some time (~22ms for
mxt224E) and the CHG (interrupt) line is not working properly for 100ms.
We don't need to wait for any following interrupts, since the following
mxt_initialize() checks for bootloader mode anyways.

This fixes a boot issue on GE PPD (watchdog kills device due to
interrupt storm) and does not cause regression on Motorola Droid 4.

Fixes: f657b00df22e ("Input: atmel_mxt_ts - add support for reset line")
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.co.uk&gt;
Reviewed-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit ca1cd36cef00260db6b35b32d863e0c580c0488d)
Signed-off-by: Dominik Sliwa &lt;dominik.sliwa@toradex.com&gt;
(cherry picked from commit 40af4dba5fe9c14bd254fde06b1f64f8c0348974)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current reset-gpio support triggers an interrupt storm on platforms
using the maxtouch with level based interrupt. The Motorola Droid 4,
which I used for some of the tests is not affected, since it uses a edge
based interrupt.

This change avoids the interrupt storm by enabling the device while its
interrupt is disabled. Afterwards we wait 100ms. This is important for
two reasons: The device is unresponsive for some time (~22ms for
mxt224E) and the CHG (interrupt) line is not working properly for 100ms.
We don't need to wait for any following interrupts, since the following
mxt_initialize() checks for bootloader mode anyways.

This fixes a boot issue on GE PPD (watchdog kills device due to
interrupt storm) and does not cause regression on Motorola Droid 4.

Fixes: f657b00df22e ("Input: atmel_mxt_ts - add support for reset line")
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.co.uk&gt;
Reviewed-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit ca1cd36cef00260db6b35b32d863e0c580c0488d)
Signed-off-by: Dominik Sliwa &lt;dominik.sliwa@toradex.com&gt;
(cherry picked from commit 40af4dba5fe9c14bd254fde06b1f64f8c0348974)
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: atmel_mxt_ts - add support for reset line</title>
<updated>2018-11-29T12:54:04+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sebastian.reichel@collabora.co.uk</email>
</author>
<published>2017-07-25T21:11:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e9f9e559a6fd641634c488d1f811e2bc1b45587c'/>
<id>e9f9e559a6fd641634c488d1f811e2bc1b45587c</id>
<content type='text'>
Provide support for controlling reset pin. If this is not driven
correctly the device will be held in reset and will not respond.

Acked-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.co.uk&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit f657b00df22e231da217ca0162a75db452475e8f)
Signed-off-by: Dominik Sliwa &lt;dominik.sliwa@toradex.com&gt;
(cherry picked from commit 51a32466a0ca40843039b6d1f1e719bc93db8a21)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide support for controlling reset pin. If this is not driven
correctly the device will be held in reset and will not respond.

Acked-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.co.uk&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit f657b00df22e231da217ca0162a75db452475e8f)
Signed-off-by: Dominik Sliwa &lt;dominik.sliwa@toradex.com&gt;
(cherry picked from commit 51a32466a0ca40843039b6d1f1e719bc93db8a21)
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: atmel_mxt_ts - use more managed resources</title>
<updated>2018-11-29T12:54:02+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sebastian.reichel@collabora.co.uk</email>
</author>
<published>2017-07-25T21:08:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9b337988ced12104f6989583a616a881d8f3660b'/>
<id>9b337988ced12104f6989583a616a881d8f3660b</id>
<content type='text'>
Switch mxt_data and interrupt to resource managed allocation methods,
which cleans up the driver slightly and prepares for adding
reset GPIO support.

Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.co.uk&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit 8cc8446b9b62ef954b630ed30e53bd1553e916a6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch mxt_data and interrupt to resource managed allocation methods,
which cleans up the driver slightly and prepares for adding
reset GPIO support.

Signed-off-by: Sebastian Reichel &lt;sebastian.reichel@collabora.co.uk&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit 8cc8446b9b62ef954b630ed30e53bd1553e916a6)
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: atmel_mxt_ts - add T100 as a readable object</title>
<updated>2018-11-29T12:54:00+00:00</updated>
<author>
<name>Maxime Roussin-Bélanger</name>
<email>maxime.roussinbelanger@gmail.com</email>
</author>
<published>2017-05-19T21:59:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b13baf97360b3aa1384cff584cf523c7f83fb019'/>
<id>b13baf97360b3aa1384cff584cf523c7f83fb019</id>
<content type='text'>
When using the 'object' sysfs attribute, T100 is not displayed in
the output.

Signed-off-by: Maxime Roussin-Bélanger &lt;maxime.roussinbelanger@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit 089b50d95948f691589cca4d81f1f8761747dbaa)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using the 'object' sysfs attribute, T100 is not displayed in
the output.

Signed-off-by: Maxime Roussin-Bélanger &lt;maxime.roussinbelanger@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit 089b50d95948f691589cca4d81f1f8761747dbaa)
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: touchscreen - use local variables consistently</title>
<updated>2018-11-29T12:53:55+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2017-01-22T07:46:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=794bd5d2717e62a3ad51da0022911c9b44f3cece'/>
<id>794bd5d2717e62a3ad51da0022911c9b44f3cece</id>
<content type='text'>
If a function declares a variable to access a structure element,
use it consistently.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit d7ddf15414dd598b9b875664e6b7aebe6c988f5d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a function declares a variable to access a structure element,
use it consistently.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit d7ddf15414dd598b9b875664e6b7aebe6c988f5d)
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "input: atmel_mxt_ts: support reset gpio line"</title>
<updated>2018-11-29T12:53:50+00:00</updated>
<author>
<name>Dominik Sliwa</name>
<email>dominik.sliwa@toradex.com</email>
</author>
<published>2018-10-09T08:04:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b18b41786a1507bec257c9a131d5aefd5c942f16'/>
<id>b18b41786a1507bec257c9a131d5aefd5c942f16</id>
<content type='text'>
This reverts commit 28531a1ff5ca27c0ab7e2f99bbb0058858b72aa5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 28531a1ff5ca27c0ab7e2f99bbb0058858b72aa5.
</pre>
</div>
</content>
</entry>
<entry>
<title>input: atmel_mxt_ts: support reset gpio line</title>
<updated>2018-06-19T14:30:30+00:00</updated>
<author>
<name>Dominik Sliwa</name>
<email>dominik.sliwa@toradex.com</email>
</author>
<published>2018-03-22T12:08:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=28531a1ff5ca27c0ab7e2f99bbb0058858b72aa5'/>
<id>28531a1ff5ca27c0ab7e2f99bbb0058858b72aa5</id>
<content type='text'>
Signed-off-by: Dominik Sliwa &lt;dominik.sliwa@toradex.com&gt;
Acked-by: Marcel Ziswiler &lt;marcel.ziswiler@toradex.com&gt;
(cherry picked from commit 22a2065b9a3fa6ad458e3100b66c4acaa05f2466)
Acked-by: Marcel Ziswiler &lt;marcel.ziswiler@toradex.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dominik Sliwa &lt;dominik.sliwa@toradex.com&gt;
Acked-by: Marcel Ziswiler &lt;marcel.ziswiler@toradex.com&gt;
(cherry picked from commit 22a2065b9a3fa6ad458e3100b66c4acaa05f2466)
Acked-by: Marcel Ziswiler &lt;marcel.ziswiler@toradex.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>input: atmel_mxt_ts driver update</title>
<updated>2017-09-26T15:31:46+00:00</updated>
<author>
<name>Nick Dyer</name>
<email>nick.dyer@itdev.co.uk</email>
</author>
<published>2017-09-06T08:54:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d783b17fe2b01ca42068e43a9783e22aa53bb10d'/>
<id>d783b17fe2b01ca42068e43a9783e22aa53bb10d</id>
<content type='text'>
Update mxt driver to upstream version.

Signed-off-by: Bhuvanchandra DV &lt;bhuvanchandra.dv@toradex.com&gt;
Acked-by: Marcel Ziswiler &lt;marcel.ziswiler@toradex.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update mxt driver to upstream version.

Signed-off-by: Bhuvanchandra DV &lt;bhuvanchandra.dv@toradex.com&gt;
Acked-by: Marcel Ziswiler &lt;marcel.ziswiler@toradex.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>input: touchscreen: fusion: implement multitouch with slot handling</title>
<updated>2015-11-02T17:28:14+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2015-10-29T22:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6a68f2d6486dac9cbc13c74c2f997ee3a9c7f81b'/>
<id>6a68f2d6486dac9cbc13c74c2f997ee3a9c7f81b</id>
<content type='text'>
According to multi-touch-protocol.txt the kernel knows two type of
devices:
- Type A: devices which provide anonymous contacts
- Type B: devices which are capable of tracking individual contacts

The Fusion touch screen is a Type B device: The Touch ID field allows
to differentiate between 2 different fingers. This updates the driver
to properly allocate a slot for each identified contact and use the
helper functions available from the input core system.

(cherry picked from commit 698d0a9bb80d94adef58122717c61f55dd61e22d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to multi-touch-protocol.txt the kernel knows two type of
devices:
- Type A: devices which provide anonymous contacts
- Type B: devices which are capable of tracking individual contacts

The Fusion touch screen is a Type B device: The Touch ID field allows
to differentiate between 2 different fingers. This updates the driver
to properly allocate a slot for each identified contact and use the
helper functions available from the input core system.

(cherry picked from commit 698d0a9bb80d94adef58122717c61f55dd61e22d)
</pre>
</div>
</content>
</entry>
<entry>
<title>input: touchscreen: fusion: use level triggered interrupt</title>
<updated>2015-11-02T17:27:01+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2014-12-16T09:24:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f09c7a335edb94a1439eee92cce8e9d399af50e1'/>
<id>f09c7a335edb94a1439eee92cce8e9d399af50e1</id>
<content type='text'>
Use level triggered interrupt which makes sure that even we miss a
rising edge (due to latencies in the kernel), the interrupt still
will be handled later, and doesn't freeze the input device.

(cherry picked from commit ef25b8a9f9c0ca7cc0f0f955d89d112c3e19f75b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use level triggered interrupt which makes sure that even we miss a
rising edge (due to latencies in the kernel), the interrupt still
will be handled later, and doesn't freeze the input device.

(cherry picked from commit ef25b8a9f9c0ca7cc0f0f955d89d112c3e19f75b)
</pre>
</div>
</content>
</entry>
</feed>
