This patchset adds support for the APDS9960 ALS + proximity + gesture sensor. Included support for the various adjustable settings and controls: * Falling and rising ALS + proximity thresholds events * Gain controls * ALS time integration Changes from v1: * Reworded sysfs-bus-iio-apds9960 to be more clear about gesture features * Changed gain setting from IIO_CHAN_INFO_CALIBSCALE to IIO_CHAN_INFO_SCALE * Removed superfluous information in iio_chan_spec channels * Fixed likely buffer overrun issue * Make mutex and gain + it setting logic more clear * Fixed typos in comments Matt Ranostay (2): iio: light: DT binding docs for APDS9960 driver iio: light: add APDS9960 ALS + promixity driver .../ABI/testing/sysfs-bus-iio-light-apds9960 | 128 +++ .../devicetree/bindings/iio/light/apds9960.txt | 19 + drivers/iio/light/Kconfig | 12 + drivers/iio/light/Makefile | 1 + drivers/iio/light/apds9960.c | 1214 ++++++++++++++++++++ 5 files changed, 1374 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-light-apds9960 create mode 100644 Documentation/devicetree/bindings/iio/light/apds9960.txt create mode 100644 drivers/iio/light/apds9960.c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html