[PATCH 2/2] iio: adc: exynos_adc: Add support for S3C24xx ADC
Arnd Bergmann
arnd at arndb.de
Tue Jul 22 05:59:25 PDT 2014
On Tuesday 22 July 2014 11:11:14 Chanwoo Choi wrote:
> This patch add support for s3c2410/s3c2416/s3c2440/s3c2443 ADC. The s3c24xx
> is alomost same as ADCv1. But, There are a little difference as following:
> - ADCMUX register address to select channel
> - ADCDAT mask (10bit or 12bit ADC resolution according to SoC version)
>
> Signed-off-by: Chanwoo Choi <cw00.choi at samsung.com>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
>
While looking at the driver again to see if the touchscreen patch needs
an update for this, I noticed that the s3c24xx variants don't have the
ADC_V1_INTCLR and ADC_V1_CLRINTPNDNUP registers, so I assume your patch
will have to be updated not to acknowledge the interrupts.
It's possible that writing to the missing registers is harmless though and
that you don't need that change.
Arnd
More information about the linux-arm-kernel
mailing list