[0/7] Input: cyttsp - First round of modernizations

Message ID 20210330085424.2244653-1-linus.walleij@linaro.org
Headers show
Series
  • Input: cyttsp - First round of modernizations
Related show

Message

Linus Walleij March 30, 2021, 8:54 a.m.
This fixes some issues I had when getting the CYTTSP
(also known as CY8CTMA340) to work with a modern device
tree and userspace.

The device stands out as there are no in-kernel users of
either platform data nor device tree.

I am going to submit a device tree client, if you have
other concerns, then step forward now.

With these patches the touchscreen works fine with
PostmarketOS on the Ux500 HREF using Wayland and Phosh
as UI.

This work is really being done to get a baseline for
refurbishing the PL022 SPI driver but sometimes you
have to fix a bunch of stuff.

Linus Walleij (7):
  Input: cyttsp - Probe from compatibles
  Input: cyttsp - Obtain regulators
  Input: cyttsp - Error message on boot mode exit error
  Input: cyttsp - Reduce reset pulse timings
  Input: cyttsp - Drop the phys path
  Input: cyttsp - Set abs params for ABS_MT_TOUCH_MAJOR
  Input: cyttsp - Flag the device properly

 drivers/input/touchscreen/cyttsp_core.c | 52 +++++++++++++++++++++----
 drivers/input/touchscreen/cyttsp_core.h |  3 +-
 drivers/input/touchscreen/cyttsp_i2c.c  |  7 ++++
 drivers/input/touchscreen/cyttsp_spi.c  |  7 ++++
 4 files changed, 60 insertions(+), 9 deletions(-)

-- 
2.29.2