]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ea63f37ffc4215874927bd775fbd16429d1a2ae
treee70377413b61a0d088e9033fedf714e02168db42
parent1fa2514694bb215f23c2d32e261224746f9a9f47
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