diff options
| author | Stefan Wahren <[email protected]> | 2014-12-29 10:27:20 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2015-01-05 18:59:56 +0000 |
| commit | a5b940fa4ac0c4d8d9e07bda17a68a042e4d1d94 (patch) | |
| tree | 040029358bb5bba0b454eb53f6802165f699eb21 /tools/perf/scripts/python/bin | |
| parent | 6a191c7025f80c328156a358871f5d947f443aa9 (diff) | |
DT: mxs-lradc: fix ranges of ts properties
This patch fixes off-by-one issues in the devicetree binding of
mxs-lradc.
According to the i.MX23 and i.MX28 reference manuals [1][2] the range of
NUM_SAMPLES is 0..31, but property ave-ctrl is substracted by 1 before used.
Considering all limitations the range of DELAY is 1..2047, but also
property ave-delay is substracted by 1 before used.
The patch has been suggested by Hartmut Knaack and Kristina Martsenko.
[1] - http://cache.freescale.com/files/dsp/doc/ref_manual/IMX23RM.pdf
[2] - http://cache.freescale.com/files/dsp/doc/ref_manual/MCIMX28RM.pdf
Signed-off-by: Stefan Wahren <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions