summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/st_accel.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-05-19 15:37:02 +0200
committerJonathan Cameron <jic23@kernel.org>2015-06-07 18:58:28 +0200
commit4861a007bfd71a9fc0a83cc7fad41dda9bf8b5b7 (patch)
treeda2f7a5ecfcac29630e81ec33383b8f43003c1bf /drivers/iio/accel/st_accel.h
parentiio: adc: vf610: implement configurable conversion modes (diff)
downloadlinux-4861a007bfd71a9fc0a83cc7fad41dda9bf8b5b7.tar.xz
linux-4861a007bfd71a9fc0a83cc7fad41dda9bf8b5b7.zip
iio: st_accel: support 8bit channel data
Some sensors like the LIS331DL only support 8bit data by a single register per axis. These utilize the MSB byte. Make it possible to register these apropriately. A oneliner change is needed in the ST sensors core to handle 8bit reads as this is the first supported 8bit sensor. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Denis Ciocca <denis.ciocca@st.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/st_accel.h')
0 files changed, 0 insertions, 0 deletions