blob: 7fe28aaa08ca35a6d596861690eb5a1c9e84dc08 [file] [log] [blame]
Ben Dooksa21765a2007-02-11 18:31:01 +01001# arch/arm/plat-s3c24xx/Kconfig
2#
3# Copyright 2007 Simtec Electronics
4#
5# Licensed under GPLv2
6
7config PLAT_S3C24XX
8 bool
9 depends on ARCH_S3C2410
Ben Dooksb8870602007-02-11 20:33:13 +010010 default y if ARCH_S3C2410
Ben Dooks7d477a02007-02-12 18:59:35 +010011 select NO_IOPORT
Russell Kingbb2b1802008-07-26 15:36:03 +010012 select ARCH_REQUIRE_GPIOLIB
Ben Dooksa21765a2007-02-11 18:31:01 +010013 help
Ben Dooksd58153d2007-07-22 16:07:09 +010014 Base platform code for any Samsung S3C24XX device
Ben Dooksa21765a2007-02-11 18:31:01 +010015
Ben Dooksb8870602007-02-11 20:33:13 +010016if PLAT_S3C24XX
17
Ben Dooksa21765a2007-02-11 18:31:01 +010018config CPU_S3C244X
19 bool
20 depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
21 help
22 Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
23
Ben Dooks6fc601e2008-07-01 13:17:24 +010024config S3C24XX_PWM
25 bool "PWM device support"
26 select HAVE_PWM
27 help
28 Support for exporting the PWM timer blocks via the pwm device
29 system.
30
Ben Dookse2178d42008-11-10 10:59:32 +000031
32# gpio configurations
33
34config S3C24XX_GPIO_EXTRA
35 int
36 default 128 if S3C24XX_GPIO_EXTRA128
37 default 64 if S3C24XX_GPIO_EXTRA64
38 default 0
39
40config S3C24XX_GPIO_EXTRA64
41 bool
42 help
43 Add an extra 64 gpio numbers to the available GPIO pool. This is
44 available for boards that need extra gpios for external devices.
45
46config S3C24XX_GPIO_EXTRA128
47 bool
48 help
49 Add an extra 128 gpio numbers to the available GPIO pool. This is
50 available for boards that need extra gpios for external devices.
51
Ben Dooksa21765a2007-02-11 18:31:01 +010052config PM_SIMTEC
53 bool
54 help
55 Common power management code for systems that are
56 compatible with the Simtec style of power management
57
Ben Dooksa21765a2007-02-11 18:31:01 +010058config S3C2410_DMA
59 bool "S3C2410 DMA support"
60 depends on ARCH_S3C2410
61 help
62 S3C2410 DMA support. This is needed for drivers like sound which
63 use the S3C2410's DMA system to move data to and from the
64 peripheral blocks.
65
66config S3C2410_DMA_DEBUG
67 bool "S3C2410 DMA support debug"
68 depends on ARCH_S3C2410 && S3C2410_DMA
69 help
70 Enable debugging output for the DMA code. This option sends info
71 to the kernel log, at priority KERN_DEBUG.
72
73config MACH_SMDK
74 bool
75 help
76 Common machine code for SMDK2410 and SMDK2440
77
Ben Dooksb8870602007-02-11 20:33:13 +010078endif