linux-stable/drivers/iio/light
Greg Kroah-Hartman 5e47adb906 Second set of IIO new device support, features and cleanup for the 4.14 cycle.
New device support:
 * ak8974
   - support the AMI306.
 * st_magnetometer
   - add support for the LIS2MDL with bindings.
 * rockchip-saradc
   - add binding for rv1108 SoC (no driver change).
 * srf08
   - add srf02 (i2c only) and srf10 support.
 * stm32-timer
   - support for the STM32H7 to existing driver.
 
 Features:
 * tools
   - move over to the tools buildsystem rather than hand rolling.
   - add an install section to the build.
 * ak8974
   - use serial number to add device randomness.
   - add AMI306 calibration data output.
 * ccs811
   - triggered buffer support.
 * srf08
   - add a device tree table as the old style i2c probing is going away,
   - add triggered buffer support
 * st32-adc
   - add optional st,min-sample-time-nsecs binding to allow control of
     sampling against analog circuitry.
 * stm32-timer
   - add output compare triggers.
 * ti-ads1015
   - add threshold event support.
 * ti-ads7950
   - Allow use on ACPI platforms including providing a default reference
     voltage as there is no way to obtain this on ACPI currently.
 
 Cleanup and fixes:
 * ad7606
   - fix an error return code in probe.
 * ads1015
   - fix incorrect data rate setting update when capture in progress,
   - fix wrong scale information for the ADS1115,
   - make conversions work when CONFIG_PM is not set,
   - make sure we don't get a stale result after a runtime resume by
     ensuring we wait long enough,
   - avoid returning a false error form the buffer setup callbacks,
   - add enough wait time to get the correct conversion,
   - remove an unnecessary config register update,
   - add a helper to set conversion mode reducing repeated boilerplate,
   - use devm_iio_triggered_buffer_setup to simplify error and remove
     paths,
   - use iio_device_claim_direct_mode instead of opencoding the same.
 * ak8974
   - mark the INT_CLEAR register as precious to prevent debugfs access.
 * apds9300
   - constify the i2c_device_id.
 * at91-sama5 adc
   - add missing Kconfig dependency.
 * bma180 accel
   - constify the i2c_device_id.
 * rockchip_saradc
   - explicitly request exclusive reset control as part of the reset rework
     on going throughout the kernel.
 * st_accel
   - fix drdy configuration for a load of accelerometers that only have
     the int1 line.  Fix is unimportant as presumably no deviec tree actually
     used the non existent hardware line.
 * st_pressure
   - fix drdy configuration for LPS22HB and LPS25H by dropping int2 support
     as they don't have this. Fix is unimportant as presumably no device tree
     actually used the non existent hardware line.
 * stm32-dac
   - explicitly request exclusive reset control (part of reset being reworked).
 * tsl2583
   - constify the i2c_device_id.
 * xadc
   - coding style fixes.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEbilms4eEBlKRJoGxVIU0mcT0FogFAlmZpCcRHGppYzIzQGtl
 cm5lbC5vcmcACgkQVIU0mcT0FohlmQ/6A9FAI0wPGeEQCXDiLtIAWI1/DByYsHDk
 P3U6sFS17y56KAQcLS34HVR5lLreHya3hsUmPl4gCsjXZsGWAinyXy74BNtBbPmx
 LtzVsyLdjBP3Nxl/OGgNWG+kiq7Op+uw0/OZohtEqzurG0142S6CVvxteFlmhQNH
 pLlmPGnwk6Z4GsasHma/f2FkDD8oRVgvQSP7dJ9HIwq49qQ76cT/+20X1xODHLGw
 qpXfQiLUFW8E1JBTDDcXZD3M23TWG4DZcVlNnWf8fja/bk4WaLBKqVrI9gGZpZsQ
 xXfrSDRwc216w6tzVWjsNV/M0ZuSdm/VCBeyQa17XQVNelkO4dVrCqFMLCh5i/t5
 p4qhhV9mrbweIgDj++6c+4qMzWSAznWybAKMMlcucmwxHKefcrlgUniE03OzyPpG
 gpMS94enlVW8WpE/iYkxb/d6EqTM9CH2CJH6W4Ve/Xr4aQHkF5/P23k+nsW113of
 T1q1SCKegV9p7hIzqDqDmOQC7iNTcBcu+/7RYtkDn9jmmhiQAxwoPJZunkR1cxD8
 hA04x5W9HuPFdbNRlH1MozClbyRUtk0L/XLTKwA9T0VyRUKV1P6Szcp9wYRw+6G8
 QiA5NNrNPf17L6slLZ06N1auu6vO7BhTmYNKnd6VBO+vi7kF/FM2UdZGHof4WT/4
 zPE/BO8IwTk=
 =b6g8
 -----END PGP SIGNATURE-----

Merge tag 'iio-for-4.14b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next

Jonathan writes:

Second set of IIO new device support, features and cleanup for the 4.14 cycle.

New device support:
* ak8974
  - support the AMI306.
* st_magnetometer
  - add support for the LIS2MDL with bindings.
* rockchip-saradc
  - add binding for rv1108 SoC (no driver change).
* srf08
  - add srf02 (i2c only) and srf10 support.
* stm32-timer
  - support for the STM32H7 to existing driver.

Features:
* tools
  - move over to the tools buildsystem rather than hand rolling.
  - add an install section to the build.
* ak8974
  - use serial number to add device randomness.
  - add AMI306 calibration data output.
* ccs811
  - triggered buffer support.
* srf08
  - add a device tree table as the old style i2c probing is going away,
  - add triggered buffer support
* st32-adc
  - add optional st,min-sample-time-nsecs binding to allow control of
    sampling against analog circuitry.
