diff options
author | Heiko Stuebner <heiko@sntech.de> | 2011-10-12 08:34:12 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-10-14 02:15:42 -0400 |
commit | 35cc3cea2c2adb825dbe987000165005d28acaec (patch) | |
tree | c20030c4c3c25828083ced2b9c29c78320e8aeb6 /arch/arm/mach-s3c2416 | |
parent | 6247cea2b9c193a845a01381c36e18f11676fdfb (diff) |
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>
Diffstat (limited to 'arch/arm/mach-s3c2416')
-rw-r--r-- | arch/arm/mach-s3c2416/s3c2416.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2416/s3c2416.c b/arch/arm/mach-s3c2416/s3c2416.c index 3156b7a7137..081ef4cb868 100644 --- a/arch/arm/mach-s3c2416/s3c2416.c +++ b/arch/arm/mach-s3c2416/s3c2416.c | |||
@@ -60,6 +60,7 @@ | |||
60 | #include <plat/iic-core.h> | 60 | #include <plat/iic-core.h> |
61 | #include <plat/fb-core.h> | 61 | #include <plat/fb-core.h> |
62 | #include <plat/nand-core.h> | 62 | #include <plat/nand-core.h> |
63 | #include <plat/adc-core.h> | ||
63 | 64 | ||
64 | static struct map_desc s3c2416_iodesc[] __initdata = { | 65 | static struct map_desc s3c2416_iodesc[] __initdata = { |
65 | IODESC_ENT(WATCHDOG), | 66 | IODESC_ENT(WATCHDOG), |
@@ -97,6 +98,8 @@ int __init s3c2416_init(void) | |||
97 | 98 | ||
98 | s3c_fb_setname("s3c2443-fb"); | 99 | s3c_fb_setname("s3c2443-fb"); |
99 | 100 | ||
101 | s3c_adc_setname("s3c2416-adc"); | ||
102 | |||
100 | register_syscore_ops(&s3c2416_pm_syscore_ops); | 103 | register_syscore_ops(&s3c2416_pm_syscore_ops); |
101 | register_syscore_ops(&s3c24xx_irq_syscore_ops); | 104 | register_syscore_ops(&s3c24xx_irq_syscore_ops); |
102 | 105 | ||