Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 1 | # arch/arm/plat-s3c24xx/Kconfig |
| 2 | # |
| 3 | # Copyright 2007 Simtec Electronics |
| 4 | # |
| 5 | # Licensed under GPLv2 |
| 6 | |
| 7 | config PLAT_S3C24XX |
| 8 | bool |
| 9 | depends on ARCH_S3C2410 |
Ben Dooks | b887060 | 2007-02-11 20:33:13 +0100 | [diff] [blame] | 10 | default y if ARCH_S3C2410 |
Ben Dooks | 7d477a0 | 2007-02-12 18:59:35 +0100 | [diff] [blame] | 11 | select NO_IOPORT |
Russell King | bb2b180 | 2008-07-26 15:36:03 +0100 | [diff] [blame] | 12 | select ARCH_REQUIRE_GPIOLIB |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 13 | help |
Ben Dooks | d58153d | 2007-07-22 16:07:09 +0100 | [diff] [blame] | 14 | Base platform code for any Samsung S3C24XX device |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 15 | |
Ben Dooks | b887060 | 2007-02-11 20:33:13 +0100 | [diff] [blame] | 16 | if PLAT_S3C24XX |
| 17 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 18 | config 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 Dooks | 6fc601e | 2008-07-01 13:17:24 +0100 | [diff] [blame] | 24 | config 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 Dooks | e2178d4 | 2008-11-10 10:59:32 +0000 | [diff] [blame^] | 31 | |
| 32 | # gpio configurations |
| 33 | |
| 34 | config S3C24XX_GPIO_EXTRA |
| 35 | int |
| 36 | default 128 if S3C24XX_GPIO_EXTRA128 |
| 37 | default 64 if S3C24XX_GPIO_EXTRA64 |
| 38 | default 0 |
| 39 | |
| 40 | config 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 | |
| 46 | config 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 Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 52 | config 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 Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 58 | config 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 | |
| 66 | config 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 | |
| 73 | config MACH_SMDK |
| 74 | bool |
| 75 | help |
| 76 | Common machine code for SMDK2410 and SMDK2440 |
| 77 | |
Ben Dooks | b887060 | 2007-02-11 20:33:13 +0100 | [diff] [blame] | 78 | endif |