| From: |
| Jeff LaBundy <jeff-AT-labundy.com> |
| To: |
| lee.jones-AT-linaro.org, dmitry.torokhov-AT-gmail.com, thierry.reding-AT-gmail.com, jic23-AT-kernel.org, devicetree-AT-vger.kernel.org |
| Subject: |
| [PATCH v5 0/7] Add support for Azoteq IQS620A/621/622/624/625 |
| Date: |
| Sun, 16 Feb 2020 17:32:04 -0600 |
| Message-ID: |
| <1581895931-6056-1-git-send-email-jeff@labundy.com> |
| Cc: |
| linux-input-AT-vger.kernel.org, u.kleine-koenig-AT-pengutronix.de, linux-pwm-AT-vger.kernel.org, knaack.h-AT-gmx.de, lars-AT-metafoo.de, pmeerw-AT-pmeerw.net, linux-iio-AT-vger.kernel.org, robh+dt-AT-kernel.org, mark.rutland-AT-arm.com, Jeff LaBundy <jeff-AT-labundy.com> |
| Archive-link: |
| Article |
This series adds support for the Azoteq IQS620A, IQS621, IQS622, IQS624 and
IQS625 multi-function sensors. Each device integrates numerous sensing tech-
nologies in a single package.
A multi-function device (MFD) driver supports core functions common to all
devices, including device identification, firmware, interrupt handling and
runtime power management. The MFD driver is also responsible for adding all
product-specific sub-devices.
Each device supports self-capacitive, Hall-effect, and (in some cases) mutual-
inductive sensing. These functions represent keys or switches and are supported
by an input driver that covers all five devices. An assortment of pwm and iio
drivers supports device-specific functions including ambient light and angular
position sensing.
This series was tested using the following development hardware: IQS620AEV04,
IQS621EV04, IQS622EV04 and IQS624/5EV04. A demonstration of the series can be
seen at the following link: https://youtu.be/7hJZPeFT0aY
Jeff LaBundy (7):
dt-bindings: Add bindings for Azoteq IQS620A/621/622/624/625
mfd: Add support for Azoteq IQS620A/621/622/624/625
input: keyboard: Add support for Azoteq IQS620A/621/622/624/625
pwm: Add support for Azoteq IQS620A PWM generator
iio: temperature: Add support for Azoteq IQS620AT temperature sensor
iio: light: Add support for Azoteq IQS621/622 ambient light sensors
iio: position: Add support for Azoteq IQS624/625 angle sensors
.../devicetree/bindings/input/iqs62x-keys.yaml | 132 +++
Documentation/devicetree/bindings/mfd/iqs62x.yaml | 179 ++++
.../devicetree/bindings/pwm/iqs620a-pwm.yaml | 32 +
drivers/iio/Kconfig | 1 +
drivers/iio/Makefile | 1 +
drivers/iio/light/Kconfig | 10 +
drivers/iio/light/Makefile | 1 +
drivers/iio/light/iqs621-als.c | 617 ++++++++++++
drivers/iio/position/Kconfig | 19 +
drivers/iio/position/Makefile | 7 +
drivers/iio/position/iqs624-pos.c | 284 ++++++
drivers/iio/temperature/Kconfig | 10 +
drivers/iio/temperature/Makefile | 1 +
drivers/iio/temperature/iqs620at-temp.c | 97 ++
drivers/input/keyboard/Kconfig | 10 +
drivers/input/keyboard/Makefile | 1 +
drivers/input/keyboard/iqs62x-keys.c | 335 ++++++
drivers/mfd/Kconfig | 13 +
drivers/mfd/Makefile | 1 +
drivers/mfd/iqs62x.c | 1063 ++++++++++++++++++++
drivers/pwm/Kconfig | 10 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-iqs620a.c | 270 +++++
include/linux/mfd/iqs62x.h | 139 +++
24 files changed, 3234 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/iqs62x-keys.yaml
create mode 100644 Documentation/devicetree/bindings/mfd/iqs62x.yaml
create mode 100644 Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml
create mode 100644 drivers/iio/light/iqs621-als.c
create mode 100644 drivers/iio/position/Kconfig
create mode 100644 drivers/iio/position/Makefile
create mode 100644 drivers/iio/position/iqs624-pos.c
create mode 100644 drivers/iio/temperature/iqs620at-temp.c
create mode 100644 drivers/input/keyboard/iqs62x-keys.c
create mode 100644 drivers/mfd/iqs62x.c
create mode 100644 drivers/pwm/pwm-iqs620a.c
create mode 100644 include/linux/mfd/iqs62x.h
--
2.7.4