linux/drivers/iio/accel
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
..
adxl345_core.c iio: accel: adxl345: Split driver into core and I2C 2017-03-04 16:45:08 +00:00
adxl345_i2c.c iio: accel: adxl345: Split driver into core and I2C 2017-03-04 16:45:08 +00:00
adxl345_spi.c iio: accel: adxl345: Add SPI support 2017-03-04 16:49:28 +00:00
adxl345.h iio: accel: adxl345: Split driver into core and I2C 2017-03-04 16:45:08 +00:00
bma180.c iio: accel: bma180: Add OF device ID table 2017-03-19 10:55:17 +00:00
bma220_spi.c iio: accel: bma220_spi: set up buffer timestamps for non-zero values 2016-08-15 15:39:18 +01:00
bmc150-accel-core.c iio:buffer: Introduced a function to assign the buffer specific attrs. 2017-01-10 19:54:50 +00:00
bmc150-accel-i2c.c
bmc150-accel-spi.c
bmc150-accel.h
da280.c iio: accel: Add driver for the MiraMEMS DA280 3-axis 14-bit digital accelerometer 2016-10-11 19:40:15 +01:00
da311.c iio: accel: Add driver for the MiraMEMS DA311 3-axis 12-bit digital accelerometer 2016-10-11 19:39:14 +01:00
dmard06.c iio: accel: Add support for Domintech DMARD06 accelerometer 2016-08-21 10:52:02 +01:00
dmard09.c iio: accel: add support for the Domintech DMARD09 3-axis accelerometer 2016-08-21 10:52:08 +01:00
dmard10.c iio: accel: Add driver for dmard10 3-axis Accelerometer 2016-10-11 19:38:32 +01:00
hid-sensor-accel-3d.c iio: accel: hid-sensor-accel-3d: Fix duplicate scan index error 2017-04-02 11:26:14 +01:00
Kconfig iio: accel: adxl345: Add SPI support 2017-03-04 16:49:28 +00:00
kxcjk-1013.c iio: accel: kxcjk-1013: add the "KIOX000A" ACPI id 2016-07-24 19:58:40 +01:00
kxsd9-i2c.c iio: accel: kxsd9: Deploy system and runtime PM 2016-09-18 11:35:59 +01:00
kxsd9-spi.c iio: accel: kxsd9: Deploy system and runtime PM 2016-09-18 11:35:59 +01:00
kxsd9.c iio: accel: kxsd9: Support reading a mounting matrix 2016-09-18 11:36:32 +01:00
kxsd9.h iio: accel: kxsd9: Deploy system and runtime PM 2016-09-18 11:35:59 +01:00
Makefile iio: accel: adxl345: Add SPI support 2017-03-04 16:49:28 +00:00
mc3230.c iio: accel: Add driver for the mCube MC3230 3-axis accelerometer 2016-09-18 13:25:38 +01:00
mma7455_core.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
mma7455_i2c.c iio: accel: mma7455_i2c: Add OF device ID table 2017-03-19 10:57:43 +00:00
mma7455_spi.c
mma7455.h
mma7660.c iio: accel: mma7660: Add OF device ID table 2017-03-19 10:58:28 +00:00
mma8452.c iio: accel: mma8452: define unsigned return values where appropriate 2016-12-03 08:56:28 +00:00
mma9551_core.c
mma9551_core.h
mma9551.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
mma9553.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
mxc4005.c
mxc6255.c iio: accel: mxc6255: Fix chip-id check 2016-09-12 20:19:16 +01:00
sca3000.c staging:iio:accel:sca3000 Move out of staging. 2016-10-23 19:34:07 +01:00
ssp_accel_sensor.c iio: common: ssp_sensors: accel: use devm_iio_device_register() 2017-01-28 12:15:22 +00:00
st_accel_buffer.c iio: st_sensors: switch to a threaded interrupt 2016-05-29 20:21:41 +01:00
st_accel_core.c iio: accel: st_accel: add SPI-3wire support 2017-07-06 19:32:29 +01:00
st_accel_i2c.c iio: accel: st_accel: handle deprecated bindings 2017-01-10 19:54:16 +00:00
st_accel_spi.c iio: accel: st_accel: handle deprecated bindings 2017-01-10 19:54:16 +00:00
st_accel.h iio: st_accel: Support sensor i2c probe using acpi 2016-12-03 08:56:26 +00:00
stk8ba50.c
stk8312.c