linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add DT support for tps6507x touchscreen
@ 2017-03-09 14:31 yegorslists
  2017-03-09 14:31 ` [PATCH v2 1/3] tps6507x-ts: update to devm_* API yegorslists
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: yegorslists @ 2017-03-09 14:31 UTC (permalink / raw)
  To: linux-input
  Cc: dmitry.torokhov, lee.jones, robh, mark.rutland, andrej.skvortzov,
	nsekhar, khilman, Yegor Yefremov

From: Yegor Yefremov <yegorslists@googlemail.com>

This is an attempt to revive DT support for TI tps6507x that was started
in 2013 [1], [2].

Changes since V2:
 - use devm_input_allocate_polled_device and remove tps6507x_ts_remove
 - device_property_read_* API to get poll_interval and min_pressure
 - remove id values from DT and make them static

Current changes:
 - remove tsc node
 - add /bits/ 16 to for 16-bit values
 - rework bindings description, i.e. all properties are optional

Histor of original changes:

Changes since V3:
 - Rebased on top of Dmitry's changes
 - Removed error handling for optional DT properties

Changes since V2:
 - Updated tps6507x documentation.
 - Removed unnecessary code.

Changes since V1:
 - Updated tps6507x documentation.
 - Updated commit message.
 - return proper error value in absence platform and DT data
   for touchscreen.

[1] https://www.spinics.net/lists/devicetree/msg09388.html
[2] https://patchwork.kernel.org/patch/2324441/

Yegor Yefremov (3):
  tps6507x-ts: update to devm_* API
  tps6507x-ts: add DT support
  tps6507x-ts: add DT bindings description

 Documentation/devicetree/bindings/mfd/tps6507x.txt | 16 ++++-
 drivers/input/touchscreen/tps6507x-ts.c            | 71 ++++++----------------
 2 files changed, 31 insertions(+), 56 deletions(-)

-- 
2.1.4


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-03-13 14:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-09 14:31 [PATCH v2 0/3] Add DT support for tps6507x touchscreen yegorslists
2017-03-09 14:31 ` [PATCH v2 1/3] tps6507x-ts: update to devm_* API yegorslists
2017-03-11  0:29   ` Dmitry Torokhov
2017-03-09 14:31 ` [PATCH v2 2/3] tps6507x-ts: add DT support yegorslists
2017-03-09 15:02   ` Yegor Yefremov
2017-03-09 14:31 ` [PATCH v2 3/3] tps6507x-ts: add DT bindings description yegorslists
2017-03-09 14:49   ` Rob Herring
2017-03-09 15:18     ` Yegor Yefremov
2017-03-09 17:55       ` Dmitry Torokhov
2017-03-10  6:41         ` Sekhar Nori
2017-03-10 18:00           ` Dmitry Torokhov
2017-03-10 19:54             ` Yegor Yefremov
2017-03-10 20:08               ` Dmitry Torokhov
2017-03-13 14:15                 ` Sekhar Nori
2017-03-10 16:26         ` Rob Herring

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).