lkml.org 
[lkml]   [2015]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] iio: ti_am335x_adc: Add optional DT properties for tscadc
Date

Hi,

This patch adds optional DT properties for tscadc to set open delay,
sample delay and number of averages per sample for each adc channel.
Open delay, sample delay and averaging are some of the parameters that
affect the sampling rate and accuracy of the tscadc. Decreasing delays
and averaging helps to achieve higher sampling rates, while increasing
this parameters provides greater accuracy. Hence, this patch provides DT
properties to set the initial values for delays and number of averages
per sample. User space control via sysfs can be added later.


Vignesh R (2):
iio: adc: ti_am335x_adc: refactor DT parsing into a function
iio: adc: ti_am335x_adc: make sample delay, open delay, averaging DT
parameters

.../bindings/input/touchscreen/ti-tsc-adc.txt | 24 +++++++
drivers/iio/adc/ti_am335x_adc.c | 83 +++++++++++++++++-----
2 files changed, 91 insertions(+), 16 deletions(-)

--
1.9.1



\
 
 \ /
  Last update: 2015-03-31 13:41    [W:0.097 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site