ARM: SAMSUNG: Add support s3c2416-adc for S3C2416/S3C2450
authorHeiko Stuebner <heiko@sntech.de>
Wed, 12 Oct 2011 12:34:12 +0000 (21:34 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 14 Oct 2011 06:15:42 +0000 (15:15 +0900)
commit35cc3cea2c2adb825dbe987000165005d28acaec
treec20030c4c3c25828083ced2b9c29c78320e8aeb6
parent6247cea2b9c193a845a01381c36e18f11676fdfb
ARM: SAMSUNG: Add support s3c2416-adc for S3C2416/S3C2450

The ADC of the S3C2416/2450 SoC is 10 or 12 bit wide, has its
source selection in the register base+0x18 and its width
selection in bit 03 of the ADCCON register.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c2416/s3c2416.c
arch/arm/plat-samsung/adc.c