Jonathan writes: Second set of new driver, functionality and cleanups for IIO in the 4.2 cycle. Core functionality * i and q modifiers from quadrature channels. * IIO_CHAN_INFO_OVERSAMPLING_RATIO added. * High pass filter attributes added to mirror the existing low pass filter ones. Core cleanups * Make IIO tools building more cross compiler friendly. * Substantial rework of the function __iio_update_buffers to greatly simplify a hideously evolved function. New drivers and support * ACPI0008 ambient light sensor driver. This one has been around a long time to will be good to finally get it into mainline. * Berlin SOC ADC support. * BMC150 magnetometer. The accelerometer in the same package has been supported for quite some time, so good to have this half as well. * m62332 DAC driver * MEMSIC MMC35420 magnetometer. * ROHM BH1710 and similar ambient light sensors. * Sensortek STK3310 light sensor. * Sensortek STK8312 accelerometer. * Sensortek STK8BA50 accelerometer. * ti-adc128s052 gains support form the adc122s021 2 channel ADC. Driver cleanups and functionality. * Allow various drivers to compile with !GPIOLIB if COMPILE_TEST enabled. * bmc150 - decouple trigger from buffer to allow other triggers to be used. * bmg160 - decouple trigger from buffer to allow other triggers to be used. Fix a trivial unused field. * Constify a load of platform_device_id structures. * inv_mpu6050 - device tree bindings. * hid-sensors - fix a memory leak during probe if certain errors occur. * ltr501 - illuminance channel derived (in an non obvious fashion) from the intensity channels. * ltr501 - fix a boundary check on the proximity threshold. * mlx90614 - drop a pointless return. * mma8452 - Debugfs register access and fix a bug that had no effect (by coincidence) * ti_am335x_adc - add device tree bindings for sample-delay, open-delay and averaging. The ideal settings for these tend to be board design specific.
Showing the changes to include/uapi (1 of 53 files). Show all
Unified · Split
| @@ -70,6 +70,8 @@ enum iio_modifier { · 69 unmodified lines | |||
| 70 | IIO_MOD_WALKING, | 70 | IIO_MOD_WALKING, |
| 71 | IIO_MOD_STILL, | 71 | IIO_MOD_STILL, |
| 72 | IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z, | 72 | IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z, |
| 73 | IIO_MOD_I, | ||
| 74 | IIO_MOD_Q, | ||
| 73 | }; | 75 | }; |
| 74 | 76 | ||
| 75 | enum iio_event_type { | 77 | enum iio_event_type { |