alistair23-linux/drivers/staging/iio
Hector Palacios 1eb70a9745 iio: mxs-lradc: change the realbits to 12
The LRADC virtual channels have an 18 bit field to store the sum of up
to 2^5 accumulated samples. The read_raw function however only operates
over a single sample (12 bit resolution).
In order to use this field for scaling operations, we need it to be the
exact resolution value of the LRADC.
Besides, the driver was using an 18 bit mask (LRADC_CH_VALUE_MASK) to
report touch coordinates to userland. A 12 bit mask should be used instead
or else the touch libraries will expect a coordinates range between 0
and 0x3ffff (18 bits), instead of between 0 and 0xfff (12 bits).

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-08-17 15:50:57 +01:00
..
accel iio staging: fix lis3l02dq, read error handling 2013-07-09 22:11:53 +01:00
adc iio: mxs-lradc: change the realbits to 12 2013-08-17 15:50:57 +01:00
addac staging:iio:adt7316: Don't expose the chip reset to userspace 2013-08-03 18:40:36 +01:00
cdc
Documentation iio: staging: fix device.txt documentation 2013-08-03 18:40:32 +01:00
frequency
gyro iio: gyro: adis16060_core: Use devm_iio_device_alloc 2013-08-17 15:50:56 +01:00
impedance-analyzer
light staging: iio: light: isl29028: Use devm_iio_device_alloc 2013-08-03 18:41:12 +01:00
magnetometer staging:iio:hmc5843: Use i2c_smbus_read_word_swapped() 2013-08-04 11:22:55 +01:00
meter staging:iio:ade7xxx: Don't expose the chip reset to userspace 2013-08-03 18:40:37 +01:00
resolver staging:iio:ad2s1210: Don't expose the chip reset to userspace 2013-08-03 18:40:36 +01:00
trigger iio:triggers:interrupt trigger - move out of staging. 2013-06-04 18:33:19 +01:00
iio_dummy_evgen.c
iio_dummy_evgen.h
iio_simple_dummy.c
iio_simple_dummy.h
iio_simple_dummy_buffer.c
iio_simple_dummy_events.c
Kconfig
Makefile
ring_hw.h
TODO