mbox series

[0/2] Add support for Azoteq IQS626A

Message ID 1606084748-4097-1-git-send-email-jeff@labundy.com (mailing list archive)
Headers show
Series Add support for Azoteq IQS626A | expand


Jeff LaBundy Nov. 22, 2020, 10:39 p.m. UTC
This series introduces support for the Azoteq IQS626A capacitive touch
controller, a highly flexible multifunction sensor targeting wearable
applications. It is a close cousin to the IQS269A with the following key

 - Channel count increases from 8 to 14.
 - Channels are assigned dedicated functions as follows:
   - ULP (ultra-low power): a single channel that continues to be sampled
     during the device's lowest-power sensing mode for wake-up signaling.
   - Trackpad: a group of 6 or 9 channels forming a capacitive trackpad with
     gesture support.
   - Generic: 3 independent channels capable of capacitive or inductive
     sensing, plus much more.
   - Hall: a single channel leveraging a pair of internal Hall-effect plates
     serving lid or dock detection.
 - Each channel (or group of channels) has a unique collection of configurable
   parameters rather than common parameters for every channel.

Channels and events reported by the channels are configured using the device
tree, similar to what was done for the IQS269A.

A demo is shown in the following video: https://youtu.be/n0Q5BXYFIgI

Jeff LaBundy (2):
  dt-bindings: input: Add bindings for Azoteq IQS626A
  input: Add support for Azoteq IQS626A

 .../devicetree/bindings/input/iqs626a.yaml         |  840 +++++++++
 drivers/input/misc/Kconfig                         |   11 +
 drivers/input/misc/Makefile                        |    1 +
 drivers/input/misc/iqs626a.c                       | 1846 ++++++++++++++++++++
 4 files changed, 2698 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/iqs626a.yaml
 create mode 100644 drivers/input/misc/iqs626a.c