linux/drivers/iio/accel
Jonathan Cameron 4e68cfbf34 iio: accel: st_accel: Add lis3l02dq support
Time to finally kill off the venerable (it was one of my first drivers)
lis3l02dq driver in favour of adding support in the st sensors framework.

This does loose us the event support that driver always had, but I think
that will reappear at some point and in the meantime the maintenance
advantages of dropping the 'special' driver for this one part outweigh
the issues.

It's worth noting this part is ancient and I may well be the only person
who still has any on hardware running recent kernels.

It has a few 'quirks'.
 - No WAI register so that just became optional.
 - A BDU option that really does block updates.  Completely.
   Whatever you do, you don't get any more data with it set.
   It is documented the same as more modern parts but I presume they
   are actually clearing for updates after a read of both bytes!
 - Fixed scale.
 - It's too quick.  Even at slowest rate (280Hz) I can't read out fast
   enough on my board (stargate 2) to beat new data coming in. Linus'
   repeat read patch doesn't help in this case. It just means I get 10
   readings before dying... So in reality this will get used with
   software triggers only unless someone has this long out of production
   device on a quick board.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Denis CIOCCA <denis.ciocca@st.com>
Cc: Crestez Dan Leonard <leonard.crestez@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-07-04 18:07:44 +01:00
..
bma180.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
bma220_spi.c
bmc150-accel-core.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
bmc150-accel-i2c.c
bmc150-accel-spi.c
bmc150-accel.h
hid-sensor-accel-3d.c
Kconfig iio: mma8452: update Freescale company information 2016-06-11 17:25:18 +01:00
kxcjk-1013.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
kxsd9.c
Makefile
mma7455_core.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
mma7455_i2c.c
mma7455_spi.c
mma7455.h
mma7660.c
mma8452.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01: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
ssp_accel_sensor.c
st_accel_buffer.c
st_accel_core.c iio: accel: st_accel: Add lis3l02dq support 2016-07-04 18:07:44 +01:00
st_accel_i2c.c iio: accel: st_accel: Add lis3l02dq support 2016-07-04 18:07:44 +01:00
st_accel_spi.c iio: accel: st_accel: Add lis3l02dq support 2016-07-04 18:07:44 +01:00
st_accel.h iio: accel: st_accel: Add lis3l02dq support 2016-07-04 18:07:44 +01:00
stk8ba50.c
stk8312.c