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 staging:iio:cdc:ad7746 move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:39 +00:00
Documentation iio: staging: fix device.txt documentation 2013-08-03 18:40:32 +01:00
frequency staging:iio: Use spi_sync_transfer() 2013-02-09 11:10:43 +00:00
gyro iio: gyro: adis16060_core: Use devm_iio_device_alloc 2013-08-17 15:50:56 +01:00
impedance-analyzer staging:iio:impedance:ad5933 move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:40 +00:00
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 staging:iio: Don't compare boolean values with true/false 2012-10-19 16:19:45 +01:00
iio_dummy_evgen.h
iio_simple_dummy_buffer.c iio: Fix some comments 2012-12-27 11:21:28 +00:00
iio_simple_dummy_events.c
iio_simple_dummy.c staging:iio:dummy: Fix mismatch and export sysfs entry 2013-04-09 18:29:52 +01:00
iio_simple_dummy.h staging:iio:dummy: Fix potential NULL pointer dereference 2012-09-22 10:55:08 +01:00
Kconfig hwmon: Move the IIO client driver for hwmon out of staging 2013-03-23 10:08:15 +00:00
Makefile hwmon: Move the IIO client driver for hwmon out of staging 2013-03-23 10:08:15 +00:00
ring_hw.h
TODO