<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/input/keyboard/tm2-touchkey.c, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2019-02-08T07:41:12Z</updated>
<entry>
<title>Input: tm2-touchkey - acknowledge that setting brightness is a blocking call</title>
<updated>2019-02-08T07:41:12Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2019-02-06T18:10:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0ab0e5a383a78a9e3bd9a02a1b06237fe75fd6a1'/>
<id>urn:sha1:0ab0e5a383a78a9e3bd9a02a1b06237fe75fd6a1</id>
<content type='text'>
We need to access I2C bus when switching brightness, and that may block,
therefore we have to set stmfts_brightness_set() as LED's
brightness_set_blocking() method.

Fixes: 72d1f2346ded ("Input: tm2-touchkey - add touchkey driver support for TM2")
Acked-by: Andi Shyti &lt;andi@etezian.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: tm2-touchkey - add support for aries touchkey variant</title>
<updated>2019-01-07T19:49:42Z</updated>
<author>
<name>Jonathan Bakker</name>
<email>xc-racer2@live.ca</email>
</author>
<published>2019-01-07T19:21:16Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1cdbd3e57698fa22eddb522b2c7fa6048420da5f'/>
<id>urn:sha1:1cdbd3e57698fa22eddb522b2c7fa6048420da5f</id>
<content type='text'>
The touchkey variant found on aries board is slighty different,
it uses a fixed regulator and writes/read to the same place

Signed-off-by: Jonathan Bakker &lt;xc-racer2@live.ca&gt;
Signed-off-by: Paweł Chmiel &lt;pawel.mikolaj.chmiel@gmail.com&gt;
Reviewed-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: tm2-touchkey - allow specifying custom keycodes</title>
<updated>2019-01-07T19:49:41Z</updated>
<author>
<name>Jonathan Bakker</name>
<email>xc-racer2@live.ca</email>
</author>
<published>2019-01-07T19:11:55Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=07df1c55270c142b5027dd31787c42d2b01e2e92'/>
<id>urn:sha1:07df1c55270c142b5027dd31787c42d2b01e2e92</id>
<content type='text'>
Not all devices use the same keycodes in the same order,
so add possibility to define keycodes for buttons present
on actual hardware.

If keycodes property is not present, we assume that device has
at least MENU and BACK keys.

Signed-off-by: Jonathan Bakker &lt;xc-racer2@live.ca&gt;
Signed-off-by: Paweł Chmiel &lt;pawel.mikolaj.chmiel@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: tm2-touchkey - correct initial brightness</title>
<updated>2019-01-07T19:49:40Z</updated>
<author>
<name>Jonathan Bakker</name>
<email>xc-racer2@live.ca</email>
</author>
<published>2019-01-07T19:11:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d5a158cec4f33fbab031fc97fc17bfe5371925be'/>
<id>urn:sha1:d5a158cec4f33fbab031fc97fc17bfe5371925be</id>
<content type='text'>
tm2-touchkey doesn't have brightness levels, but only on/off states,
so replace LED_FULL with LED_ON.

Signed-off-by: Jonathan Bakker &lt;xc-racer2@live.ca&gt;
Signed-off-by: Paweł Chmiel &lt;pawel.mikolaj.chmiel@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: tm2-touchkey - add support for midas touchkey</title>
<updated>2019-01-07T19:49:40Z</updated>
<author>
<name>Simon Shields</name>
<email>simon@lineageos.org</email>
</author>
<published>2019-01-07T19:09:26Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d6f66f618569b8f6cc65435b1cab4be7f0610f32'/>
<id>urn:sha1:d6f66f618569b8f6cc65435b1cab4be7f0610f32</id>
<content type='text'>
The touchkey on midas boards is almost identical.
The only real difference is that it uses the same register for both
keycode and base.

Signed-off-by: Simon Shields &lt;simon@lineageos.org&gt;
Signed-off-by: Paweł Chmiel &lt;pawel.mikolaj.chmiel@gmail.com&gt;
Reviewed-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: tm2-touchkey - use LEN_ON as boolean value instead of LED_FULL</title>
<updated>2017-06-02T05:08:05Z</updated>
<author>
<name>Andi Shyti</name>
<email>andi.shyti@samsung.com</email>
</author>
<published>2017-06-02T05:05:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c4beedb8a914af9c8c1b6e67c753adf411e05160'/>
<id>urn:sha1:c4beedb8a914af9c8c1b6e67c753adf411e05160</id>
<content type='text'>
Commit 4e552c8cb5bc ("leds: add LED_ON brightness as boolean value")
has introduced the LED_ON enumeration value that can be used
instead of LED_FULL which has more of a linear value.

Because the tm2-touchscreen doesn't have brightness levels, but
it's a simple on/off led, use LED_ON instead of LED_FULL.

Signed-off-by: Andi Shyti &lt;andi.shyti@samsung.com&gt;
Reviewed-by: Jaechul Lee &lt;jcsing.lee@samsung.com&gt;
Tested-by: Jaechul Lee &lt;jcsing.lee@samsung.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: keyboard - drop unnecessary calls to input_set_drvdata</title>
<updated>2017-01-23T01:22:25Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2017-01-23T01:17:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=14fdb924afd9290d43e64eeb2377d51806de1197'/>
<id>urn:sha1:14fdb924afd9290d43e64eeb2377d51806de1197</id>
<content type='text'>
If there is no call to dev_get_drvdata() or input_get_drvdata(),
the call to input_set_drvdata() is unnecessary and can be dropped.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: tm2-touchkey - add touchkey driver support for TM2</title>
<updated>2017-01-18T22:50:23Z</updated>
<author>
<name>Jaechul Lee</name>
<email>jcsing.lee@samsung.com</email>
</author>
<published>2017-01-18T22:35:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=72d1f2346ded5b1743d7938f4522550b4da9c82d'/>
<id>urn:sha1:72d1f2346ded5b1743d7938f4522550b4da9c82d</id>
<content type='text'>
This patch adds support for the TM2 touch key and led functionality.

The driver interfaces with userspace through an input device and reports
KEY_PHONE and KEY_BACK event types. LED brightness can be controlled by
"/sys/class/leds/tm2-touchkey/brightness".

Signed-off-by: Beomho Seo &lt;beomho.seo@samsung.com&gt;
Signed-off-by: Jaechul Lee &lt;jcsing.lee@samsung.com&gt;
Reviewed-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Reviewed-by: Andi Shyti &lt;andi.shyti@samsung.com&gt;
Reviewed-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Tested-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Acked-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Acked-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
</feed>
