From: Andi Shyti <andi@etezian.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>,
linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Andi Shyti <andi.shyti@samsung.com>,
Andi Shyti <andi@etezian.org>
Subject: [PATCH v5 0/2] add support for the Samsung S6SY761 touchscreen
Date: Thu, 02 Nov 2017 15:07:24 +0900 [thread overview]
Message-ID: <20171102060726.3745-1-andi@etezian.org> (raw)
In-Reply-To: CGME20171102060735epcas1p11d1055bff699a680e723abc4f4f52186@epcas1p1.samsung.com
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
next parent reply other threads:[~2017-11-02 6:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20171102060735epcas1p11d1055bff699a680e723abc4f4f52186@epcas1p1.samsung.com>
2017-11-02 6:07 ` Andi Shyti [this message]
[not found] ` <CGME20171102060735epcas1p2885274174b0936c26741edf29678fc69@epcas1p2.samsung.com>
2017-11-02 6:07 ` [PATCH v5 1/2] dt-bindings: Input: add Samsung S6SY761 touchscreen binding file Andi Shyti
[not found] ` <CGME20171102060735epcas1p15ac186761046eb93f467cd69161e7b50@epcas1p1.samsung.com>
2017-11-02 6:07 ` [PATCH v5 2/2] Input: add support for the Samsung S6SY761 touchscreen Andi Shyti
[not found] ` <20171102060726.3745-3-andi-ahk0KpmfxKRAfugRpC6u6w@public.gmane.org>
2017-11-03 23:57 ` Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171102060726.3745-1-andi@etezian.org \
--to=andi@etezian.org \
--cc=andi.shyti@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).