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 | |
| 36 | config S3C_GPIO_CFG_S3C24XX |
| 37 | bool |
| 38 | help |
| 39 | Internal configuration to enable S3C24XX style GPIO configuration |
| 40 | functions. |
| 41 | |
| 42 | config S3C_GPIO_CFG_S3C64XX |
| 43 | bool |
| 44 | help |
| 45 | Internal configuration to enable S3C64XX style GPIO configuration |
| 46 | functions. |
| 47 | |
| 48 | config S5P_GPIO_CFG_S5PC1XX |
| 49 | bool |
| 50 | help |
| 51 | Internal configuration to enable S5PC1XX style GPIO configuration |
| 52 | functions. |
| 53 | |
| 54 | config S3C_GPIO_PULL_UPDOWN |
| 55 | bool |
| 56 | help |
| 57 | Internal configuration to enable the correct GPIO pull helper |
| 58 | |
| 59 | config S3C_GPIO_PULL_DOWN |
| 60 | bool |
| 61 | help |
| 62 | Internal configuration to enable the correct GPIO pull helper |
| 63 | |
| 64 | config S3C_GPIO_PULL_UP |
| 65 | bool |
| 66 | help |
| 67 | Internal configuration to enable the correct GPIO pull helper |
| 68 | |
Kukjin Kim | 85841bc | 2010-01-11 12:21:51 +0900 | [diff] [blame] | 69 | config SAMSUNG_GPIO_EXTRA |
| 70 | int "Number of additional GPIO pins" |
| 71 | default 0 |
| 72 | help |
| 73 | Use additional GPIO space in addition to the GPIO's the SOC |
| 74 | provides. This allows expanding the GPIO space for use with |
| 75 | GPIO expanders. |
| 76 | |
Maurus Cuelenaere | 3929e1e | 2010-01-14 00:30:31 +0100 | [diff] [blame^] | 77 | # ADC driver |
| 78 | |
| 79 | config S3C_ADC |
| 80 | bool "ADC common driver support" |
| 81 | help |
| 82 | Core support for the ADC block found in the Samsung SoC systems |
| 83 | for drivers such as the touchscreen and hwmon to use to share |
| 84 | this resource. |
| 85 | |
Ben Dooks | b6a6041 | 2010-01-06 02:45:09 +0900 | [diff] [blame] | 86 | # device definitions to compile in |
| 87 | |
| 88 | config S3C_DEV_HSMMC |
| 89 | bool |
| 90 | help |
| 91 | Compile in platform device definitions for HSMMC code |
| 92 | |
| 93 | config S3C_DEV_HSMMC1 |
| 94 | bool |
| 95 | help |
| 96 | Compile in platform device definitions for HSMMC channel 1 |
| 97 | |
| 98 | config S3C_DEV_HSMMC2 |
| 99 | bool |
| 100 | help |
| 101 | Compile in platform device definitions for HSMMC channel 2 |
| 102 | |
| 103 | config S3C_DEV_I2C1 |
| 104 | bool |
| 105 | help |
| 106 | Compile in platform device definitions for I2C channel 1 |
| 107 | |
| 108 | config S3C_DEV_FB |
| 109 | bool |
| 110 | help |
| 111 | Compile in platform device definition for framebuffer |
| 112 | |
| 113 | config S3C_DEV_USB_HOST |
| 114 | bool |
| 115 | help |
| 116 | Compile in platform device definition for USB host. |
| 117 | |
| 118 | config S3C_DEV_USB_HSOTG |
| 119 | bool |
| 120 | help |
| 121 | Compile in platform device definition for USB high-speed OtG |
| 122 | |
| 123 | config S3C_DEV_NAND |
| 124 | bool |
| 125 | help |
| 126 | Compile in platform device definition for NAND controller |
| 127 | |
Ben Dooks | cf38367 | 2009-11-10 00:14:58 +0000 | [diff] [blame] | 128 | endif |