These patches include an iio driver for the Sensortek STK3310 ambient light and proximity sensor. The STK3311 model is also supported. Datasheet: http://www.datasheetspdf.com/datasheet/STK3310.html Patches are as following: 1. basic functionality: - raw readings of light and proximity data - configuration of parameters like gain and integration time 2. power management: - suspend and resume functions 3. interrupt support: - interrupt support for proximity events - enabling/disabling interrupts (events) via sysfs - setting proximity thresholds Regards, Tiberiu Tiberiu Breana (3): iio: light: Add support for Sensortek STK3310 iio: light: Add Power Management for STK3310 iio: light: Add threshold interrupt support for STK3310 drivers/iio/light/Kconfig | 11 + drivers/iio/light/Makefile | 1 + drivers/iio/light/stk3310.c | 818 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 830 insertions(+) create mode 100644 drivers/iio/light/stk3310.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