mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
5e9972cd6f
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> |
||
---|---|---|
.. | ||
ad799x.c | ||
ad7266.c | ||
ad7291.c | ||
ad7298.c | ||
ad7476.c | ||
ad7791.c | ||
ad7793.c | ||
ad7887.c | ||
ad7923.c | ||
ad_sigma_delta.c | ||
at91_adc.c | ||
axp288_adc.c | ||
berlin2-adc.c | ||
cc10001_adc.c | ||
da9150-gpadc.c | ||
exynos_adc.c | ||
Kconfig | ||
lp8788_adc.c | ||
Makefile | ||
max1027.c | ||
max1363.c | ||
mcp320x.c | ||
mcp3422.c | ||
men_z188_adc.c | ||
nau7802.c | ||
qcom-spmi-iadc.c | ||
qcom-spmi-vadc.c | ||
rockchip_saradc.c | ||
ti_am335x_adc.c | ||
ti-adc081c.c | ||
ti-adc128s052.c | ||
twl4030-madc.c | ||
twl6030-gpadc.c | ||
vf610_adc.c | ||
viperboard_adc.c | ||
xilinx-xadc-core.c | ||
xilinx-xadc-events.c | ||
xilinx-xadc.h |