Add support for Azoteq IQS620A/621/622/624/625
Subsystems (6)
v5 cover Add support for Azoteq IQS620A/621/622/624/625
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
PATCH v5 2/7 mfd: Add support for Azoteq IQS620A/621/622/624/625
This patch adds core support for the Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors.
---
Changes in v5:
- Merged iqs62x-core.c and iqs62x-tables.c into a single iqs62x.c
- Corrected spelling of "data sheet" to "datasheet"
- Added one line of whitespace in various places to improve readability
- Replaced iqs62x->map with iqs62x->regmap throughout
- Added the prox_settings member to the iqs62x_dev_desc struct and eliminated the ternary operator in iqs62x_dev_init to determine SAR UI enable register address
- Added a comment in iqs62x_dev_init to explain the background for the bounds checking done on the IQS624/625 interval divider
- Added #defines for the delays used within iqs62x_dev_init
- Renamed iqs62x_fw_prs and iqs62x_fw_cb to iqs62x_firmware_parse and iqs62x_firmware_load, respectively
- Updated the call to devm_mfd_add_devices to use PLATFORM_DEVID_NONE instead of -1 and printed "sub-devices" instead of "devices" in the error message
- Dropped #defines for mfd_cell names in favor of the actual string names and collapsed mfd_cells with no other members into one line
- Demoted iqs62x_devs to a static array as it is not used by any sub-devices
- Removed unnecessary { IQS620A_DEV, ... } enum and IQS62X_NUM_DEV #define
- Removed the soft reset and associated delay in iqs62x_probe to preserve any PWM-related changes made by a bootloader
- Updated the comments in iqs62x_probe to highlight the significance of blank calibration registers and why the outer loop may be exited early
- Made the first call to regmap_update_bits in iqs62x_suspend consistent with other instances in the series that set a single bit by passing all ones for the value instead of the mask
Changes in v4:
- None
Changes in v3:
- None
Changes in v2:
- Merged 'Copyright' and 'Author' lines into one in introductory comments
- Replaced 'error' with 'ret' throughout
- Updated iqs62x_dev_init to account for 4/8/16-MHz clock divider in start-up delays and replaced ATI timeout routine with regmap_read_poll_timeout
- Added an error message to iqs62x_irq in case device status fails to be read
- Replaced sw_num member of iqs62x_core with a local variable in iqs62x_probe as the former was unused anywhere else
- Added comments throughout iqs62x_probe to clarify how devices are matched based on the presence of calibration data
- Inverted the product and software number comparison logic in iqs62x_probe to avoid an else...continue branch
- Changed iqs62x_probe from .probe callback to .probe_new callback, thereby eliminating the otherwise unused iqs62x_id array
- Moved iqs62x_suspend and iqs62x_resume below iqs62x_remove
- Eliminated tabbed alignment of regmap_config and i2c_driver struct members
- Added register definitions for register addresses used in iqs621_cal_regs, iqs620at_cal_regs and iqs62x_devs arrays
- Removed of_compatible string from IQS622 mfd_cell struct as its proximity (now ambient light) sensing functionality need not be represented using a child node
- Dissolved union in iqs62x_event_data to allow simultaneous use of ir_flags and als_flags
- Removed temp_flags member of iqs62x_event_data, IQS62X_EVENT_TEMP register enumeration and IQS62X_EVENT_UI_HI/LO from iqs620a_event_regs (thereby re- ducing IQS62X_EVENT_SIZE to 10) as they were unused
drivers/mfd/Kconfig | 13 + drivers/mfd/Makefile | 1 + drivers/mfd/iqs62x.c | 1063 ++++++++++++++++++++++++++++++++++++++++++++ include/linux/mfd/iqs62x.h | 139 ++++++ 4 files changed, 1216 insertions(+) create mode 100644 drivers/mfd/iqs62x.c create mode 100644 include/linux/mfd/iqs62x.h
drivers/mfd/Kconfig +13 -0
@@ -642,6 +642,19 @@ config MFD_IPAQ_MICRO AT90LS8535 microcontroller flashed with a special iPAQ firmware using the custom protocol implemented in this driver. +config MFD_IQS62X + tristate "Azoteq IQS620A/621/622/624/625 core support" + depends on I2C + select MFD_CORE + select REGMAP_I2C + help + Say Y here if you want to build core support for the Azoteq IQS620A, + IQS621, IQS622, IQS624 and IQS625 multi-function sensors. Additional + options must be selected to enable device-specific functions. + + To compile this driver as a module, choose M here: the module will + be called iqs62x. + config MFD_JANZ_CMODIO tristate "Janz CMOD-IO PCI MODULbus Carrier Board" select MFD_CORE
drivers/mfd/Makefile +1 -0
@@ -226,6 +226,7 @@ obj-$(CONFIG_MFD_AS3711) += as3711.o obj-$(CONFIG_MFD_AS3722) += as3722.o obj-$(CONFIG_MFD_STW481X) += stw481x.o obj-$(CONFIG_MFD_IPAQ_MICRO) += ipaq-micro.o +obj-$(CONFIG_MFD_IQS62X) += iqs62x.o obj-$(CONFIG_MFD_MENF21BMC) += menf21bmc.o obj-$(CONFIG_MFD_HI6421_PMIC) += hi6421-pmic-core.o obj-$(CONFIG_MFD_HI655X_PMIC) += hi655x-pmic.o
drivers/mfd/iqs62x.c new file +1063 -0
1,063 lines not on this page · raw message
include/linux/mfd/iqs62x.h new file +139 -0
139 lines not on this page · raw message
PATCH v5 3/7 input: keyboard: Add support for Azoteq IQS620A/621/622/624/625
In reply to Jeff LaBundyThis patch adds key and switch support for the Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors.
---
Changes in v5:
- Replaced iqs62x->map with iqs62x->regmap throughout
- Updated iqs62x_keys_parse_prop to use device_property_count_u32 instead of device_property_read_u32_array to count available keycodes
- Used input_set_capability to signal available keys and switches instead of __set_bit and __clear_bit within iqs62x_keys_probe
- Dropped #defines for platform_driver name and alias in favor of the actual string names
- Added Acked-by trailer
Changes in v4:
- None
Changes in v3:
- None
Changes in v2:
- Merged 'Copyright' and 'Author' lines into one in introductory comments
- Replaced 'error' with 'ret' throughout
- Updated iqs62x_keys_parse_prop to use unified device property interface
- Clarified the comment in iqs62x_keys_notifier to state that wheel up or down events elicit an emulated release cycle
- Eliminated tabbed alignment of platform_driver struct members
drivers/input/keyboard/Kconfig | 10 ++ drivers/input/keyboard/Makefile | 1 + drivers/input/keyboard/iqs62x-keys.c | 335 +++++++++++++++++++++++++++++++++++ 3 files changed, 346 insertions(+) create mode 100644 drivers/input/keyboard/iqs62x-keys.c
drivers/input/keyboard/Kconfig +10 -0
@@ -663,6 +663,16 @@ config KEYBOARD_IPAQ_MICRO To compile this driver as a module, choose M here: the module will be called ipaq-micro-keys. +config KEYBOARD_IQS62X + tristate "Azoteq IQS620A/621/622/624/625 keys and switches" + depends on MFD_IQS62X + help + Say Y here to enable key and switch support for the Azoteq IQS620A, + IQS621, IQS622, IQS624 and IQS625 multi-function sensors. + + To compile this driver as a module, choose M here: the module will + be called iqs62x-keys. + config KEYBOARD_OMAP tristate "TI OMAP keypad support" depends on ARCH_OMAP1
drivers/input/keyboard/Makefile +1 -0
@@ -28,6 +28,7 @@ obj-$(CONFIG_KEYBOARD_TCA8418) += tca8418_keypad.o obj-$(CONFIG_KEYBOARD_HIL) += hil_kbd.o obj-$(CONFIG_KEYBOARD_HIL_OLD) += hilkbd.o obj-$(CONFIG_KEYBOARD_IPAQ_MICRO) += ipaq-micro-keys.o +obj-$(CONFIG_KEYBOARD_IQS62X) += iqs62x-keys.o obj-$(CONFIG_KEYBOARD_IMX) += imx_keypad.o obj-$(CONFIG_KEYBOARD_IMX_SC_KEY) += imx_sc_key.o obj-$(CONFIG_KEYBOARD_HP6XX) += jornada680_kbd.o
drivers/input/keyboard/iqs62x-keys.c new file +335 -0
335 lines not on this page · raw message
PATCH v5 4/7 pwm: Add support for Azoteq IQS620A PWM generator
In reply to Jeff LaBundyThis patch adds support for the Azoteq IQS620A, capable of generating a 1-kHz PWM output with duty cycle between ~0.4% and 100% (inclusive).
---
Changes in v5:
- Replaced iqs62x->map with iqs62x->regmap throughout
- Updated iqs620_pwm_probe to read the values of IQS620_PWR_SETTINGS_PWM_OUT and IQS620_PWM_DUTY_CYCLE so that iqs620_pwm_get_state reflects the actual state of the device following any changes made by a bootloader
- Dropped #defines for platform_driver name and alias in favor of the actual string names
Changes in v4:
- Updated iqs620_pwm_apply and iqs620_pwm_get_state to hold the lock around only the minimum necessary code
- Removed the completion protecting against early use of chip->pwms[0] from inside iqs620_pwm_notifier in favor of cached register values
- Updated iqs620_pwm_get_state to use the cached register values instead of reading IQS620_PWR_SETTINGS_PWM_OUT and IQS620_PWM_DUTY_CYCLE (both equal to zero by default)
- Added a comment in iqs620_pwm_notifier to note that the parent MFD driver prints an error message in the event of a device reset
Changes in v3:
- Updated the commit message to say "~0.4%" instead of "0.4%"
- Clarified the effect of duty cycle and state changes in the 'Limitations' section and added a restriction regarding 0% duty cycle
- Added a comment in iqs620_pwm_apply to explain how duty cycle is derived
- Updated iqs620_pwm_apply to disable the output first and enable it last to prevent temporarily driving a stale duty cycle
- Rounded the calculation for duty cycle up and down in iqs620_pwm_get_state and iqs620_pwm_apply, respectively
- Added a comment in iqs620_pwm_get_state to explain what it reports follow- ing requests to set duty cycle to 0%
- Added a lock to prevent back-to-back access of IQS620_PWR_SETTINGS_PWM_OUT and IQS620_PWM_DUTY_CYCLE from being interrupted
- Updated iqs620_pwm_notifier to reference pwm->state directly as opposed to calling pwm_get_state
- Moved notifier unregistration back to a device-managed action
- Added a completion to prevent iqs620_pwm_notifier from referencing the pwm_chip structure until it has been initialized by pwmchip_add
Changes in v2:
- Merged 'Copyright' and 'Author' lines into one in introductory comments
- Added 'Limitations' section to introductory comments
- Replaced 'error' with 'ret' throughout
- Added const qualifier to state argument of iqs620_pwm_apply and removed all modifications to the variable's contents
- Updated iqs620_pwm_apply to return -ENOTSUPP or -EINVAL if the requested polarity is inverted or the requested period is below 1 ms, respectively
- Updated iqs620_pwm_apply to disable the PWM output if duty cycle is zero
- Added iqs620_pwm_get_state
- Eliminated tabbed alignment of pwm_ops and platform_driver struct members
- Moved notifier unregistration to already present iqs620_pwm_remove, which eliminated the need for a device-managed action and ready flag
- Added a comment in iqs620_pwm_probe to explain the order of operations
- Changed Kconfig "depends on" logic to MFD_IQS62X || COMPILE_TEST
drivers/pwm/Kconfig | 10 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-iqs620a.c | 270 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 281 insertions(+) create mode 100644 drivers/pwm/pwm-iqs620a.c
drivers/pwm/Kconfig +10 -0
@@ -222,6 +222,16 @@ config PWM_IMX_TPM To compile this driver as a module, choose M here: the module will be called pwm-imx-tpm. +config PWM_IQS620A + tristate "Azoteq IQS620A PWM support" + depends on MFD_IQS62X || COMPILE_TEST + help + Generic PWM framework driver for the Azoteq IQS620A multi-function + sensor. + + To compile this driver as a module, choose M here: the module will + be called pwm-iqs620a. + config PWM_JZ4740 tristate "Ingenic JZ47xx PWM support" depends on MACH_INGENIC
drivers/pwm/Makefile +1 -0
@@ -20,6 +20,7 @@ obj-$(CONFIG_PWM_IMG) += pwm-img.o obj-$(CONFIG_PWM_IMX1) += pwm-imx1.o obj-$(CONFIG_PWM_IMX27) += pwm-imx27.o obj-$(CONFIG_PWM_IMX_TPM) += pwm-imx-tpm.o +obj-$(CONFIG_PWM_IQS620A) += pwm-iqs620a.o obj-$(CONFIG_PWM_JZ4740) += pwm-jz4740.o obj-$(CONFIG_PWM_LP3943) += pwm-lp3943.o obj-$(CONFIG_PWM_LPC18XX_SCT) += pwm-lpc18xx-sct.o
drivers/pwm/pwm-iqs620a.c new file +270 -0
270 lines not on this page · raw message
--
2.7.4
PATCH v5 5/7 iio: temperature: Add support for Azoteq IQS620AT temperature sensor
In reply to Jeff LaBundyThis patch adds support for the Azoteq IQS620AT temperature sensor, capable of reporting its absolute die temperature.
---
Changes in v5:
- Replaced iqs62x->map with iqs62x->regmap throughout
- Dropped #defines for platform_driver name and alias in favor of the actual string names
Changes in v4:
- None
Changes in v3:
- Added Reviewed-by trailer
Changes in v2:
- Moved the driver from hwmon to iio
- Merged 'Copyright' and 'Author' lines into one in introductory comments
- Replaced 'error' with 'ret' throughout
- Eliminated tabbed alignment of platform_driver struct members
- Changed Kconfig "depends on" logic to MFD_IQS62X || COMPILE_TEST
drivers/iio/temperature/Kconfig | 10 ++++ drivers/iio/temperature/Makefile | 1 + drivers/iio/temperature/iqs620at-temp.c | 97 +++++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 drivers/iio/temperature/iqs620at-temp.c
drivers/iio/temperature/Kconfig +10 -0
@@ -4,6 +4,16 @@ # menu "Temperature sensors" +config IQS620AT_TEMP + tristate "Azoteq IQS620AT temperature sensor" + depends on MFD_IQS62X || COMPILE_TEST + help + Say Y here if you want to build support for the Azoteq IQS620AT + temperature sensor. + + To compile this driver as a module, choose M here: the module + will be called iqs620at-temp. + config LTC2983 tristate "Analog Devices Multi-Sensor Digital Temperature Measurement System" depends on SPI
drivers/iio/temperature/Makefile +1 -0
@@ -3,6 +3,7 @@ # Makefile for industrial I/O temperature drivers # +obj-$(CONFIG_IQS620AT_TEMP) += iqs620at-temp.o obj-$(CONFIG_LTC2983) += ltc2983.o obj-$(CONFIG_HID_SENSOR_TEMP) += hid-sensor-temperature.o obj-$(CONFIG_MAXIM_THERMOCOUPLE) += maxim_thermocouple.o
drivers/iio/temperature/iqs620at-temp.c new file +97 -0
97 lines not on this page · raw message
--
2.7.4
PATCH v5 6/7 iio: light: Add support for Azoteq IQS621/622 ambient light sensors
In reply to Jeff LaBundyThis patch adds support for the Azoteq IQS621 and IQS622 ambient light sensors, both of which can report a four-bit representation of ambient light intensity.
The IQS621 can additionally report illuminace directly in units of lux, while the IQS622 can report a four-bit representation of infrared light intensity. Furthermore, the IQS622 can report a unitless measurement of a target's proximity to the device.
---
Changes in v5:
- Replaced iqs62x->map with iqs62x->regmap throughout
- Replaced use of bitwise-OR operators in iqs621_als_write_event_config with logical-OR operators as was originally intended
- Dropped #defines for platform_driver name and alias in favor of the actual string names
Changes in v4:
- None
Changes in v3:
- Added Reviewed-by trailer
Changes in v2:
- Merged 'Copyright' and 'Author' lines into one in introductory comments
- Replaced 'error' with 'ret' throughout
- Merged support for the closely related IQS622 (formerly represented by a separate iio/proximity driver)
- Added support for unitless ambient light intensity (IQS621 and IQS622) and infrared light intensity (IQS622 only)
- Moved the read of IQS621_ALS_FLAGS to iqs621_als_write_event_config to account for the fact that IQS621_ALS_FLAGS may have changed in between having first been read in iqs621_als_init and the time at which events are enabled, thereby eliminating the need to call iqs621_als_init from iqs621_als_probe
- Refactored the logic in iqs621_als_notifier and added a lock to safely evaluate variables that may change in response to user action
- Added locks to iqs621_als_read_event_config/value to account for cases in which the corresponding hardware state is in the process of being updated
- Refactored the logic in iqs621_als_read/write_event_value and removed all
#defines that could instead be represented by simple math
- Based the decision whether to select the IQS622 IR touch vs. proximity threshold on the single proximity threshold written by user space, and added a comment to describe the difference between either threshold
- Replaced IIO_CHAN_INFO_RAW with IIO_CHAN_INFO_PROCESSED for the IIO_LIGHT channel (IQS621 only)
- Removed devm_add_action_or_reset failure message
- Eliminated tabbed alignment of platform_driver struct members
- Changed Kconfig "depends on" logic to MFD_IQS62X || COMPILE_TEST
drivers/iio/light/Kconfig | 10 + drivers/iio/light/Makefile | 1 + drivers/iio/light/iqs621-als.c | 617 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 628 insertions(+) create mode 100644 drivers/iio/light/iqs621-als.c
drivers/iio/light/Kconfig +10 -0
@@ -173,6 +173,16 @@ config GP2AP020A00F To compile this driver as a module, choose M here: the module will be called gp2ap020a00f. +config IQS621_ALS + tristate "Azoteq IQS621/622 ambient light sensors" + depends on MFD_IQS62X || COMPILE_TEST + help + Say Y here if you want to build support for the Azoteq IQS621 + and IQS622 ambient light sensors. + + To compile this driver as a module, choose M here: the module + will be called iqs621-als. + config SENSORS_ISL29018 tristate "Intersil 29018 light and proximity sensor" depends on I2C
drivers/iio/light/Makefile +1 -0
@@ -21,6 +21,7 @@ obj-$(CONFIG_IIO_CROS_EC_LIGHT_PROX) += cros_ec_light_prox.o obj-$(CONFIG_GP2AP020A00F) += gp2ap020a00f.o obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o obj-$(CONFIG_HID_SENSOR_PROX) += hid-sensor-prox.o +obj-$(CONFIG_IQS621_ALS) += iqs621-als.o obj-$(CONFIG_SENSORS_ISL29018) += isl29018.o obj-$(CONFIG_SENSORS_ISL29028) += isl29028.o obj-$(CONFIG_ISL29125) += isl29125.o
drivers/iio/light/iqs621-als.c new file +617 -0
617 lines not on this page · raw message
--
2.7.4
PATCH v5 1/7 dt-bindings: Add bindings for Azoteq IQS620A/621/622/624/625
In reply to Jeff LaBundyThis patch adds device tree bindings for the Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors.
A total of three bindings are presented (one MFD and two child nodes); they are submitted as a single patch because the child node bindings have no meaning in the absence of the MFD binding.
---
Changes in v5:
- Corrected spelling of "data sheets" to "datasheets"
- Replaced words "additional air button" with "proximity-activated function" in comment above first example
Changes in v4:
- None
Changes in v3:
- Specified 'additionalProperties: false' within the parent MFD node and all child nodes ("keys", "hall-switch-north/south" and "pwm")
- Defined the "hall-switch-north/south" child nodes unconditionally and then inverted the subsequent if/then to filter them from devices for which that functionality is unavailable
- Added Reviewed-by trailer
Changes in v2:
- Removed "prox" child node and moved "keys" and "pwm" child nodes to their own bindings
- Replaced linux,fw-file property with more common firmware-name property
- Converted all bindings to YAML
.../devicetree/bindings/input/iqs62x-keys.yaml | 132 +++++++++++++++ Documentation/devicetree/bindings/mfd/iqs62x.yaml | 179 +++++++++++++++++++++ .../devicetree/bindings/pwm/iqs620a-pwm.yaml | 32 ++++ 3 files changed, 343 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
Documentation/devicetree/bindings/input/iqs62x-keys.yaml new file +132 -0
@@ -0,0 +1,132 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/iqs62x-keys.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Azoteq IQS620A/621/622/624/625 Keys and Switches + +maintainers: + - Jeff LaBundy <[email protected]> + +description: | + The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors + feature a variety of self-capacitive, mutual-inductive and Hall-effect sens- + ing capabilities that can facilitate a variety of contactless key and switch + applications. + + These functions are collectively represented by a "keys" child node from the + parent MFD driver. See Documentation/devicetree/bindings/mfd/iqs62x.yaml for + further details and examples. Sensor hardware configuration (self-capacitive + vs. mutual-inductive, etc.) is selected based on the device's firmware. + +properties: + compatible: + enum: + - azoteq,iqs620a-keys + - azoteq,iqs621-keys + - azoteq,iqs622-keys + - azoteq,iqs624-keys + - azoteq,iqs625-keys + + linux,keycodes: + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32-array + - minItems: 1 + maxItems: 16 + description: | + Specifies the numeric keycodes associated with each available touch or + proximity event according to the following table. An 'x' indicates the + event is supported for a given device. Specify 0 for unused events. + + ------------------------------------------------------------------------- + | # | Event | IQS620A | IQS621 | IQS622 | IQS624 | IQS625 | + ------------------------------------------------------------------------- + | 0 | CH0 Touch | x | x | x | x | x | + | | Antenna 1 Touch* | x | | | | | + ------------------------------------------------------------------------- + | 1 | CH0 Proximity | x | x | x | x | x | + | | Antenna 1 Prox.* | x | | | | | + ------------------------------------------------------------------------- + | 2 | CH1 Touch | x | x | x | x | x | + | | Ant. 1 Deep Touch* | x | | | | | + ------------------------------------------------------------------------- + | 3 | CH1 Proximity | x | x | x | x | x | + ------------------------------------------------------------------------- + | 4 | CH2 Touch | x | | | | | + ------------------------------------------------------------------------- + | 5 | CH2 Proximity | x | | | | | + | | Antenna 2 Prox.* | x | | | | | + ------------------------------------------------------------------------- + | 6 | Metal (+) Touch** | x | x | | | | + | | Ant. 2 Deep Touch* | x | | | | | + ------------------------------------------------------------------------- + | 7 | Metal (+) Prox.** | x | x | | | | + | | Antenna 2 Touch* | x | | | | | + ------------------------------------------------------------------------- + | 8 | Metal (-) Touch** | x | x | | | | + ------------------------------------------------------------------------- + | 9 | Metal (-) Prox.** | x | x | | | | + ------------------------------------------------------------------------- + | 10 | SAR Active*** | x | | x | | | + ------------------------------------------------------------------------- + | 11 | SAR Quick Rel.*** | x | | x | | | + ------------------------------------------------------------------------- + | 12 | SAR Movement*** | x | | x | | | + ------------------------------------------------------------------------- + | 13 | SAR Filter Halt*** | x | | x | | | + ------------------------------------------------------------------------- + | 14 | Wheel Up | | | | x | | + ------------------------------------------------------------------------- + | 15 | Wheel Down | | | | x | | + ------------------------------------------------------------------------- + * Two-channel SAR. Replaces CH0-2 plus metal touch and proximity events + if enabled via firmware. + ** "+" and "-" refer to the polarity of a channel's delta (LTA - counts), + where "LTA" is defined as the channel's long-term average. + *** One-channel SAR. Replaces CH0-2 touch and proximity events if enabled + via firmware. + +patternProperties: + "^hall-switch-(north|south)$": + type: object + description: + Represents north/south-field Hall-effect sensor touch or proximity + events. Note that north/south-field orientation is reversed on the + IQS620AXzCSR device due to its flip-chip package. + + properties: + linux,code: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Numeric switch code associated with the event. + + azoteq,use-prox: + $ref: /schemas/types.yaml#/definitions/flag + description: + If present, specifies that Hall-effect sensor reporting should + use the device's wide-range proximity threshold instead of its + close-range touch threshold (default). + + required: + - linux,code + + additionalProperties: false + +if: + properties: + compatible: + contains: + enum: + - azoteq,iqs624-keys + - azoteq,iqs625-keys +then: + patternProperties: + "^hall-switch-(north|south)$": false + +required: + - compatible + - linux,keycodes + +additionalProperties: false + +...
Documentation/devicetree/bindings/mfd/iqs62x.yaml new file +179 -0
179 lines not on this page · raw message
Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml new file +32 -0
@@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/iqs620a-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Azoteq IQS620A PWM Generator + +maintainers: + - Jeff LaBundy <[email protected]> + +description: | + The Azoteq IQS620A multi-function sensor generates a fixed-frequency PWM + output represented by a "pwm" child node from the parent MFD driver. See + Documentation/devicetree/bindings/mfd/iqs62x.yaml for further details as + well as an example. + +properties: + compatible: + enum: + - azoteq,iqs620a-pwm + + "#pwm-cells": + const: 2 + +required: + - compatible + - "#pwm-cells" + +additionalProperties: false + +...
PATCH v5 7/7 iio: position: Add support for Azoteq IQS624/625 angle sensors
In reply to Jeff LaBundyThis patch adds support for the Azoteq IQS624 and IQS625 angular position sensors, capable of reporting the angle of a rotating shaft down to 1 and 10 degrees of accuracy, respectively.
This patch also introduces a home for linear and angular position sensors. Unlike resolvers, they are typically contactless and use the Hall effect.
---
Changes in v5:
- Replaced iqs62x->map with iqs62x->regmap throughout
- Dropped #defines for platform_driver name and alias in favor of the actual string names
Changes in v4:
- None
Changes in v3:
- Added Reviewed-by trailer
Changes in v2:
- Merged 'Copyright' and 'Author' lines into one in introductory comments
- Replaced 'error' with 'ret' throughout
- Added iqs624_pos_angle_en and iqs624_pos_angle_get to remove duplicate logic previously used throughout
- Refactored the logic in iqs624_pos_notifier and added a lock to safely evaluate variables that may change in response to user action
- Refactored the logic in iqs624_pos_read_raw
- Added a lock to iqs624_pos_read_event_config to account for cases in which the corresponding hardware state is in the process of being updated
- Refactored the logic in iqs624_pos_write_event_config and read the initial angle in case it changed since having first been read in iqs624_pos_init
- Removed iqs624_pos_init as its logic has since been absorbed elsewhere
- Removed devm_add_action_or_reset failure message
- Eliminated tabbed alignment of platform_driver struct members
- Changed Kconfig "depends on" logic to MFD_IQS62X || COMPILE_TEST
drivers/iio/Kconfig | 1 + drivers/iio/Makefile | 1 + drivers/iio/position/Kconfig | 19 +++ drivers/iio/position/Makefile | 7 + drivers/iio/position/iqs624-pos.c | 284 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 312 insertions(+) create mode 100644 drivers/iio/position/Kconfig create mode 100644 drivers/iio/position/Makefile create mode 100644 drivers/iio/position/iqs624-pos.c
drivers/iio/Kconfig +1 -0
@@ -88,6 +88,7 @@ source "drivers/iio/orientation/Kconfig" if IIO_TRIGGER source "drivers/iio/trigger/Kconfig" endif #IIO_TRIGGER +source "drivers/iio/position/Kconfig" source "drivers/iio/potentiometer/Kconfig" source "drivers/iio/potentiostat/Kconfig" source "drivers/iio/pressure/Kconfig"
drivers/iio/Makefile +1 -0
@@ -31,6 +31,7 @@ obj-y += light/ obj-y += magnetometer/ obj-y += multiplexer/ obj-y += orientation/ +obj-y += position/ obj-y += potentiometer/ obj-y += potentiostat/ obj-y += pressure/
drivers/iio/position/Kconfig new file +19 -0
@@ -0,0 +1,19 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# Linear and angular position sensors +# +# When adding new entries keep the list in alphabetical order + +menu "Linear and angular position sensors" + +config IQS624_POS + tristate "Azoteq IQS624/625 angular position sensors" + depends on MFD_IQS62X || COMPILE_TEST + help + Say Y here if you want to build support for the Azoteq IQS624 + and IQS625 angular position sensors. + + To compile this driver as a module, choose M here: the module + will be called iqs624-pos. + +endmenu
drivers/iio/position/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# +# Makefile for IIO linear and angular position sensors +# + +# When adding new entries keep the list in alphabetical order + +obj-$(CONFIG_IQS624_POS) += iqs624-pos.o
drivers/iio/position/iqs624-pos.c new file +284 -0
284 lines not on this page · raw message
Lee Jones
AppliedRe: [PATCH v5 1/7] dt-bindings: Add bindings for Azoteq IQS620A/621/622/624/625
In reply to Jeff LaBundyQuoted 32 lines · Jeff LaBundy
This patch adds device tree bindings for the Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors.
A total of three bindings are presented (one MFD and two child nodes); they are submitted as a single patch because the child node bindings have no meaning in the absence of the MFD binding.
Signed-off-by Jeff LaBundy <[email protected]>Reviewed-by Rob Herring <[email protected]>---
Changes in v5:
- Corrected spelling of "data sheets" to "datasheets"
- Replaced words "additional air button" with "proximity-activated function" in comment above first exampleChanges in v4:
- NoneChanges in v3:
- Specified 'additionalProperties: false' within the parent MFD node and all child nodes ("keys", "hall-switch-north/south" and "pwm")
- Defined the "hall-switch-north/south" child nodes unconditionally and then inverted the subsequent if/then to filter them from devices for which that functionality is unavailable
- Added Reviewed-by trailerChanges in v2:
- Removed "prox" child node and moved "keys" and "pwm" child nodes to their own bindings
- Replaced linux,fw-file property with more common firmware-name property
- Converted all bindings to YAML
Quoted 7 lines
.../devicetree/bindings/input/iqs62x-keys.yaml | 132 +++++++++++++++ Documentation/devicetree/bindings/mfd/iqs62x.yaml | 179 +++++++++++++++++++++ .../devicetree/bindings/pwm/iqs620a-pwm.yaml | 32 ++++ 3 files changed, 343 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
Applied, thanks.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Lee Jones
AppliedRe: [PATCH v5 2/7] mfd: Add support for Azoteq IQS620A/621/622/624/625
In reply to Jeff LaBundyQuoted 65 lines · Jeff LaBundy
This patch adds core support for the Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors.
Signed-off-by Jeff LaBundy <[email protected]>---
Changes in v5:
- Mergediqs62x-core.candiqs62x-tables.cinto a singleiqs62x.c
- Corrected spelling of "data sheet" to "datasheet"
- Added one line of whitespace in various places to improve readability
- Replacediqs62x->mapwithiqs62x->regmapthroughout
- Added theprox_settingsmember to theiqs62x_dev_descstruct and eliminated the ternary operator iniqs62x_dev_initto determine SAR UI enable register address
- Added a comment iniqs62x_dev_initto explain the background for the bounds checking done on the IQS624/625 interval divider
- Added #defines for the delays used withiniqs62x_dev_init
- Renamediqs62x_fw_prsandiqs62x_fw_cbtoiqs62x_firmware_parseandiqs62x_firmware_load, respectively
- Updated the call todevm_mfd_add_devicesto usePLATFORM_DEVID_NONEinstead of -1 and printed "sub-devices" instead of "devices" in the error message
- Dropped #defines formfd_cellnames in favor of the actual string names and collapsedmfd_cellswith no other members into one line
- Demotediqs62x_devsto a static array as it is not used by any sub-devices
- Removed unnecessary {IQS620A_DEV, ... } enum andIQS62X_NUM_DEV#define
- Removed the soft reset and associated delay iniqs62x_probeto preserve any PWM-related changes made by a bootloader
- Updated the comments iniqs62x_probeto highlight the significance of blank calibration registers and why the outer loop may be exited early
- Made the first call toregmap_update_bitsiniqs62x_suspendconsistent with other instances in the series that set a single bit by passing all ones for the value instead of the maskChanges in v4:
- NoneChanges in v3:
- NoneChanges in v2:
- Merged 'Copyright' and 'Author' lines into one in introductory comments
- Replaced 'error' with 'ret' throughout
- Updatediqs62x_dev_initto account for 4/8/16-MHz clock divider in start-up delays and replaced ATI timeout routine withregmap_read_poll_timeout
- Added an error message toiqs62x_irqin case device status fails to be read
- Replacedsw_nummember ofiqs62x_corewith a local variable iniqs62x_probeas the former was unused anywhere else
- Added comments throughoutiqs62x_probeto clarify how devices are matched based on the presence of calibration data
- Inverted the product and software number comparison logic iniqs62x_probeto avoid an else...continue branch
- Changediqs62x_probefrom .probe callback to .probe_new callback, thereby eliminating the otherwise unusediqs62x_idarray
- Movediqs62x_suspendandiqs62x_resumebelowiqs62x_remove
- Eliminated tabbed alignment ofregmap_configandi2c_driverstruct members
- Added register definitions for register addresses used iniqs621_cal_regs,iqs620at_cal_regsandiqs62x_devsarrays
- Removedof_compatiblestring from IQS622mfd_cellstruct as its proximity (now ambient light) sensing functionality need not be represented using a child node
- Dissolved union iniqs62x_event_datato allow simultaneous use ofir_flagsandals_flags
- Removedtemp_flagsmember ofiqs62x_event_data,IQS62X_EVENT_TEMPregister enumeration and IQS62X_EVENT_UI_HI/LO fromiqs620a_event_regs(thereby re- ducingIQS62X_EVENT_SIZEto 10) as they were unused
Quoted 7 lines
drivers/mfd/Kconfig | 13 + drivers/mfd/Makefile | 1 + drivers/mfd/iqs62x.c | 1063 ++++++++++++++++++++++++++++++++++++++++++++ include/linux/mfd/iqs62x.h | 139 ++++++ 4 files changed, 1216 insertions(+) create mode 100644 drivers/mfd/iqs62x.c create mode 100644 include/linux/mfd/iqs62x.h
Well done Jeff. Good job.
Applied, thanks.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Re: [PATCH v5 2/7] mfd: Add support for Azoteq IQS620A/621/622/624/625
Hi Lee,
On Mon, Feb 24, 2020 at 11:14:48AM +0000, Lee Jones wrote:
[...]
Quoted 10 lines
Well done Jeff. Good job.
Applied, thanks.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Thank you for your kind words as well as your support in fleshing out this series.
Just to confirm, does your offer to take the remainder (once everything is approved) through immutable branches still stand?
Hi Uwe and/or Thierry,
Please let me know if you have any additional input on patch [4/7], or you feel it is suitable for your Ack at this stage.
Kind regards,
Jeff LaBundy
Re: [PATCH v5 4/7] pwm: Add support for Azoteq IQS620A PWM generator
In reply to Jeff LaBundyHello Jeff,
Quoted 4 lines · Jeff LaBundy
This patch adds support for the Azoteq IQS620A, capable of generating a 1-kHz PWM output with duty cycle between ~0.4% and 100% (inclusive).
Signed-off-by Jeff LaBundy <[email protected]>
I like it,
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Re: [PATCH v5 2/7] mfd: Add support for Azoteq IQS620A/621/622/624/625
In reply to Jeff LaBundyQuoted 9 lines · Jeff LaBundy
Hi Lee,
On Mon, Feb 24, 2020 at 11:14:48AM +0000, Lee Jones wrote:
[...]
Quoted 3 lines
Well done Jeff. Good job.
Quoted 8 lines
Quoted 2 lines
Applied, thanks.
Thank you for your kind words as well as your support in fleshing out this series.
Just to confirm, does your offer to take the remainder (once everything is approved) through immutable branches still stand?
Depends how quickly you can get the other drivers turned around.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Re: [PATCH v5 2/7] mfd: Add support for Azoteq IQS620A/621/622/624/625
Hi Lee,
Quoted 14 lines · Lee Jones
Quoted 12 lines · Jeff LaBundy
Hi Lee,
On Mon, Feb 24, 2020 at 11:14:48AM +0000, Lee Jones wrote:
[...]
Quoted 5 lines
Well done Jeff. Good job.
Applied, thanks.
Quoted 7 lines
Quoted 5 lines
Thank you for your kind words as well as your support in fleshing out this series.
Just to confirm, does your offer to take the remainder (once everything is approved) through immutable branches still stand?
Depends how quickly you can get the other drivers turned around.
With Uwe's approval from Friday, all five drivers are complete. Dmitry and Jonathan's approvals were given in previous review cycles and were carried forward with their permission. If anything else is required, please let me know.
Quoted 6 lines
Signature · 5 lines
-- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Kind regards,
Jeff LaBundy
Re: [PATCH v5 2/7] mfd: Add support for Azoteq IQS620A/621/622/624/625
Hello,
Quoted 18 lines · Jeff LaBundy
Quoted 17 lines · Lee Jones
Quoted 15 lines · Jeff LaBundy
Hi Lee,
On Mon, Feb 24, 2020 at 11:14:48AM +0000, Lee Jones wrote:
[...]
Quoted 5 lines
Well done Jeff. Good job.
Applied, thanks.
Thank you for your kind words as well as your support in fleshing out this series.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Just to confirm, does your offer to take the remainder (once everything is approved) through immutable branches still stand?
Depends how quickly you can get the other drivers turned around.
With Uwe's approval from Friday, all five drivers are complete.
Note that I'm "only" reviewer of the PWM stuff and Thierry is the one responsible for the pwm-tree. So you need his ack to take the pwm patch through a different tree.
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Re: [PATCH v5 2/7] mfd: Add support for Azoteq IQS620A/621/622/624/625
In reply to Jeff LaBundyQuoted 23 lines · Jeff LaBundy
Hi Lee,
Quoted 20 lines · Lee Jones
Quoted 17 lines · Jeff LaBundy
Hi Lee,
On Mon, Feb 24, 2020 at 11:14:48AM +0000, Lee Jones wrote:
[...]
Quoted 5 lines
Well done Jeff. Good job.
Applied, thanks.
Thank you for your kind words as well as your support in fleshing out this series.
Just to confirm, does your offer to take the remainder (once everything is approved) through immutable branches still stand?
Quoted 6 lines
Quoted 1 line
Depends how quickly you can get the other drivers turned around.
With Uwe's approval from Friday, all five drivers are complete. Dmitry and Jonathan's approvals were given in previous review cycles and were carried forward with their permission. If anything else is required, please let me know.
Does Uwe's review mean that Thierry's is not required?
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Re: [PATCH v5 4/7] pwm: Add support for Azoteq IQS620A PWM generator
In reply to Uwe Kleine-KönigHi Thierry,
May I ask for your Ack as well, so that this patch can go through MFD along with the remainder of the series?
Hi Uwe,
Quoted 11 lines · Uwe Kleine-König
Hello Jeff,
Quoted 4 lines · Jeff LaBundy
This patch adds support for the Azoteq IQS620A, capable of generating a 1-kHz PWM output with duty cycle between ~0.4% and 100% (inclusive).
Signed-off-by Jeff LaBundy <[email protected]>I like it,
Reviewed-by Uwe Kleine-König <[email protected]>
Thank you very much for your steadfast support during the development of this patch over the last few months.
Quoted 7 lines
Best regards
UweSignature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Kind regards,
Jeff LaBundy
Re: [PATCH v5 2/7] mfd: Add support for Azoteq IQS620A/621/622/624/625
In reply to Lee JonesHi Lee,
Quoted 25 lines · Lee Jones
Quoted 23 lines · Jeff LaBundy
Hi Lee,
Quoted 20 lines · Lee Jones
Quoted 17 lines · Jeff LaBundy
Hi Lee,
On Mon, Feb 24, 2020 at 11:14:48AM +0000, Lee Jones wrote:
[...]
Quoted 5 lines
Well done Jeff. Good job.
Applied, thanks.
Thank you for your kind words as well as your support in fleshing out this series.
Just to confirm, does your offer to take the remainder (once everything is approved) through immutable branches still stand?
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Depends how quickly you can get the other drivers turned around.
With Uwe's approval from Friday, all five drivers are complete. Dmitry and Jonathan's approvals were given in previous review cycles and were carried forward with their permission. If anything else is required, please let me know.
Does Uwe's review mean that Thierry's is not required?
Sorry about that; I was jumping the gun (thank you Uwe for clarifying). The pwm patch still needs an Ack from Thierry before it can be applied.
I have not received any feedback from Thierry throughout this patch set, and I'd like to unblock the remainder if possible. In case Thierry does not respond by the time you elect to send your next pull request, would you be willing to drop the pwm patch and take the input and iio patches through your tree?
If so, I'll re-send the pwm patch on its own to Thierry during a future cycle so that he can take it through his tree at his convenience.
Quoted 6 lines
Signature · 5 lines
-- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Kind regards,
Jeff LaBundy
Re: [PATCH v5 2/7] mfd: Add support for Azoteq IQS620A/621/622/624/625
Quoted 40 lines · Jeff LaBundy
Hi Lee,
Quoted 25 lines · Lee Jones
Quoted 23 lines · Jeff LaBundy
Hi Lee,
Quoted 20 lines · Lee Jones
Quoted 17 lines · Jeff LaBundy
Hi Lee,
On Mon, Feb 24, 2020 at 11:14:48AM +0000, Lee Jones wrote:
[...]
Quoted 5 lines
Well done Jeff. Good job.
Applied, thanks.
Thank you for your kind words as well as your support in fleshing out this series.
Just to confirm, does your offer to take the remainder (once everything is approved) through immutable branches still stand?
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Depends how quickly you can get the other drivers turned around.
With Uwe's approval from Friday, all five drivers are complete. Dmitry and Jonathan's approvals were given in previous review cycles and were carried forward with their permission. If anything else is required, please let me know.
Does Uwe's review mean that Thierry's is not required?
Sorry about that; I was jumping the gun (thank you Uwe for clarifying). The pwm patch still needs an Ack from Thierry before it can be applied.
Quoted 8 lines
I have not received any feedback from Thierry throughout this patch set, and I'd like to unblock the remainder if possible. In case Thierry does not respond by the time you elect to send your next pull request, would you be willing to drop the pwm patch and take the input and iio patches through your tree?
If so, I'll re-send the pwm patch on its own to Thierry during a future cycle so that he can take it through his tree at his convenience.
Hopefully we hear fro Thierry.
If not, yes I can apply the set without the PWM patch.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
[GIT PULL] Immutable branch between MFD, IIO and Input due for the v5.7 merge window
In reply to Jeff LaBundyEnjoy!
The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9:
Linux 5.6-rc1 (2020-02-09 16:08:48 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-iio-input-v5.7
for you to fetch changes up to 189c3c495ad7382099a641664171d8b047d9e9b5:
iio: position: Add support for Azoteq IQS624/625 angle sensors (2020-03-27 08:25:59 +0000)
----------------------------------------------------------------
Immutable branch between MFD, IIO and Input due for the v5.7 merge window
----------------------------------------------------------------
Jeff LaBundy (6):
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
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 ++++++++++++++++++++ include/linux/mfd/iqs62x.h | 139 +++ 21 files changed, 2953 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 include/linux/mfd/iqs62x.h
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog