The following changes since commit fbced0e9465152d628ece5fd0d11de4e7a1f5ce5: iio: inv_mpu6050: Add explicit support for MPU9150 (2016-04-25 20:19:38 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-for-4.8a for you to fetch changes up to bc2e1126eccb47517b9d1c685020c38600f99a3d: iio:trigger: Experimental kthread tight loop trigger (thread only) (2016-06-03 13:18:44 +0100) ---------------------------------------------------------------- First round of IIO new device support, features and cleanups for the 4.8 cycle. New device support * ads1015 - add ads1115 support * bma220 accelerometer - new driver - triggered buffer support. * bmc150 - add bmm150 support. * bmp280 - bme280 support with addition of humidity channel. * max5487 potentiometer - new driver * MMA7660FC accelerometer. - New driver * st-pressure - support for the lps22hb * loop trigger. - This one is *nasty* but we have real applications (parrot drones) where it is useful. The trigger basically spins as hard as it can firing off a new trigger each time all triggered devices come back to say they are done. It doesn't hang a machine even when doing it on a dummy driver. A lot nicer than having this implemented within lots of device drivers anyway. Core stuff * Add support to create IIO devices via configfs (similar to we did for triggers a while back) + docs. * New channel types - IIO_ELECTRICAL_CONDUCTIVITY * Couple of MAINTAINERS patches to list the device tree bindings. * Make trigger ops structure non optional (comment fix). It hasn't been for an awful long time, but that's not what the description said. New features * ak8975 - support adapters that are limited to byte data only by allowing the emulated block read i2c function that was recently introduced. * atlas-ph - support atlas-ec (electrical conductivity sensor) * bmi160 - add available frequency and scale attributes to make the driver more user friendly (and avoid having to read the datasheet to know what will work). * dummy - move creation to configfs interface. It's not real hardware so we are not that worried about the ABI breakage ;) * mma8452 - oversampling ration support * nau7802 - expose available gains to make life easier for userspace. * st-sensors - allow use of emulation for SMBus block reads as all the st parts support it. * ti-ads1015 - list datasheet names to allow their use by inkernel consumers. * Various module alias additions to help auto probing. Drop one redundant one as well. Cleanups * ad7266, ad7476, ad7887, ad7923, ad799x - use direct mode claim function rather than open coding it during sensor read (prevents switching on buffers mid read). * ad7793, ad7791 - use direct mode claim to prevent frequency changes when buffers running. * afe440x - These are ABI breaking but the driver requires custom userspace code to do anything useful anyway and that is still being written and under control of TI. Ultimately we may have other libraries to do pulse oximetry with these devices but we aren't aware of any yet. - kernel-doc format fixes - drop ifdef fun around of_match_ptr - it's not worth the mess to save a tiny amount of space. - drop some unnecessary register initializations. - drop the weird locked gain modes as they gain us nothing (can just set all gains separately). - remove handling of offset attributes seeing as no channels actually have them (oops) - Drop the LED3 input channel as it's an alias for ALED2. - *big one* remove channel names - an experiment that turned out to not make sense - see patch for details. - use regmap fields to clean up code. - tie the tia gain stages to appropriate channels in the ABI as that is what they really effect. Same with the LED currents. - cleanout some unused defines and fix a missnamed one. * atlas-ph - reorganise to allow support of other similar parts. * bmc150 - document supported chips in kconfig help. * jsa1212 - drop an unneeded i2c functionality check for functionality the driver doesn't use. * mxs-lradc - simply touch screen registration code. - remove the touch screen unregister as all devm based now. - disable only those channels that are masked in hardware stop (others are already dealt with elsewhere) * st-sensors - unexport st_sensors_get_buffer_element as nothing outside the st-sensors core driver uses it. - fix handling of failure to start up regulators. * tpl0102 - drop an i2c functionality test for features that aren't needed. * ti-am335x - use variable name rather than type in sizeof for clarity. - use SIMPLE_DEV_PM_OPS helper macro to tidy up a bit. Tools * Add install / uninstall to makefile. Someone cares, so presumably some people will find it useful! * generic_buffer - rename to iio_generic_buffer to line up with other tools. - handle cleanup when receiving signals - Add a --device-num option and a --trigger-num option rather than relying on naming which doesn't work if you have two of the same part. ---------------------------------------------------------------- Alison Schofield (8): iio: light: jsa1212: remove unneeded i2c check functionality test iio: adc: ad7266: claim direct mode during sensor read iio: adc: ad7476: use iio helper function to guarantee direct mode iio: adc: ad7887: use iio helper function to guarantee direct mode iio: adc: ad7923: use iio helper function to guarantee direct mode iio: adc: ad799x: use iio helper function to guarantee direct mode iio: adc: ad7793: claim direct mode when writing frequency iio: adc: ad7791: claim direct mode when writing frequency Andrew F. Davis (15): iio: health/afe440x: Fix kernel-doc format iio: health/afe440x: Remove of_match_ptr and ifdefs iio: health/afe440x: Remove unneeded initializers iio: health/afe440x: Always use separate gain values iio: health/afe440x: Fix scan_index assignment iio: health/afe440x: Remove unneeded offset handling iio: health/afe4404: Remove LED3 input channel iio: health/afe440x: Remove channel names iio: health/afe440x: Use regmap fields iio: health/afe440x: Make gain settings a modifier for the stages iio: health/afe440x: Match LED currents to stages iio: health/afe440x: Remove unused definitions iio: health/afe4404: ENSEPGAIN is part of CONTROL2 register iio: adc: ti_am335x_adc: use variable names for sizeof() operator iio: adc: ti_am335x_adc: use SIMPLE_DEV_PM_OPS helper macro Constantin Musca (1): iio: accel: Add support for Freescale MMA7660FC Crestez Dan Leonard (4): iio: ak8975: Support adapters limited to BYTE_DATA iio: iio_generic_buffer: Cleanup when receiving signals iio: iio_generic_buffer: Add --device-num option iio: iio_generic_buffer: Add --trigger-num option Cristina Moraru (1): iio: max5487: Add support for Maxim digital potentiometers Daniel Baluta (7): imu: bmi160: Add avail frequency and scale attributes iio: Add support for creating IIO devices via configfs iio: dummy: Convert IIO dummy to configfs Documentation: iio: Add IIO software devices docs iio: magn: Add support for BMM150 magnetometer tools: iio: Rename generic_buffer to iio_generic_buffer iio: magnetometer: bmc150: Document Bosch supported chips Geert Uytterhoeven (2): MAINTAINERS: Add file patterns for iio device tree bindings MAINTAINERS: Add file patterns for staging iio device tree bindings Gregor Boirie (4): iio:st_pressure:initial lps22hb sensor support iio:st_sensors: unexport st_sensors_get_buffer_element iio:st_sensors: emulate SMBus block read if needed iio:st_sensors: fix power regulator usage Javier Martinez Canillas (1): iio: Export I2C module alias information Jonathan Cameron (2): iio: triggers: Make trigger ops structure explicitly non optional. iio:trigger: Experimental kthread tight loop trigger (thread only) Martin Kepplinger (1): iio: mma8452: add support for oversampling ratio Matt Ranostay (8): iio: potentiometer: tpl0102: remove unneeded i2c check functionality test iio: adc: ti-ads1015: add support for ADS1115 part iio: pressure: bmp280: add humidity support iio: adc: ti-ads1015: add datasheet names iio: chemical: atlas-ph-sensor: reorg driver to allow multiple chips iio: electricalconductivity: add IIO_ELECTRICALCONDUCTIVITY type iio: chemical: atlas-ph-sensor: add EC feature iio: proximity: as3935: remove redundant MODULE_ALIAS Peter Robinson (1): tools: iio: Add ability to install/uninstall Quentin Schulz (1): iio: adc: nau7802: Expose possible gains in sysfs Stefan Wahren (3): iio: mxs-lradc: simplify TS registration iio: mxs-lradc: remove mxs_lradc_ts_unregister iio: mxs-lradc: disable only masked channels in mxs_lradc_hw_stop Tiberiu Breana (2): iio: accel: Add support for Bosch BMA220 iio: accel: Add triggered buffer support for BMA220 Documentation/ABI/testing/configfs-iio | 13 + Documentation/ABI/testing/sysfs-bus-iio | 7 + .../ABI/testing/sysfs-bus-iio-health-afe440x | 63 ++-- .../bindings/iio/chemical/atlas,ec-sm.txt | 22 ++ .../devicetree/bindings/iio/st-sensors.txt | 1 + MAINTAINERS | 2 + drivers/iio/Kconfig | 8 + drivers/iio/Makefile | 1 + drivers/iio/accel/Kconfig | 20 ++ drivers/iio/accel/Makefile | 3 + drivers/iio/accel/bma220_spi.c | 338 +++++++++++++++++++++ drivers/iio/accel/mma7660.c | 277 +++++++++++++++++ drivers/iio/accel/mma8452.c | 185 +++++++++-- drivers/iio/accel/st_accel_core.c | 12 +- drivers/iio/adc/ad7266.c | 7 +- drivers/iio/adc/ad7476.c | 11 +- drivers/iio/adc/ad7791.c | 36 +-- drivers/iio/adc/ad7793.c | 32 +- drivers/iio/adc/ad7887.c | 11 +- drivers/iio/adc/ad7923.c | 11 +- drivers/iio/adc/ad799x.c | 24 +- drivers/iio/adc/mxs-lradc.c | 34 +-- drivers/iio/adc/nau7802.c | 19 ++ drivers/iio/adc/ti-ads1015.c | 128 +++++++- drivers/iio/adc/ti_am335x_adc.c | 22 +- drivers/iio/chemical/Kconfig | 8 +- drivers/iio/chemical/atlas-ph-sensor.c | 267 ++++++++++++---- drivers/iio/common/st_sensors/st_sensors_buffer.c | 3 +- drivers/iio/common/st_sensors/st_sensors_core.c | 29 +- drivers/iio/common/st_sensors/st_sensors_i2c.c | 4 +- drivers/iio/dummy/Kconfig | 1 + drivers/iio/dummy/iio_simple_dummy.c | 102 +++---- drivers/iio/gyro/st_gyro_core.c | 12 +- drivers/iio/health/afe4403.c | 299 +++++++----------- drivers/iio/health/afe4404.c | 308 ++++++++----------- drivers/iio/health/afe440x.h | 48 +-- drivers/iio/humidity/am2315.c | 1 + drivers/iio/humidity/htu21.c | 1 + drivers/iio/imu/bmi160/bmi160_core.c | 27 ++ drivers/iio/industrialio-core.c | 1 + drivers/iio/industrialio-sw-device.c | 182 +++++++++++ drivers/iio/industrialio-trigger.c | 13 +- drivers/iio/light/jsa1212.c | 3 - drivers/iio/magnetometer/Kconfig | 2 + drivers/iio/magnetometer/ak8975.c | 20 +- drivers/iio/magnetometer/bmc150_magn_i2c.c | 3 + drivers/iio/magnetometer/bmc150_magn_spi.c | 3 + drivers/iio/magnetometer/st_magn_core.c | 12 +- drivers/iio/potentiometer/Kconfig | 11 + drivers/iio/potentiometer/Makefile | 1 + drivers/iio/potentiometer/max5487.c | 161 ++++++++++ drivers/iio/potentiometer/tpl0102.c | 4 - drivers/iio/pressure/Kconfig | 5 +- drivers/iio/pressure/bmp280.c | 200 +++++++++++- drivers/iio/pressure/hp206c.c | 1 + drivers/iio/pressure/ms5637.c | 1 + drivers/iio/pressure/st_pressure.h | 1 + drivers/iio/pressure/st_pressure_core.c | 105 ++++++- drivers/iio/pressure/st_pressure_i2c.c | 4 + drivers/iio/pressure/st_pressure_spi.c | 1 + drivers/iio/proximity/as3935.c | 1 - drivers/iio/temperature/tsys02d.c | 1 + drivers/iio/trigger/Kconfig | 12 + drivers/iio/trigger/Makefile | 1 + drivers/iio/trigger/iio-trig-loop.c | 143 +++++++++ include/linux/iio/common/st_sensors.h | 4 +- include/linux/iio/sw_device.h | 70 +++++ include/uapi/linux/iio/types.h | 1 + tools/iio/Makefile | 21 +- .../iio/{generic_buffer.c => iio_generic_buffer.c} | 261 +++++++++++----- 70 files changed, 2780 insertions(+), 866 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/chemical/atlas,ec-sm.txt create mode 100644 drivers/iio/accel/bma220_spi.c create mode 100644 drivers/iio/accel/mma7660.c create mode 100644 drivers/iio/industrialio-sw-device.c create mode 100644 drivers/iio/potentiometer/max5487.c create mode 100644 drivers/iio/trigger/iio-trig-loop.c create mode 100644 include/linux/iio/sw_device.h rename tools/iio/{generic_buffer.c => iio_generic_buffer.c} (76%) -- 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