linux/drivers/iio/common/st_sensors
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
..
Kconfig
Makefile
st_sensors_buffer.c iio: common: st_sensors: fix channel data parsing 2016-12-31 14:32:09 +00:00
st_sensors_core.c iio: accel: st_accel: add SPI-3wire support 2017-07-06 19:32:29 +01:00
st_sensors_core.h iio: st_sensors: support active-low interrupts 2016-01-10 12:35:32 +00:00
st_sensors_i2c.c iio: st_sensors: match sensors using ACPI handle 2016-12-03 08:56:26 +00:00
st_sensors_spi.c iio: common: remove unnecessary sizeof(u8) 2014-12-12 12:28:25 +00:00
st_sensors_trigger.c fix:iio:common:st_sensors:st_sensors_trigger:mark symbols static where possible 2016-08-29 20:13:12 +01:00