linux-stable/drivers/iio
Tomas Novotny 3b2c4f1122 iio: light: vcnl4000: update sampling periods for vcnl4200
[ Upstream commit b42aa97ed5 ]

Vishay has published a new version of "Designing the VCNL4200 Into an
Application" application note in October 2019. The new version specifies
that there is +-20% of part to part tolerance. This explains the drift
seen during experiments. The proximity pulse width is also changed from
32us to 30us. According to the support, the tolerance also applies to
ambient light.

So update the sampling periods. As the reading is blocking, current
users may notice slightly longer response time.

Fixes: be38866fbb ("iio: vcnl4000: add support for VCNL4200")
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Tomas Novotny <tomas@novotny.cz>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-03-25 08:06:13 +01:00
..
accel iio: st_sensors: remap SMO8840 to LIS2DH12 2020-03-25 08:06:10 +01:00
adc iio: adc: at91-sama5d2_adc: fix differential channels in triggered mode 2020-03-25 08:06:10 +01:00
afe
amplifiers
buffer
chemical iio:chemical:bme680: Fix SPI read interface 2019-04-27 09:36:34 +02:00
common iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_data 2019-05-31 06:46:25 -07:00
counter
dac iio: dac: ad5380: fix incorrect assignment to val 2020-01-27 14:51:09 +01:00
dummy
frequency
gyro iio: st_gyro: Correct data for LSM9DS0 gyro 2020-02-01 09:37:04 +00:00
health
humidity iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting 2019-12-17 20:34:37 +01:00
imu iio: imu: adis16480: assign bias value only if operation succeeded 2020-01-17 19:47:05 +01:00
light iio: light: vcnl4000: update sampling periods for vcnl4200 2020-03-25 08:06:13 +01:00
magnetometer iio: magnetometer: ak8974: Fix negative raw values in sysfs 2020-03-25 08:06:10 +01:00
multiplexer
orientation
potentiometer
potentiostat
pressure
proximity iio: srf04: fix wrong limitation in distance measuring 2019-11-12 19:20:40 +01:00
resolver
temperature iio: temperature: mlx90632 Relax the compatibility check 2019-06-25 11:35:54 +08:00
trigger iio: trigger: stm32-timer: disable master mode when stopping 2020-03-25 08:06:10 +01:00
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: buffer: align the size of scan bytes to size of the largest element 2020-01-23 08:21:27 +01:00
industrialio-configfs.c
industrialio-core.c iio: core: fix a possible circular locking dependency 2019-04-27 09:36:35 +02:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c
Kconfig
Makefile