linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Input: zinitix - Handle chip revisions for touchkeys
@ 2024-08-30 14:04 Linus Walleij
  2024-08-30 14:04 ` [PATCH v2 1/2] Input: zinitix - Read and cache device version numbers Linus Walleij
  2024-08-30 14:04 ` [PATCH v2 2/2] Input: zinitix - Varying icon status registers Linus Walleij
  0 siblings, 2 replies; 5+ messages in thread
From: Linus Walleij @ 2024-08-30 14:04 UTC (permalink / raw)
  To: Dmitry Torokhov, Nikita Travkin; +Cc: linux-input, Linus Walleij

The registers containing the touchkey status varies between
different chip revisions for the Zinitix touchscreens.

This series address the problem by reading out some chip
revision and firmware data so we can take different runtime
paths in different chip versions.

Also read out firmware and register version as this may
prove helpful to similar situations in the future.

This applies on top of Nikitas series to handle touchkeys
that was recently merged.

After this my BT404 touchkeys work.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Changes in v2:
- Move the variable keeping track of versioning info being
  read into the per-device state.
- Link to v1: https://lore.kernel.org/r/20240806-zinitix-tk-versions-v1-0-63ef79c7f2a1@linaro.org

---
Linus Walleij (2):
      Input: zinitix - Read and cache device version numbers
      Input: zinitix - Varying icon status registers

 drivers/input/touchscreen/zinitix.c | 59 +++++++++++++++++++++++++++++++++++--
 1 file changed, 57 insertions(+), 2 deletions(-)
---
base-commit: 669e9cb5f59903fbb1649660f3cb04e5217a7e58
change-id: 20240806-zinitix-tk-versions-9b18b20ebaad

Best regards,
-- 
Linus Walleij <linus.walleij@linaro.org>


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

end of thread, other threads:[~2024-09-01  2:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 14:04 [PATCH v2 0/2] Input: zinitix - Handle chip revisions for touchkeys Linus Walleij
2024-08-30 14:04 ` [PATCH v2 1/2] Input: zinitix - Read and cache device version numbers Linus Walleij
2024-09-01  2:07   ` Dmitry Torokhov
2024-08-30 14:04 ` [PATCH v2 2/2] Input: zinitix - Varying icon status registers Linus Walleij
2024-09-01  2:09   ` Dmitry Torokhov

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