On Thu, 19 Mar 2026 09:53, Hendrik Noack <hendrik-noack@gmx.de> wrote:
>Add devicetree bindings and a driver for the Wacom W9000-series penabled
>touchscreens.
>
>The driver currently only contains the information for the W9002 and
>W9007A, which I or Ferass could test on devices. It should also work with
>other chips, such as W9001 or W9010. However, I couldn't test it on these
>and the message length would need to be added.
>
>The pen-inserted-gpios is used to get if the pen is inserted in the device
>or not. It's also used as an interrupt so that the power state of the chip
>itself can be controlled depending on a change of the insertion state of
>the pen.
FYI the pen-inserted-gpios is removed in this revision.
>
>Signed-off-by: Hendrik Noack <hendrik-noack@gmx.de>
>---
>Changes in v2:
>- remove pdct-gpios, as it's unnecessary
>- fix devicetree example
>- adopt to kernel coding style
>
>---
>Changes in v3:
>- fix missing include (thanks lkp@intel.com)
>
>---
>Changes in v4:
>- adopt to feedback (thanks dmitry.torokhov@gmail.com)
>- add W9002 support (thanks funderscore@postmarketos.org)
>- add reset-gpios, necessary for some chips
>- remove R-b from krzk due to changes in dt-bindings
>
>---
>Changes in v5:
>- adopt dt-bindings format to suggestion (thanks krzk@kernel.org)
>- remove pen-inserted functionality as suggested (thanks dmitry.torokhov@gmail.com)
>
>---
>Hendrik Noack (2):
> dt-bindings: Input: Add Wacom W9000-series penabled touchscreens
> Input: Add support for Wacom W9000-series penabled touchscreens
>
> .../input/touchscreen/wacom,w9007a-lt03.yaml | 73 +++
> drivers/input/touchscreen/Kconfig | 12 +
> drivers/input/touchscreen/Makefile | 1 +
> drivers/input/touchscreen/wacom_w9000.c | 433 ++++++++++++++++++
> 4 files changed, 519 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,w9007a-lt03.yaml
> create mode 100644 drivers/input/touchscreen/wacom_w9000.c
>
>--
>2.43.0
>