<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/input, branch tegra</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: sentelic - use "static inline" instead of "inline"</title>
<updated>2016-03-21T09:52:20+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2015-05-22T16:56:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c43b2f4952d0c4f3ff85f4da8da4fb15e958cd54'/>
<id>c43b2f4952d0c4f3ff85f4da8da4fb15e958cd54</id>
<content type='text'>
gcc-5 defaults to gnu11 which used c99 inline semantics in c99 'inline' is
not externally visible unlike gnu89, therefore we use 'static inline' which
has same semantics between gnu89 and c99

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit bde304575f3ecaa9570a9329196dffaadf3adafa)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gcc-5 defaults to gnu11 which used c99 inline semantics in c99 'inline' is
not externally visible unlike gnu89, therefore we use 'static inline' which
has same semantics between gnu89 and c99

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit bde304575f3ecaa9570a9329196dffaadf3adafa)
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: lifebook - use "static inline" instead of "inline" in lifebook.h</title>
<updated>2016-03-21T09:52:20+00:00</updated>
<author>
<name>Chen Gang</name>
<email>gang.chen.5i5j@gmail.com</email>
</author>
<published>2014-11-09T21:31:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ac76a49eccb78ffb299bf889b69354f5ab1ef55c'/>
<id>ac76a49eccb78ffb299bf889b69354f5ab1ef55c</id>
<content type='text'>
For functions defined in header files we should use static inline rather
than inline, which breaks under the latest upstream gcc (which is really
gcc issue, but static inline is better suited regardless).

The related error (with allmodconfig under tile):

    MODPOST 4002 modules
  ERROR: "lifebook_detect" [drivers/input/mouse/psmouse.ko] undefined!

Signed-off-by: Chen Gang &lt;gang.chen.5i5j@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit bd447b61c49fc26f0299587db3e6d66da49dc529)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For functions defined in header files we should use static inline rather
than inline, which breaks under the latest upstream gcc (which is really
gcc issue, but static inline is better suited regardless).

The related error (with allmodconfig under tile):

    MODPOST 4002 modules
  ERROR: "lifebook_detect" [drivers/input/mouse/psmouse.ko] undefined!

Signed-off-by: Chen Gang &lt;gang.chen.5i5j@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
(cherry picked from commit bd447b61c49fc26f0299587db3e6d66da49dc529)
</pre>
</div>
</content>
</entry>
</feed>
