lkml.org 
[lkml]   [2017]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v5 0/2] add support for the Samsung S6SY761 touchscreen
Date
Hi,

This patchset adds support for the Samsung s6sy761 touchscreen.

Thanks,
Andi

v4 - v5
- The previous patch has been split in two parts as requested
by Rob and added his ack in the dt-binding patch.
- I tried to fix all the reviews from Dmitry[*]
- other random cleanups

[*] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1523520.html

v3 - v4
- fixed a mismatch on the module name

v2 - v3
- added security check on an unsigned value which can (unlikely)
get a "negative" value

- in the probe function the interrupt is requested after the
input device registration in order to avoid checking in the
interrupt handler whether the input device has been registered

- removed the 'prev_pm_state' variable. Its original meaning
was to restore the state of the device when coming back from
sleep mode, but because I removed in patch v2 the low power
mode, now the device works only in two modes and therefore
'prev_pm_state' is not required any longer.

v1 - v2
- remove the low power functionality as it doesn't bring any
benefit
- use get_unaligned_be16 instead of the form 'a << 8 | b'
- use max_t instead of '? :'
- use managed 'devm_device_add_group()'

Andi Shyti (2):
dt-bindings: Input: add Samsung S6SY761 touchscreen binding file
Input: add support for the Samsung S6SY761 touchscreen

.../bindings/input/touchscreen/samsung,s6sy761.txt | 34 ++
drivers/input/touchscreen/Kconfig | 11 +
drivers/input/touchscreen/Makefile | 1 +
drivers/input/touchscreen/s6sy761.c | 548 +++++++++++++++++++++
4 files changed, 594 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/touchscreen/samsung,s6sy761.txt
create mode 100644 drivers/input/touchscreen/s6sy761.c

--
2.14.2

\
 
 \ /
  Last update: 2017-11-02 07:08    [W:0.138 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site