iio: adc: ti_am335x_adc: make sample delay, open delay, averaging DT parameters
authorVignesh R <vigneshr@ti.com>
Tue, 31 Mar 2015 11:12:37 +0000 (16:42 +0530)
committerJonathan Cameron <jic23@kernel.org>
Wed, 13 May 2015 17:37:22 +0000 (18:37 +0100)
commit5dc11e810676ec4a5acb4423ccd33314bf74f4e5
treef92aec2fa9e91a402200afdf8d5d90f2bcf5663e
parentfeca56ff400b7b166c86af9ff5c131d1d33cf615
iio: adc: ti_am335x_adc: make sample delay, open delay, averaging DT parameters

Add optional DT properties to set open delay, sample delay and number
of averages per sample for each adc step. Open delay, sample delay
and averaging are some of the parameters that affect the sampling rate
and accuracy of the sample. Making these parameters configurable via
DT will help in balancing speed vs accuracy.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt
drivers/iio/adc/ti_am335x_adc.c