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 | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 31 | config PM_SIMTEC |
| 32 | bool |
| 33 | help |
| 34 | Common power management code for systems that are |
| 35 | compatible with the Simtec style of power management |
| 36 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 37 | config S3C2410_DMA |
| 38 | bool "S3C2410 DMA support" |
| 39 | depends on ARCH_S3C2410 |
| 40 | help |
| 41 | S3C2410 DMA support. This is needed for drivers like sound which |
| 42 | use the S3C2410's DMA system to move data to and from the |
| 43 | peripheral blocks. |
| 44 | |
| 45 | config S3C2410_DMA_DEBUG |
| 46 | bool "S3C2410 DMA support debug" |
| 47 | depends on ARCH_S3C2410 && S3C2410_DMA |
| 48 | help |
| 49 | Enable debugging output for the DMA code. This option sends info |
| 50 | to the kernel log, at priority KERN_DEBUG. |
| 51 | |
Ben Dooks | b2a6cf3 | 2008-10-21 14:06:20 +0100 | [diff] [blame^] | 52 | # SPI default pin configuration code |
| 53 | |
| 54 | config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13 |
| 55 | bool |
| 56 | help |
| 57 | SPI GPIO configuration code for BUS0 when connected to |
| 58 | GPE11, GPE12 and GPE13. |
| 59 | |
| 60 | config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7 |
| 61 | bool |
| 62 | help |
| 63 | SPI GPIO configuration code for BUS 1 when connected to |
| 64 | GPG5, GPG6 and GPG7. |
| 65 | |
| 66 | # common code for s3c24xx based machines, such as the SMDKs. |
| 67 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 68 | config MACH_SMDK |
| 69 | bool |
| 70 | help |
| 71 | Common machine code for SMDK2410 and SMDK2440 |
| 72 | |
Ben Dooks | b887060 | 2007-02-11 20:33:13 +0100 | [diff] [blame] | 73 | endif |