iio: adc: exynos-adc: Use proper number of channels for Exynos4x12
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 12 Feb 2019 17:45:49 +0000 (18:45 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 12 Feb 2019 20:56:00 +0000 (20:56 +0000)
commit103cda6a3b8d2c10d5f8cd7abad118e9db8f4776
tree76da1598dd96eed812103df2f79735c80457e0fd
parent66d388ff4a73d2f930fa3c9d5ade259522769ea5
iio: adc: exynos-adc: Use proper number of channels for Exynos4x12

Exynos4212 and Exynos4412 have only four ADC channels so using
"samsung,exynos-adc-v1" compatible (for eight channels ADCv1) on them is
wrong.  Add a new compatible for Exynos4x12.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.txt
drivers/iio/adc/exynos_adc.c