Masahiro Yamada | cc85b7b | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 1 | # |
| 2 | # Multifunction miscellaneous devices |
| 3 | # |
| 4 | |
| 5 | menu "Multifunction device drivers" |
| 6 | |
Thomas Chou | b1ed686 | 2015-10-07 20:20:51 +0800 | [diff] [blame] | 7 | config MISC |
| 8 | bool "Enable Driver Model for Misc drivers" |
| 9 | depends on DM |
| 10 | help |
| 11 | Enable driver model for miscellaneous devices. This class is |
| 12 | used only for those do not fit other more general classes. A |
| 13 | set of generic read, write and ioctl methods may be used to |
| 14 | access the device. |
| 15 | |
Thomas Chou | 36b9c9a | 2015-10-14 08:43:31 +0800 | [diff] [blame] | 16 | config ALTERA_SYSID |
| 17 | bool "Altera Sysid support" |
| 18 | depends on MISC |
| 19 | help |
| 20 | Select this to enable a sysid for Altera devices. Please find |
| 21 | details on the "Embedded Peripherals IP User Guide" of Altera. |
| 22 | |
Marek BehĂșn | ef2b6b1 | 2017-06-09 19:28:44 +0200 | [diff] [blame] | 23 | config ATSHA204A |
| 24 | bool "Support for Atmel ATSHA204A module" |
| 25 | depends on MISC |
| 26 | help |
| 27 | Enable support for I2C connected Atmel's ATSHA204A |
| 28 | CryptoAuthentication module found for example on the Turris Omnia |
| 29 | board. |
| 30 | |
Philipp Tomsich | fcc1d63 | 2017-05-05 19:21:38 +0200 | [diff] [blame] | 31 | config ROCKCHIP_EFUSE |
| 32 | bool "Rockchip e-fuse support" |
| 33 | depends on MISC |
| 34 | help |
| 35 | Enable (read-only) access for the e-fuse block found in Rockchip |
| 36 | SoCs: accesses can either be made using byte addressing and a length |
| 37 | or through child-nodes that are generated based on the e-fuse map |
| 38 | retrieved from the DTS. |
| 39 | |
| 40 | This driver currently supports the RK3399 only, but can easily be |
| 41 | extended (by porting the read function from the Linux kernel sources) |
| 42 | to support other recent Rockchip devices. |
| 43 | |
Liviu Dudau | 688db7f | 2018-09-28 13:43:31 +0100 | [diff] [blame] | 44 | config VEXPRESS_CONFIG |
| 45 | bool "Enable support for Arm Versatile Express config bus" |
| 46 | depends on MISC |
| 47 | help |
| 48 | If you say Y here, you will get support for accessing the |
| 49 | configuration bus on the Arm Versatile Express boards via |
| 50 | a sysreg driver. |
| 51 | |
Simon Glass | 5b79bb2 | 2015-02-13 12:20:47 -0700 | [diff] [blame] | 52 | config CMD_CROS_EC |
| 53 | bool "Enable crosec command" |
| 54 | depends on CROS_EC |
| 55 | help |
| 56 | Enable command-line access to the Chrome OS EC (Embedded |
| 57 | Controller). This provides the 'crosec' command which has |
| 58 | a number of sub-commands for performing EC tasks such as |
| 59 | updating its flash, accessing a small saved context area |
| 60 | and talking to the I2C bus behind the EC (if there is one). |
| 61 | |
| 62 | config CROS_EC |
| 63 | bool "Enable Chrome OS EC" |
| 64 | help |
| 65 | Enable access to the Chrome OS EC. This is a separate |
| 66 | microcontroller typically available on a SPI bus on Chromebooks. It |
| 67 | provides access to the keyboard, some internal storage and may |
| 68 | control access to the battery and main PMIC depending on the |
| 69 | device. You can use the 'crosec' command to access it. |
| 70 | |
| 71 | config CROS_EC_I2C |
| 72 | bool "Enable Chrome OS EC I2C driver" |
| 73 | depends on CROS_EC |
| 74 | help |
| 75 | Enable I2C access to the Chrome OS EC. This is used on older |
| 76 | ARM Chromebooks such as snow and spring before the standard bus |
| 77 | changed to SPI. The EC will accept commands across the I2C using |
| 78 | a special message protocol, and provide responses. |
| 79 | |
| 80 | config CROS_EC_LPC |
| 81 | bool "Enable Chrome OS EC LPC driver" |
| 82 | depends on CROS_EC |
| 83 | help |
| 84 | Enable I2C access to the Chrome OS EC. This is used on x86 |
| 85 | Chromebooks such as link and falco. The keyboard is provided |
| 86 | through a legacy port interface, so on x86 machines the main |
| 87 | function of the EC is power and thermal management. |
| 88 | |
Simon Glass | c6e0669 | 2015-03-26 09:29:40 -0600 | [diff] [blame] | 89 | config CROS_EC_SANDBOX |
| 90 | bool "Enable Chrome OS EC sandbox driver" |
| 91 | depends on CROS_EC && SANDBOX |
| 92 | help |
| 93 | Enable a sandbox emulation of the Chrome OS EC. This supports |
| 94 | keyboard (use the -l flag to enable the LCD), verified boot context, |
| 95 | EC flash read/write/erase support and a few other things. It is |
| 96 | enough to perform a Chrome OS verified boot on sandbox. |
| 97 | |
Simon Glass | 5b79bb2 | 2015-02-13 12:20:47 -0700 | [diff] [blame] | 98 | config CROS_EC_SPI |
| 99 | bool "Enable Chrome OS EC SPI driver" |
| 100 | depends on CROS_EC |
| 101 | help |
| 102 | Enable SPI access to the Chrome OS EC. This is used on newer |
| 103 | ARM Chromebooks such as pit, pi and nyan-big. The SPI interface |
| 104 | provides a faster and more robust interface than I2C but the bugs |
| 105 | are less interesting. |
| 106 | |
Simon Glass | 58ed322 | 2017-05-17 03:25:02 -0600 | [diff] [blame] | 107 | config DS4510 |
| 108 | bool "Enable support for DS4510 CPU supervisor" |
| 109 | help |
| 110 | Enable support for the Maxim DS4510 CPU supervisor. It has an |
| 111 | integrated 64-byte EEPROM, four programmable non-volatile I/O pins |
| 112 | and a configurable timer for the supervisor function. The device is |
| 113 | connected over I2C. |
| 114 | |
Peng Fan | fb6166a | 2015-08-26 15:41:33 +0800 | [diff] [blame] | 115 | config FSL_SEC_MON |
gaurav rana | 9aaea44 | 2015-02-27 09:44:22 +0530 | [diff] [blame] | 116 | bool "Enable FSL SEC_MON Driver" |
| 117 | help |
| 118 | Freescale Security Monitor block is responsible for monitoring |
| 119 | system states. |
| 120 | Security Monitor can be transitioned on any security failures, |
| 121 | like software violations or hardware security violations. |
Stefan Roese | 04b2275 | 2015-03-12 11:22:46 +0100 | [diff] [blame] | 122 | |
Paul Burton | 738d8a8 | 2018-12-16 19:25:19 -0300 | [diff] [blame] | 123 | config JZ4780_EFUSE |
| 124 | bool "Ingenic JZ4780 eFUSE support" |
| 125 | depends on ARCH_JZ47XX |
| 126 | help |
| 127 | This selects support for the eFUSE on Ingenic JZ4780 SoCs. |
| 128 | |
Peng Fan | e187225 | 2015-08-27 14:49:05 +0800 | [diff] [blame] | 129 | config MXC_OCOTP |
| 130 | bool "Enable MXC OCOTP Driver" |
| 131 | help |
| 132 | If you say Y here, you will get support for the One Time |
| 133 | Programmable memory pages that are stored on the some |
| 134 | Freescale i.MX processors. |
| 135 | |
Stefan Roese | 4a269f2 | 2016-07-19 07:45:46 +0200 | [diff] [blame] | 136 | config NUVOTON_NCT6102D |
| 137 | bool "Enable Nuvoton NCT6102D Super I/O driver" |
| 138 | help |
| 139 | If you say Y here, you will get support for the Nuvoton |
| 140 | NCT6102D Super I/O driver. This can be used to enable or |
| 141 | disable the legacy UART, the watchdog or other devices |
| 142 | in the Nuvoton Super IO chips on X86 platforms. |
| 143 | |
Simon Glass | c979517 | 2016-01-21 19:43:31 -0700 | [diff] [blame] | 144 | config PWRSEQ |
| 145 | bool "Enable power-sequencing drivers" |
| 146 | depends on DM |
| 147 | help |
| 148 | Power-sequencing drivers provide support for controlling power for |
| 149 | devices. They are typically referenced by a phandle from another |
| 150 | device. When the device is started up, its power sequence can be |
| 151 | initiated. |
| 152 | |
| 153 | config SPL_PWRSEQ |
| 154 | bool "Enable power-sequencing drivers for SPL" |
| 155 | depends on PWRSEQ |
| 156 | help |
| 157 | Power-sequencing drivers provide support for controlling power for |
| 158 | devices. They are typically referenced by a phandle from another |
| 159 | device. When the device is started up, its power sequence can be |
| 160 | initiated. |
| 161 | |
Stefan Roese | 04b2275 | 2015-03-12 11:22:46 +0100 | [diff] [blame] | 162 | config PCA9551_LED |
| 163 | bool "Enable PCA9551 LED driver" |
| 164 | help |
| 165 | Enable driver for PCA9551 LED controller. This controller |
| 166 | is connected via I2C. So I2C needs to be enabled. |
| 167 | |
| 168 | config PCA9551_I2C_ADDR |
| 169 | hex "I2C address of PCA9551 LED controller" |
| 170 | depends on PCA9551_LED |
| 171 | default 0x60 |
| 172 | help |
| 173 | The I2C address of the PCA9551 LED controller. |
Simon Glass | 1400086 | 2015-06-23 15:39:13 -0600 | [diff] [blame] | 174 | |
Patrick Delaunay | 0c4656b | 2018-05-17 15:24:06 +0200 | [diff] [blame] | 175 | config STM32MP_FUSE |
| 176 | bool "Enable STM32MP fuse wrapper providing the fuse API" |
| 177 | depends on ARCH_STM32MP && MISC |
| 178 | default y if CMD_FUSE |
| 179 | help |
| 180 | If you say Y here, you will get support for the fuse API (OTP) |
| 181 | for STM32MP architecture. |
| 182 | This API is needed for CMD_FUSE. |
| 183 | |
Christophe Kerello | 275f706 | 2017-09-13 18:00:08 +0200 | [diff] [blame] | 184 | config STM32_RCC |
| 185 | bool "Enable RCC driver for the STM32 SoC's family" |
Patrick Delaunay | b139a5b | 2018-07-09 15:17:20 +0200 | [diff] [blame] | 186 | depends on (STM32 || ARCH_STM32MP) && MISC |
Christophe Kerello | 275f706 | 2017-09-13 18:00:08 +0200 | [diff] [blame] | 187 | help |
| 188 | Enable the STM32 RCC driver. The RCC block (Reset and Clock Control |
| 189 | block) is responsible of the management of the clock and reset |
| 190 | generation. |
| 191 | This driver is similar to an MFD driver in the Linux kernel. |
| 192 | |
Stephen Warren | f641700 | 2016-09-13 10:45:57 -0600 | [diff] [blame] | 193 | config TEGRA_CAR |
| 194 | bool "Enable support for the Tegra CAR driver" |
| 195 | depends on TEGRA_NO_BPMP |
| 196 | help |
| 197 | The Tegra CAR (Clock and Reset Controller) is a HW module that |
| 198 | controls almost all clocks and resets in a Tegra SoC. |
| 199 | |
Stephen Warren | a214892 | 2016-08-08 09:41:34 -0600 | [diff] [blame] | 200 | config TEGRA186_BPMP |
| 201 | bool "Enable support for the Tegra186 BPMP driver" |
| 202 | depends on TEGRA186 |
| 203 | help |
| 204 | The Tegra BPMP (Boot and Power Management Processor) is a separate |
| 205 | auxiliary CPU embedded into Tegra to perform power management work, |
| 206 | and controls related features such as clocks, resets, power domains, |
| 207 | PMIC I2C bus, etc. This driver provides the core low-level |
| 208 | communication path by which feature-specific drivers (such as clock) |
| 209 | can make requests to the BPMP. This driver is similar to an MFD |
| 210 | driver in the Linux kernel. |
| 211 | |
Adam Ford | c8cdce7 | 2018-08-06 14:26:50 -0500 | [diff] [blame] | 212 | config TWL4030_LED |
| 213 | bool "Enable TWL4030 LED controller" |
| 214 | help |
| 215 | Enable this to add support for the TWL4030 LED controller. |
| 216 | |
Stefan Roese | ba019ed | 2016-01-19 14:05:10 +0100 | [diff] [blame] | 217 | config WINBOND_W83627 |
| 218 | bool "Enable Winbond Super I/O driver" |
| 219 | help |
| 220 | If you say Y here, you will get support for the Winbond |
| 221 | W83627 Super I/O driver. This can be used to enable the |
| 222 | legacy UART or other devices in the Winbond Super IO chips |
| 223 | on X86 platforms. |
| 224 | |
Miao Yan | 4fcd7f2 | 2016-05-22 19:37:14 -0700 | [diff] [blame] | 225 | config QFW |
| 226 | bool |
| 227 | help |
| 228 | Hidden option to enable QEMU fw_cfg interface. This will be selected by |
Miao Yan | 9210627 | 2016-05-22 19:37:17 -0700 | [diff] [blame] | 229 | either CONFIG_CMD_QFW or CONFIG_GENERATE_ACPI_TABLE. |
Miao Yan | 4fcd7f2 | 2016-05-22 19:37:14 -0700 | [diff] [blame] | 230 | |
mario.six@gdsys.cc | 7559ac4 | 2016-06-22 15:14:16 +0200 | [diff] [blame] | 231 | config I2C_EEPROM |
| 232 | bool "Enable driver for generic I2C-attached EEPROMs" |
| 233 | depends on MISC |
| 234 | help |
| 235 | Enable a generic driver for EEPROMs attached via I2C. |
Adam Ford | 5664f83 | 2017-08-13 09:00:28 -0500 | [diff] [blame] | 236 | |
Wenyou Yang | f791d56 | 2017-09-06 13:08:14 +0800 | [diff] [blame] | 237 | |
| 238 | config SPL_I2C_EEPROM |
| 239 | bool "Enable driver for generic I2C-attached EEPROMs for SPL" |
| 240 | depends on MISC && SPL && SPL_DM |
| 241 | help |
| 242 | This option is an SPL-variant of the I2C_EEPROM option. |
| 243 | See the help of I2C_EEPROM for details. |
| 244 | |
Vipul Kumar | 9621967 | 2018-02-16 19:07:21 +0530 | [diff] [blame] | 245 | config ZYNQ_GEM_I2C_MAC_OFFSET |
| 246 | hex "Set the I2C MAC offset" |
| 247 | default 0x0 |
Michal Simek | d9bdc6d | 2019-01-22 15:55:46 +0100 | [diff] [blame] | 248 | depends on DM_I2C |
Vipul Kumar | 9621967 | 2018-02-16 19:07:21 +0530 | [diff] [blame] | 249 | help |
| 250 | Set the MAC offset for i2C. |
| 251 | |
Adam Ford | 5664f83 | 2017-08-13 09:00:28 -0500 | [diff] [blame] | 252 | if I2C_EEPROM |
| 253 | |
| 254 | config SYS_I2C_EEPROM_ADDR |
| 255 | hex "Chip address of the EEPROM device" |
| 256 | default 0 |
| 257 | |
| 258 | config SYS_I2C_EEPROM_BUS |
| 259 | int "I2C bus of the EEPROM device." |
| 260 | default 0 |
| 261 | |
| 262 | config SYS_EEPROM_SIZE |
| 263 | int "Size in bytes of the EEPROM device" |
| 264 | default 256 |
| 265 | |
| 266 | config SYS_EEPROM_PAGE_WRITE_BITS |
| 267 | int "Number of bits used to address bytes in a single page" |
| 268 | default 0 |
| 269 | help |
| 270 | The EEPROM page size is 2^SYS_EEPROM_PAGE_WRITE_BITS. |
| 271 | A 64 byte page, for example would require six bits. |
| 272 | |
| 273 | config SYS_EEPROM_PAGE_WRITE_DELAY_MS |
| 274 | int "Number of milliseconds to delay between page writes" |
| 275 | default 0 |
| 276 | |
| 277 | config SYS_I2C_EEPROM_ADDR_LEN |
| 278 | int "Length in bytes of the EEPROM memory array address" |
| 279 | default 1 |
| 280 | help |
| 281 | Note: This is NOT the chip address length! |
| 282 | |
| 283 | config SYS_I2C_EEPROM_ADDR_OVERFLOW |
| 284 | hex "EEPROM Address Overflow" |
| 285 | default 0 |
| 286 | help |
| 287 | EEPROM chips that implement "address overflow" are ones |
| 288 | like Catalyst 24WC04/08/16 which has 9/10/11 bits of |
| 289 | address and the extra bits end up in the "chip address" bit |
| 290 | slots. This makes a 24WC08 (1Kbyte) chip look like four 256 |
| 291 | byte chips. |
| 292 | |
| 293 | endif |
| 294 | |
Mario Six | 7f504a0 | 2018-04-27 14:53:33 +0200 | [diff] [blame] | 295 | config GDSYS_RXAUI_CTRL |
| 296 | bool "Enable gdsys RXAUI control driver" |
| 297 | depends on MISC |
| 298 | help |
| 299 | Support gdsys FPGA's RXAUI control. |
Mario Six | 0cafb65 | 2018-07-31 14:24:15 +0200 | [diff] [blame] | 300 | |
| 301 | config GDSYS_IOEP |
| 302 | bool "Enable gdsys IOEP driver" |
| 303 | depends on MISC |
| 304 | help |
| 305 | Support gdsys FPGA's IO endpoint driver. |
Mario Six | 7fdcf28 | 2018-08-06 10:23:46 +0200 | [diff] [blame] | 306 | |
| 307 | config MPC83XX_SERDES |
| 308 | bool "Enable MPC83xx serdes driver" |
| 309 | depends on MISC |
| 310 | help |
| 311 | Support for serdes found on MPC83xx SoCs. |
| 312 | |
Tien Fong Chee | 5ca878b | 2018-07-06 16:28:03 +0800 | [diff] [blame] | 313 | config FS_LOADER |
| 314 | bool "Enable loader driver for file system" |
| 315 | help |
| 316 | This is file system generic loader which can be used to load |
| 317 | the file image from the storage into target such as memory. |
| 318 | |
| 319 | The consumer driver would then use this loader to program whatever, |
| 320 | ie. the FPGA device. |
| 321 | |
Mario Six | 8862f45 | 2018-10-04 09:00:54 +0200 | [diff] [blame] | 322 | config GDSYS_SOC |
| 323 | bool "Enable gdsys SOC driver" |
| 324 | depends on MISC |
| 325 | help |
| 326 | Support for gdsys IHS SOC, a simple bus associated with each gdsys |
| 327 | IHS (Integrated Hardware Systems) FPGA, which holds all devices whose |
| 328 | register maps are contained within the FPGA's register map. |
| 329 | |
Mario Six | 1a9d43f | 2018-10-04 09:00:55 +0200 | [diff] [blame] | 330 | config IHS_FPGA |
| 331 | bool "Enable IHS FPGA driver" |
| 332 | depends on MISC |
| 333 | help |
| 334 | Support IHS (Integrated Hardware Systems) FPGA, the main FPGAs on |
| 335 | gdsys devices, which supply the majority of the functionality offered |
| 336 | by the devices. This driver supports both CON and CPU variants of the |
| 337 | devices, depending on the device tree entry. |
| 338 | |
Masahiro Yamada | cc85b7b | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 339 | endmenu |