Ben Dooks | cf38367 | 2009-11-10 00:14:58 +0000 | [diff] [blame] | 1 | # arch/arm/plat-samsung/Kconfig |
| 2 | # |
| 3 | # Copyright 2009 Simtec Electronics |
| 4 | # |
| 5 | # Licensed under GPLv2 |
| 6 | |
| 7 | config PLAT_SAMSUNG |
| 8 | bool |
| 9 | depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX || ARCH_S5PC1XX |
| 10 | default y |
| 11 | help |
| 12 | Base platform code for all Samsung SoC based systems |
| 13 | |
| 14 | if PLAT_SAMSUNG |
| 15 | |
Harald Welte | aa9ad6a | 2009-12-01 01:24:34 +0000 | [diff] [blame] | 16 | config SAMSUNG_CLKSRC |
| 17 | bool |
| 18 | help |
| 19 | Select the clock code for the clksrc implementation |
| 20 | used by newer systems such as the S3C64XX. |
Ben Dooks | cf38367 | 2009-11-10 00:14:58 +0000 | [diff] [blame] | 21 | |
Ben Dooks | 7162ba0 | 2010-01-06 10:14:51 +0900 | [diff] [blame] | 22 | # options for IRQ support |
| 23 | |
| 24 | config SAMSUNG_IRQ_VIC_TIMER |
| 25 | bool |
| 26 | help |
| 27 | Internal configuration to build the VIC timer interrupt code. |
| 28 | |
Ben Dooks | 51022cf | 2010-01-06 11:18:44 +0900 | [diff] [blame] | 29 | config SAMSUNG_IRQ_UART |
| 30 | bool |
| 31 | help |
| 32 | Internal configuration to build the IRQ UART demux code. |
| 33 | |
Ben Dooks | 4f830db | 2010-01-06 02:28:20 +0900 | [diff] [blame] | 34 | # options for gpio configuration support |
| 35 | |
Kukjin Kim | 1f323cf | 2010-01-19 15:30:54 +0900 | [diff] [blame] | 36 | config SAMSUNG_GPIOLIB_4BIT |
| 37 | bool |
| 38 | help |
| 39 | GPIOlib file contains the 4 bit modification functions for gpio |
| 40 | configuration. GPIOlib shall be compiled only for S3C64XX and S5P |
| 41 | series of processors. |
| 42 | |
Ben Dooks | 4f830db | 2010-01-06 02:28:20 +0900 | [diff] [blame] | 43 | config S3C_GPIO_CFG_S3C24XX |
| 44 | bool |
| 45 | help |
| 46 | Internal configuration to enable S3C24XX style GPIO configuration |
| 47 | functions. |
| 48 | |
| 49 | config S3C_GPIO_CFG_S3C64XX |
| 50 | bool |
| 51 | help |
| 52 | Internal configuration to enable S3C64XX style GPIO configuration |
| 53 | functions. |
| 54 | |
| 55 | config S5P_GPIO_CFG_S5PC1XX |
| 56 | bool |
| 57 | help |
| 58 | Internal configuration to enable S5PC1XX style GPIO configuration |
| 59 | functions. |
| 60 | |
| 61 | config S3C_GPIO_PULL_UPDOWN |
| 62 | bool |
| 63 | help |
| 64 | Internal configuration to enable the correct GPIO pull helper |
| 65 | |
| 66 | config S3C_GPIO_PULL_DOWN |
| 67 | bool |
| 68 | help |
| 69 | Internal configuration to enable the correct GPIO pull helper |
| 70 | |
| 71 | config S3C_GPIO_PULL_UP |
| 72 | bool |
| 73 | help |
| 74 | Internal configuration to enable the correct GPIO pull helper |
| 75 | |
Kukjin Kim | 85841bc | 2010-01-11 12:21:51 +0900 | [diff] [blame] | 76 | config SAMSUNG_GPIO_EXTRA |
| 77 | int "Number of additional GPIO pins" |
| 78 | default 0 |
| 79 | help |
| 80 | Use additional GPIO space in addition to the GPIO's the SOC |
| 81 | provides. This allows expanding the GPIO space for use with |
| 82 | GPIO expanders. |
| 83 | |
Maurus Cuelenaere | 3929e1e | 2010-01-14 00:30:31 +0100 | [diff] [blame] | 84 | # ADC driver |
| 85 | |
| 86 | config S3C_ADC |
| 87 | bool "ADC common driver support" |
| 88 | help |
| 89 | Core support for the ADC block found in the Samsung SoC systems |
| 90 | for drivers such as the touchscreen and hwmon to use to share |
| 91 | this resource. |
| 92 | |
Ben Dooks | b6a6041 | 2010-01-06 02:45:09 +0900 | [diff] [blame] | 93 | # device definitions to compile in |
| 94 | |
| 95 | config S3C_DEV_HSMMC |
| 96 | bool |
| 97 | help |
| 98 | Compile in platform device definitions for HSMMC code |
| 99 | |
| 100 | config S3C_DEV_HSMMC1 |
| 101 | bool |
| 102 | help |
| 103 | Compile in platform device definitions for HSMMC channel 1 |
| 104 | |
| 105 | config S3C_DEV_HSMMC2 |
| 106 | bool |
| 107 | help |
| 108 | Compile in platform device definitions for HSMMC channel 2 |
| 109 | |
| 110 | config S3C_DEV_I2C1 |
| 111 | bool |
| 112 | help |
| 113 | Compile in platform device definitions for I2C channel 1 |
| 114 | |
| 115 | config S3C_DEV_FB |
| 116 | bool |
| 117 | help |
| 118 | Compile in platform device definition for framebuffer |
| 119 | |
| 120 | config S3C_DEV_USB_HOST |
| 121 | bool |
| 122 | help |
| 123 | Compile in platform device definition for USB host. |
| 124 | |
| 125 | config S3C_DEV_USB_HSOTG |
| 126 | bool |
| 127 | help |
| 128 | Compile in platform device definition for USB high-speed OtG |
| 129 | |
| 130 | config S3C_DEV_NAND |
| 131 | bool |
| 132 | help |
| 133 | Compile in platform device definition for NAND controller |
| 134 | |
Ben Dooks | 8005745 | 2010-01-20 12:29:25 +0900 | [diff] [blame^] | 135 | comment "Power management" |
| 136 | |
| 137 | config SAMSUNG_PM_DEBUG |
| 138 | bool "S3C2410 PM Suspend debug" |
| 139 | depends on PM |
| 140 | help |
| 141 | Say Y here if you want verbose debugging from the PM Suspend and |
| 142 | Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> |
| 143 | for more information. |
| 144 | |
| 145 | config S3C_PM_DEBUG_LED_SMDK |
| 146 | bool "SMDK LED suspend/resume debugging" |
| 147 | depends on PM && (MACH_SMDK6410) |
| 148 | help |
| 149 | Say Y here to enable the use of the SMDK LEDs on the baseboard |
| 150 | for debugging of the state of the suspend and resume process. |
| 151 | |
| 152 | Note, this currently only works for S3C64XX based SMDK boards. |
| 153 | |
| 154 | config SAMSUNG_PM_CHECK |
| 155 | bool "S3C2410 PM Suspend Memory CRC" |
| 156 | depends on PM && CRC32 |
| 157 | help |
| 158 | Enable the PM code's memory area checksum over sleep. This option |
| 159 | will generate CRCs of all blocks of memory, and store them before |
| 160 | going to sleep. The blocks are then checked on resume for any |
| 161 | errors. |
| 162 | |
| 163 | Note, this can take several seconds depending on memory size |
| 164 | and CPU speed. |
| 165 | |
| 166 | See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> |
| 167 | |
| 168 | config SAMSUNG_PM_CHECK_CHUNKSIZE |
| 169 | int "S3C2410 PM Suspend CRC Chunksize (KiB)" |
| 170 | depends on PM && SAMSUNG_PM_CHECK |
| 171 | default 64 |
| 172 | help |
| 173 | Set the chunksize in Kilobytes of the CRC for checking memory |
| 174 | corruption over suspend and resume. A smaller value will mean that |
| 175 | the CRC data block will take more memory, but wil identify any |
| 176 | faults with better precision. |
| 177 | |
| 178 | See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> |
| 179 | |
Ben Dooks | cf38367 | 2009-11-10 00:14:58 +0000 | [diff] [blame] | 180 | endif |