iio: adc: exynos_adc: Add support for s3c24xx ADC
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 28 Jul 2014 12:44:00 +0000 (13:44 +0100)
committerJonathan Cameron <jic23@kernel.org>
Thu, 7 Aug 2014 16:48:44 +0000 (17:48 +0100)
commit145b0a5d18565615724045dbc2ada32324faa395
treee70377413b61a0d088e9033fedf714e02168db42
parent249535d894216f5dcd922accfb435d32d417d56f
iio: adc: exynos_adc: Add support for s3c24xx ADC

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
- ADCDAT mask (10 bit or 12 bit ADC resolution according to SoC version)
- s3c24xx/s3c64xx has not included ADC_PHY enable register

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt
drivers/iio/adc/Kconfig
drivers/iio/adc/exynos_adc.c