Igor Sarkisov | 20ba8ff | 2020-10-06 19:36:00 -0700 | [diff] [blame^] | 1 | # arch/arm/mach-s5pv310/Kconfig |
| 2 | # |
| 3 | # Copyright (c) 2010 Samsung Electronics Co., Ltd. |
| 4 | # http://www.samsung.com/ |
| 5 | # |
| 6 | # Licensed under GPLv2 |
| 7 | |
| 8 | # Configuration options for the S5PV310 |
| 9 | |
| 10 | if ARCH_S5PV310 |
| 11 | |
| 12 | config CPU_S5PV310 |
| 13 | bool |
| 14 | help |
| 15 | Enable S5PV310 CPU support |
| 16 | |
| 17 | config S5PV310_SETUP_I2C1 |
| 18 | bool |
| 19 | help |
| 20 | Common setup code for i2c bus 1. |
| 21 | |
| 22 | config S5PV310_SETUP_I2C2 |
| 23 | bool |
| 24 | help |
| 25 | Common setup code for i2c bus 2. |
| 26 | |
| 27 | config S5PV310_SETUP_I2C3 |
| 28 | bool |
| 29 | help |
| 30 | Common setup code for i2c bus 3. |
| 31 | |
| 32 | config S5PV310_SETUP_I2C4 |
| 33 | bool |
| 34 | help |
| 35 | Common setup code for i2c bus 4. |
| 36 | |
| 37 | config S5PV310_SETUP_I2C5 |
| 38 | bool |
| 39 | help |
| 40 | Common setup code for i2c bus 5. |
| 41 | |
| 42 | config S5PV310_SETUP_I2C6 |
| 43 | bool |
| 44 | help |
| 45 | Common setup code for i2c bus 6. |
| 46 | |
| 47 | config S5PV310_SETUP_I2C7 |
| 48 | bool |
| 49 | help |
| 50 | Common setup code for i2c bus 7. |
| 51 | |
| 52 | config S5PV310_SETUP_SDHCI |
| 53 | bool |
| 54 | select S5PV310_SETUP_SDHCI_GPIO |
| 55 | help |
| 56 | Internal helper functions for S5PV310 based SDHCI systems. |
| 57 | |
| 58 | config S5PV310_SETUP_SDHCI_GPIO |
| 59 | bool |
| 60 | help |
| 61 | Common setup code for SDHCI gpio. |
| 62 | |
| 63 | # machine support |
| 64 | |
| 65 | menu "S5PC210 Machines" |
| 66 | |
| 67 | config MACH_SMDKC210 |
| 68 | bool "SMDKC210" |
| 69 | select CPU_S5PV310 |
| 70 | select S3C_DEV_RTC |
| 71 | select S3C_DEV_WDT |
| 72 | select S3C_DEV_HSMMC |
| 73 | select S3C_DEV_HSMMC1 |
| 74 | select S3C_DEV_HSMMC2 |
| 75 | select S3C_DEV_HSMMC3 |
| 76 | select S5PV310_SETUP_SDHCI |
| 77 | help |
| 78 | Machine support for Samsung SMDKC210 |
| 79 | S5PC210(MCP) is one of package option of S5PV310 |
| 80 | |
| 81 | config MACH_UNIVERSAL_C210 |
| 82 | bool "Mobile UNIVERSAL_C210 Board" |
| 83 | select CPU_S5PV310 |
| 84 | select S5P_DEV_ONENAND |
| 85 | select S3C_DEV_I2C1 |
| 86 | select S5PV310_SETUP_I2C1 |
| 87 | help |
| 88 | Machine support for Samsung Mobile Universal S5PC210 Reference |
| 89 | Board. S5PC210(MCP) is one of package option of S5PV310 |
| 90 | |
| 91 | endmenu |
| 92 | |
| 93 | menu "S5PV310 Machines" |
| 94 | |
| 95 | config MACH_SMDKV310 |
| 96 | bool "SMDKV310" |
| 97 | select CPU_S5PV310 |
| 98 | select S3C_DEV_RTC |
| 99 | select S3C_DEV_WDT |
| 100 | select S3C_DEV_HSMMC |
| 101 | select S3C_DEV_HSMMC1 |
| 102 | select S3C_DEV_HSMMC2 |
| 103 | select S3C_DEV_HSMMC3 |
| 104 | select S5PV310_SETUP_SDHCI |
| 105 | help |
| 106 | Machine support for Samsung SMDKV310 |
| 107 | |
| 108 | endmenu |
| 109 | |
| 110 | comment "Configuration for HSMMC bus width" |
| 111 | |
| 112 | menu "Use 8-bit bus width" |
| 113 | |
| 114 | config S5PV310_SDHCI_CH0_8BIT |
| 115 | bool "Channel 0 with 8-bit bus" |
| 116 | help |
| 117 | Support HSMMC Channel 0 8-bit bus. |
| 118 | If selected, Channel 1 is disabled. |
| 119 | |
| 120 | config S5PV310_SDHCI_CH2_8BIT |
| 121 | bool "Channel 2 with 8-bit bus" |
| 122 | help |
| 123 | Support HSMMC Channel 2 8-bit bus. |
| 124 | If selected, Channel 3 is disabled. |
| 125 | |
| 126 | endmenu |
| 127 | |
| 128 | endif |