aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2443
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2011-10-12 08:34:12 -0400
committerKukjin Kim <kgene.kim@samsung.com>2011-10-14 02:15:18 -0400
commit6247cea2b9c193a845a01381c36e18f11676fdfb (patch)
tree2c1a398c0971f10fbb3a76741e18b14408df128d /arch/arm/mach-s3c2443
parentf8c414b516e17328bb1ab359b273c76a2e665b68 (diff)
ARM: SAMSUNG: Add support s3c2443-adc for S3C2443
The S3C2443-adc is 10 bit wide and has its mux-select in an extra register at base+0x18 Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c2443')
-rw-r--r--arch/arm/mach-s3c2443/s3c2443.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2443/s3c2443.c b/arch/arm/mach-s3c2443/s3c2443.c
index 5df6458ddd42..a22b771b0f36 100644
--- a/arch/arm/mach-s3c2443/s3c2443.c
+++ b/arch/arm/mach-s3c2443/s3c2443.c
@@ -41,6 +41,7 @@
41#include <plat/cpu.h> 41#include <plat/cpu.h>
42#include <plat/fb-core.h> 42#include <plat/fb-core.h>
43#include <plat/nand-core.h> 43#include <plat/nand-core.h>
44#include <plat/adc-core.h>
44 45
45static struct map_desc s3c2443_iodesc[] __initdata = { 46static struct map_desc s3c2443_iodesc[] __initdata = {
46 IODESC_ENT(WATCHDOG), 47 IODESC_ENT(WATCHDOG),
@@ -70,6 +71,8 @@ int __init s3c2443_init(void)
70 s3c_nand_setname("s3c2412-nand"); 71 s3c_nand_setname("s3c2412-nand");
71 s3c_fb_setname("s3c2443-fb"); 72 s3c_fb_setname("s3c2443-fb");
72 73
74 s3c_adc_setname("s3c2443-adc");
75
73 /* change WDT IRQ number */ 76 /* change WDT IRQ number */
74 s3c_device_wdt.resource[1].start = IRQ_S3C2443_WDT; 77 s3c_device_wdt.resource[1].start = IRQ_S3C2443_WDT;
75 s3c_device_wdt.resource[1].end = IRQ_S3C2443_WDT; 78 s3c_device_wdt.resource[1].end = IRQ_S3C2443_WDT;