* stm32-timer
  - add output compare triggers.
* ti-ads1015
  - add threshold event support.
* ti-ads7950
  - Allow use on ACPI platforms including providing a default reference
    voltage as there is no way to obtain this on ACPI currently.

Cleanup and fixes:
* ad7606
  - fix an error return code in probe.
* ads1015
  - fix incorrect data rate setting update when capture in progress,
  - fix wrong scale information for the ADS1115,
  - make conversions work when CONFIG_PM is not set,
  - make sure we don't get a stale result after a runtime resume by
    ensuring we wait long enough,
  - avoid returning a false error form the buffer setup callbacks,
  - add enough wait time to get the correct conversion,
  - remove an unnecessary config register update,
  - add a helper to set conversion mode reducing repeated boilerplate,
  - use devm_iio_triggered_buffer_setup to simplify error and remove
    paths,
  - use iio_device_claim_direct_mode instead of opencoding the same.
* ak8974
  - mark the INT_CLEAR register as precious to prevent debugfs access.
* apds9300
  - constify the i2c_device_id.
* at91-sama5 adc
  - add missing Kconfig dependency.
* bma180 accel
  - constify the i2c_device_id.
* rockchip_saradc
  - explicitly request exclusive reset control as part of the reset rework
    on going throughout the kernel.
* st_accel
  - fix drdy configuration for a load of accelerometers that only have
    the int1 line.  Fix is unimportant as presumably no deviec tree actually
    used the non existent hardware line.
* st_pressure
  - fix drdy configuration for LPS22HB and LPS25H by dropping int2 support
    as they don't have this. Fix is unimportant as presumably no device tree
    actually used the non existent hardware line.
* stm32-dac
  - explicitly request exclusive reset control (part of reset being reworked).
* tsl2583
  - constify the i2c_device_id.
* xadc
  - coding style fixes.
2017-08-20 10:42:42 -07:00
..
Kconfig staging: iio: isl29028: move out of staging 2017-04-26 06:28:25 +01:00
Makefile staging: iio: isl29028: move out of staging 2017-04-26 06:28:25 +01:00
acpi-als.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
adjd_s311.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
al3320a.c
apds9300.c iio: light: apds9300: constify i2c_device_id 2017-08-20 10:16:48 +01:00
apds9960.c iio: light: apds9960: add system-wide suspend 2017-04-14 16:43:32 +01:00
bh1750.c iio: light: bh1750: constify attribute_group structures 2017-04-01 11:27:22 +01:00
bh1780.c iio: light: bh1780: assign a static name 2016-05-29 19:51:29 +01:00
cm3232.c iio: light: fix improper return value 2016-12-04 10:56:26 +00:00
cm3323.c
cm3605.c iio: light: cm3605: mark PM functions as __maybe_unused 2017-01-21 12:34:54 +00:00
cm32181.c
cm36651.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
cros_ec_light_prox.c iio: cros_ec_light_prox: add ChromeOS EC Light and Proximity Sensors 2017-02-04 12:29:52 +00:00
gp2ap020a00f.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
hid-sensor-als.c iio: light: hid-sensor-als: Add duplicate IIO_LIGHT channel 2016-12-30 17:06:34 +00:00
hid-sensor-prox.c hid: hid-sensor-prox: Add more data field for hysteresis parsing 2017-02-25 16:43:18 +00:00
isl29018.c iio: light: isl29018: Only declare ACPI table when ACPI is enabled 2017-05-20 17:07:09 +01:00
isl29028.c iio: isl29028: add isl29030 support 2017-04-30 17:26:04 +01:00
isl29125.c drivers:iio:light:isl29125: added macros for sensing range 2016-07-03 10:19:54 +01:00
jsa1212.c iio: light: jsa1212: remove unneeded i2c check functionality test 2016-05-21 20:18:05 +01:00
lm3533-als.c iio: light: lm3533-als: constify attribute_group structures 2017-04-02 09:08:55 +01:00
ltr501.c iio: light: ltr501 Fix interchanged als/ps register field 2017-05-21 14:47:39 +01:00
max44000.c iio: max44000: correct value in illuminance_integration_time_available 2016-12-30 20:20:23 +00:00
opt3001.c iio: light: opt3001: Export OF device ID table as module aliases 2017-01-22 13:21:29 +00:00
pa12203001.c iio: light: pa12203001: Poweroff chip if register fails 2015-11-08 15:34:40 +00:00
rpr0521.c iio: light: rpr0521 triggered buffer 2017-07-04 20:46:28 +01:00
si1145.c iio: light: Add driver for Silabs si1132, si1141/2/3 and si1145/6/7 ambient light, uv index and proximity sensors 2016-09-18 19:56:39 +01:00
stk3310.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
tcs3414.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
tcs3472.c iio: light: tcs3472: add link to datasheet 2017-07-01 10:23:06 +01:00
tsl2563.c iio: light: tsl2563: use correct event code 2017-06-24 20:42:49 +01:00
tsl2583.c iio: light: tsl2583: constify i2c_device_id 2017-08-20 10:17:23 +01:00
tsl4531.c iio: tsl4531: fix error handling in tsl4531_check_id() 2015-08-31 16:29:52 +01:00
us5182d.c iio: light: us5182d: Add OF device ID table 2017-03-19 10:52:03 +00:00
vcnl4000.c iio: light: vcnl4000: Add missing locking 2016-07-10 14:44:06 +01:00
veml6070.c iio: Add Vishay VEML6070 UV A light sensor driver 2016-04-19 19:58:16 +01:00
vl6180.c iio:light: Add support for STMicro VL6180 sensor 2017-03-25 16:20:46 +00:00