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 | cf38367 | 2009-11-10 00:14:58 +0000 | [diff] [blame] | 135 | endif |