linux_dsm_epyc7002/include/linux/iio/common
Lorenzo Bianconi a7b8829d24 iio: accel: st_accel: add SPI-3wire support
Add SPI Serial Interface Mode (SIM) register information
in st_sensor_settings look up table to support devices
(like LSM303AGR accel sensor) that allow just SPI-3wire
communication mode. SIM mode has to be configured before any
other operation since it is not enabled by default and the driver
is not able to read without that configuration

Whilst a fairly substantial patch, the actual logic is simple and it
is better to have the generic fix than a band aid.

Fixes: ddc05fa286 (iio: st-accel: add support for lsm303agr accel)
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-07-06 19:32:29 +01:00
..
ssp_sensors.h iio: common: ssp_sensors: Add sensorhub driver 2015-01-29 18:49:05 +00:00
st_sensors_i2c.h iio: st_sensors: match sensors using ACPI handle 2016-12-03 08:56:26 +00:00
st_sensors_spi.h
st_sensors.h iio: accel: st_accel: add SPI-3wire support 2017-07-06 19:32:29 +01:00