linux/Documentation/devicetree/bindings/iio/adc
Sanchayan Maity 5e9972cd6f iio: adc: vf610: Determine sampling frequencies by using minimum sample time
The driver currently does not take into account the minimum sample time
as per the Figure 6-8 Chapter 9.1.1 12-bit ADC electrical characteristics.
We set a static amount of cycles instead of considering the sample time
as a given value, which depends on hardware characteristics.

Determine sampling frequencies by first reading the device tree property
node and then calculating the required Long Sample Time Adder (LSTAdder)
value, based on the ADC clock frequency and sample time value obtained
from the device tree. This LSTAdder value is then used for calculating
the sampling frequencies possible.

In case the sample time property is not specified through the device
tree, a safe default value of 1000ns is assumed.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Stefan Agner <stefan@agner.ch>
Acked-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-07-20 18:41:16 +01:00
..
at91_adc.txt
berlin2_adc.txt Documentation: bindings: document the Berlin ADC driver 2015-05-23 10:47:42 +01:00
cc10001_adc.txt DT: iio: adc: Add CC_10001 binding documentation 2015-01-25 22:53:52 +00:00
da9150-gpadc.txt iio: da9150: Add DT binding documentation for GPADC 2015-02-25 21:05:26 +01:00
max1027-adc.txt iio: add support of the max1027 2014-06-28 09:54:14 +01:00
mcp320x.txt iio: adc: mcp320x: Add support for mcp3301 2015-07-20 18:41:16 +01:00
mcp3422.txt iio: mcp3422: Add DT binding documentation 2015-03-09 11:04:26 +00:00
nuvoton-nau7802.txt
qcom,spmi-iadc.txt iio: iadc: Qualcomm SPMI PMIC current ADC driver 2014-10-25 21:03:22 +01:00
qcom,spmi-vadc.txt DT: iio: vadc: document dt binding 2015-01-28 18:42:00 +00:00
rockchip-saradc.txt iio: adc: rockchip_saradc: add support for rk3066-tsadc variant 2014-09-21 13:39:36 +01:00
ti-adc128s052.txt iio:adc128s052: add support for adc122s021 2015-05-23 12:42:43 +01:00
twl4030-madc.txt
vf610-adc.txt iio: adc: vf610: Determine sampling frequencies by using minimum sample time 2015-07-20 18:41:16 +01:00
xilinx-xadc.txt Documentation: devicetree: Fix double words in Doumentation/devicetree 2015-01-28 15:13:11 -07:00