iio: adc: exynos_adc: Add support for exynos7
authorAbhilash Kesavan <a.kesavan@samsung.com>
Sat, 1 Nov 2014 04:00:43 +0000 (09:30 +0530)
committerJonathan Cameron <jic23@kernel.org>
Wed, 5 Nov 2014 15:38:25 +0000 (15:38 +0000)
commitc1b501564c98a94b48f4ed936737403108dc7300
treef099f3c59337f23e1012954e5187b00d86d35a84
parentdb9bf4d6577f23b9a9ee4f70c07a51946ed111a7
iio: adc: exynos_adc: Add support for exynos7

The ADC on exynos7 is quite similar to ADCv2. The differences are as
follows:
- exynos7-adc has 8 input channels (as against 10 in ADCv2).
- exynos7 does not include an ADC PHY control register.
- Some ADC_CON2 register bits being used in ADCv2 are listed as
  reserved in exynos7-adc. This results in a different init_hw
  function for exynos7.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt
drivers/iio/adc/exynos_adc.c