iio: at91_adc: add low and high res support
authorLudovic Desroches <ludovic.desroches@atmel.com>
Fri, 29 Mar 2013 14:54:00 +0000 (14:54 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 2 Apr 2013 18:17:26 +0000 (19:17 +0100)
commit47be16b6683b86653545bf98f6f57019bb99969c
tree20ec6a5e68e53a79b363b38dac0030afabf4abae
parent2fc72cd8354e3e9c4893fc082614266ddb599902
iio: at91_adc: add low and high res support

at91 adc offers the choice between two resolutions: low and high.
The low and high resolution values depends on adc IP version, as many IP
properties have been exposed through device tree, these settings have also
been added to the dt bindings.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/arm/atmel-adc.txt
drivers/iio/adc/at91_adc.c