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 |
Ben Dooks | bcae8ae | 2008-10-21 14:06:32 +0100 | [diff] [blame] | 9 | depends on ARCH_S3C2410 || ARCH_S3C24A0 |
| 10 | default y |
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 | 93bc6b6 | 2008-10-21 14:06:33 +0100 | [diff] [blame] | 26 | config S3C24XX_DCLK |
| 27 | bool |
| 28 | help |
| 29 | Clock code for supporting DCLK/CLKOUT on S3C24XX architectures |
| 30 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 31 | config CPU_S3C244X |
| 32 | bool |
| 33 | depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442) |
| 34 | help |
| 35 | Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems. |
| 36 | |
Ben Dooks | 6fc601e | 2008-07-01 13:17:24 +0100 | [diff] [blame] | 37 | config S3C24XX_PWM |
| 38 | bool "PWM device support" |
| 39 | select HAVE_PWM |
| 40 | help |
| 41 | Support for exporting the PWM timer blocks via the pwm device |
| 42 | system. |
| 43 | |
Ben Dooks | e2178d4 | 2008-11-10 10:59:32 +0000 | [diff] [blame] | 44 | |
| 45 | # gpio configurations |
| 46 | |
| 47 | config S3C24XX_GPIO_EXTRA |
| 48 | int |
| 49 | default 128 if S3C24XX_GPIO_EXTRA128 |
| 50 | default 64 if S3C24XX_GPIO_EXTRA64 |
| 51 | default 0 |
| 52 | |
| 53 | config S3C24XX_GPIO_EXTRA64 |
| 54 | bool |
| 55 | help |
| 56 | Add an extra 64 gpio numbers to the available GPIO pool. This is |
| 57 | available for boards that need extra gpios for external devices. |
| 58 | |
| 59 | config S3C24XX_GPIO_EXTRA128 |
| 60 | bool |
| 61 | help |
| 62 | Add an extra 128 gpio numbers to the available GPIO pool. This is |
| 63 | available for boards that need extra gpios for external devices. |
| 64 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 65 | config PM_SIMTEC |
| 66 | bool |
| 67 | help |
| 68 | Common power management code for systems that are |
| 69 | compatible with the Simtec style of power management |
| 70 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 71 | config S3C2410_DMA |
| 72 | bool "S3C2410 DMA support" |
| 73 | depends on ARCH_S3C2410 |
Ben Dooks | 97c1b14 | 2009-03-19 15:02:39 +0000 | [diff] [blame] | 74 | select S3C_DMA |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 75 | help |
| 76 | S3C2410 DMA support. This is needed for drivers like sound which |
| 77 | use the S3C2410's DMA system to move data to and from the |
| 78 | peripheral blocks. |
| 79 | |
| 80 | config S3C2410_DMA_DEBUG |
| 81 | bool "S3C2410 DMA support debug" |
| 82 | depends on ARCH_S3C2410 && S3C2410_DMA |
| 83 | help |
| 84 | Enable debugging output for the DMA code. This option sends info |
| 85 | to the kernel log, at priority KERN_DEBUG. |
| 86 | |
Ben Dooks | 28ab44c5b | 2008-12-18 14:20:04 +0000 | [diff] [blame] | 87 | config S3C24XX_ADC |
| 88 | bool "ADC common driver support" |
| 89 | help |
| 90 | Core support for the ADC block found in the S3C24XX SoC systems |
| 91 | for drivers such as the touchscreen and hwmon to use to share |
| 92 | this resource. |
| 93 | |
Ben Dooks | b2a6cf3 | 2008-10-21 14:06:20 +0100 | [diff] [blame] | 94 | # SPI default pin configuration code |
| 95 | |
| 96 | config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13 |
| 97 | bool |
| 98 | help |
| 99 | SPI GPIO configuration code for BUS0 when connected to |
| 100 | GPE11, GPE12 and GPE13. |
| 101 | |
| 102 | config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7 |
| 103 | bool |
| 104 | help |
| 105 | SPI GPIO configuration code for BUS 1 when connected to |
| 106 | GPG5, GPG6 and GPG7. |
| 107 | |
| 108 | # common code for s3c24xx based machines, such as the SMDKs. |
| 109 | |
Ben Dooks | a21765a | 2007-02-11 18:31:01 +0100 | [diff] [blame] | 110 | config MACH_SMDK |
| 111 | bool |
| 112 | help |
| 113 | Common machine code for SMDK2410 and SMDK2440 |
| 114 | |
Ben Dooks | b887060 | 2007-02-11 20:33:13 +0100 | [diff] [blame] | 115 | endif |