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 | 1b3ba68 | 2008-10-21 14:06:22 +0100 | [diff] [blame^] | 18 | # code that is shared between a number of the s3c24xx implementations |
| 19 | |
| 20 | config S3C2410_CLOCK |
| 21 | bool |
| 22 | help |
| 23 | Clock code for the S3C2410, and similar processors which |
| 24 | is currently includes the S3C2410, S3C2440, S3C2442. |
| 25 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 26 | config CPU_S3C244X |
| 27 | bool |
| 28 | depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442) |
| 29 | help |
| 30 | Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems. |
| 31 | |
Ben Dooks | 6fc601e | 2008-07-01 13:17:24 +0100 | [diff] [blame] | 32 | config S3C24XX_PWM |
| 33 | bool "PWM device support" |
| 34 | select HAVE_PWM |
| 35 | help |
| 36 | Support for exporting the PWM timer blocks via the pwm device |
| 37 | system. |
| 38 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 39 | config PM_SIMTEC |
| 40 | bool |
| 41 | help |
| 42 | Common power management code for systems that are |
| 43 | compatible with the Simtec style of power management |
| 44 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 45 | config S3C2410_DMA |
| 46 | bool "S3C2410 DMA support" |
| 47 | depends on ARCH_S3C2410 |
| 48 | help |
| 49 | S3C2410 DMA support. This is needed for drivers like sound which |
| 50 | use the S3C2410's DMA system to move data to and from the |
| 51 | peripheral blocks. |
| 52 | |
| 53 | config S3C2410_DMA_DEBUG |
| 54 | bool "S3C2410 DMA support debug" |
| 55 | depends on ARCH_S3C2410 && S3C2410_DMA |
| 56 | help |
| 57 | Enable debugging output for the DMA code. This option sends info |
| 58 | to the kernel log, at priority KERN_DEBUG. |
| 59 | |
Ben Dooks | b2a6cf3 | 2008-10-21 14:06:20 +0100 | [diff] [blame] | 60 | # SPI default pin configuration code |
| 61 | |
| 62 | config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13 |
| 63 | bool |
| 64 | help |
| 65 | SPI GPIO configuration code for BUS0 when connected to |
| 66 | GPE11, GPE12 and GPE13. |
| 67 | |
| 68 | config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7 |
| 69 | bool |
| 70 | help |
| 71 | SPI GPIO configuration code for BUS 1 when connected to |
| 72 | GPG5, GPG6 and GPG7. |
| 73 | |
| 74 | # common code for s3c24xx based machines, such as the SMDKs. |
| 75 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 76 | config MACH_SMDK |
| 77 | bool |
| 78 | help |
| 79 | Common machine code for SMDK2410 and SMDK2440 |
| 80 | |
Ben Dooks | b887060 | 2007-02-11 20:33:13 +0100 | [diff] [blame] | 81 | endif |