2 # Multifunction miscellaneous devices
5 menu "Multifunction device drivers"
8 bool "Enable Driver Model for Misc drivers"
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
17 bool "Enable Driver Model for Misc drivers in SPL"
21 Enable driver model for miscellaneous devices. This class is
22 used only for those do not fit other more general classes. A
23 set of generic read, write and ioctl methods may be used to
27 bool "Enable Driver Model for Misc drivers in TPL"
31 Enable driver model for miscellaneous devices. This class is
32 used only for those do not fit other more general classes. A
33 set of generic read, write and ioctl methods may be used to
37 bool "Enable Driver Model for Misc drivers in VPL"
41 Enable driver model for miscellaneous devices. This class is
42 used only for those do not fit other more general classes. A
43 set of generic read, write and ioctl methods may be used to
49 This adds support for a common interface to different types of
50 non-volatile memory. Consumers can use nvmem-cells properties to look
51 up hardware configuration data such as MAC addresses and calibration
55 bool "NVMEM support in SPL"
57 This adds support for a common interface to different types of
58 non-volatile memory. Consumers can use nvmem-cells properties to look
59 up hardware configuration data such as MAC addresses and calibration
63 bool "Altera Sysid support"
66 Select this to enable a sysid for Altera devices. Please find
67 details on the "Embedded Peripherals IP User Guide" of Altera.
70 bool "Support for Atmel ATSHA204A module"
74 Enable support for I2C connected Atmel's ATSHA204A
75 CryptoAuthentication module found for example on the Turris Omnia
79 bool "Gateworks System Controller Support"
82 Enable access for the Gateworks System Controller used on Gateworks
83 boards to provide a boot watchdog, power control, temperature monitor,
84 voltage ADCs, and EEPROM.
87 bool "Rockchip e-fuse support"
90 Enable (read-only) access for the e-fuse block found in Rockchip
91 SoCs: accesses can either be made using byte addressing and a length
92 or through child-nodes that are generated based on the e-fuse map
93 retrieved from the DTS.
96 bool "Rockchip OTP Support"
99 Enable (read-only) access for the one-time-programmable memory block
100 found in Rockchip SoCs: accesses can either be made using byte
101 addressing and a length or through child-nodes that are generated
102 based on the e-fuse map retrieved from the DTS.
104 config ROCKCHIP_IODOMAIN
105 bool "Rockchip IO-domain driver support"
106 depends on DM_REGULATOR && ARCH_ROCKCHIP
107 default y if ROCKCHIP_RK3328 || ROCKCHIP_RK3568
109 Enable support for IO-domains in Rockchip SoCs. It is necessary
110 for the IO-domain setting of the SoC to match the voltage supplied
114 bool "SiFive eMemory OTP driver"
117 Enable support for reading and writing the eMemory OTP on the
121 bool "LPC47M SMSC driver"
124 bool "SIO1007 SMSC driver"
126 config VEXPRESS_CONFIG
127 bool "Enable support for Arm Versatile Express config bus"
130 If you say Y here, you will get support for accessing the
131 configuration bus on the Arm Versatile Express boards via
135 bool "Write console output to coreboot cbmem"
138 Enables console output to the cbmem console, which is a memory
139 region set up by coreboot to hold a record of all console output.
140 Enable this only if booting from coreboot.
143 bool "Enable crosec command"
146 Enable command-line access to the Chrome OS EC (Embedded
147 Controller). This provides the 'crosec' command which has
148 a number of sub-commands for performing EC tasks such as
149 updating its flash, accessing a small saved context area
150 and talking to the I2C bus behind the EC (if there is one).
153 bool "Enable Chrome OS EC"
155 Enable access to the Chrome OS EC. This is a separate
156 microcontroller typically available on a SPI bus on Chromebooks. It
157 provides access to the keyboard, some internal storage and may
158 control access to the battery and main PMIC depending on the
159 device. You can use the 'crosec' command to access it.
162 bool "Enable Chrome OS EC in SPL"
165 Enable access to the Chrome OS EC in SPL. This is a separate
166 microcontroller typically available on a SPI bus on Chromebooks. It
167 provides access to the keyboard, some internal storage and may
168 control access to the battery and main PMIC depending on the
169 device. You can use the 'crosec' command to access it.
172 bool "Enable Chrome OS EC in TPL"
175 Enable access to the Chrome OS EC in TPL. This is a separate
176 microcontroller typically available on a SPI bus on Chromebooks. It
177 provides access to the keyboard, some internal storage and may
178 control access to the battery and main PMIC depending on the
179 device. You can use the 'crosec' command to access it.
182 bool "Enable Chrome OS EC in VPL"
185 Enable access to the Chrome OS EC in VPL. This is a separate
186 microcontroller typically available on a SPI bus on Chromebooks. It
187 provides access to the keyboard, some internal storage and may
188 control access to the battery and main PMIC depending on the
189 device. You can use the 'crosec' command to access it.
192 bool "Enable Chrome OS EC I2C driver"
195 Enable I2C access to the Chrome OS EC. This is used on older
196 ARM Chromebooks such as snow and spring before the standard bus
197 changed to SPI. The EC will accept commands across the I2C using
198 a special message protocol, and provide responses.
201 bool "Enable Chrome OS EC LPC driver"
204 Enable I2C access to the Chrome OS EC. This is used on x86
205 Chromebooks such as link and falco. The keyboard is provided
206 through a legacy port interface, so on x86 machines the main
207 function of the EC is power and thermal management.
209 config SPL_CROS_EC_LPC
210 bool "Enable Chrome OS EC LPC driver in SPL"
211 depends on CROS_EC && SPL_MISC
213 Enable I2C access to the Chrome OS EC. This is used on x86
214 Chromebooks such as link and falco. The keyboard is provided
215 through a legacy port interface, so on x86 machines the main
216 function of the EC is power and thermal management.
218 config TPL_CROS_EC_LPC
219 bool "Enable Chrome OS EC LPC driver in TPL"
220 depends on CROS_EC && TPL_MISC
222 Enable I2C access to the Chrome OS EC. This is used on x86
223 Chromebooks such as link and falco. The keyboard is provided
224 through a legacy port interface, so on x86 machines the main
225 function of the EC is power and thermal management.
227 config VPL_CROS_EC_LPC
228 bool "Enable Chrome OS EC LPC driver in VPL"
229 depends on CROS_EC && VPL_MISC
231 Enable I2C access to the Chrome OS EC. This is used on x86
232 Chromebooks such as link and falco. The keyboard is provided
233 through a legacy port interface, so on x86 machines the main
234 function of the EC is power and thermal management.
236 config CROS_EC_SANDBOX
237 bool "Enable Chrome OS EC sandbox driver"
238 depends on CROS_EC && SANDBOX
240 Enable a sandbox emulation of the Chrome OS EC. This supports
241 keyboard (use the -l flag to enable the LCD), verified boot context,
242 EC flash read/write/erase support and a few other things. It is
243 enough to perform a Chrome OS verified boot on sandbox.
245 config SPL_CROS_EC_SANDBOX
246 bool "Enable Chrome OS EC sandbox driver in SPL"
247 depends on SPL_CROS_EC && SANDBOX
249 Enable a sandbox emulation of the Chrome OS EC in SPL. This supports
250 keyboard (use the -l flag to enable the LCD), verified boot context,
251 EC flash read/write/erase support and a few other things. It is
252 enough to perform a Chrome OS verified boot on sandbox.
254 config TPL_CROS_EC_SANDBOX
255 bool "Enable Chrome OS EC sandbox driver in TPL"
256 depends on TPL_CROS_EC && SANDBOX
258 Enable a sandbox emulation of the Chrome OS EC in TPL. This supports
259 keyboard (use the -l flag to enable the LCD), verified boot context,
260 EC flash read/write/erase support and a few other things. It is
261 enough to perform a Chrome OS verified boot on sandbox.
263 config VPL_CROS_EC_SANDBOX
264 bool "Enable Chrome OS EC sandbox driver in VPL"
265 depends on VPL_CROS_EC && SANDBOX
267 Enable a sandbox emulation of the Chrome OS EC in VPL. This supports
268 keyboard (use the -l flag to enable the LCD), verified boot context,
269 EC flash read/write/erase support and a few other things. It is
270 enough to perform a Chrome OS verified boot on sandbox.
273 bool "Enable Chrome OS EC SPI driver"
276 Enable SPI access to the Chrome OS EC. This is used on newer
277 ARM Chromebooks such as pit, pi and nyan-big. The SPI interface
278 provides a faster and more robust interface than I2C but the bugs
279 are less interesting.
282 bool "Enable support for DS4510 CPU supervisor"
284 Enable support for the Maxim DS4510 CPU supervisor. It has an
285 integrated 64-byte EEPROM, four programmable non-volatile I/O pins
286 and a configurable timer for the supervisor function. The device is
290 bool "Enable FSL IC Identification Module (IIM) driver"
291 depends on ARCH_MX31 || ARCH_MX5
294 bool "Enable FSL SEC_MON Driver"
296 Freescale Security Monitor block is responsible for monitoring
298 Security Monitor can be transitioned on any security failures,
299 like software violations or hardware security violations.
302 prompt "Security monitor interaction endianess"
303 depends on FSL_SEC_MON
304 default SYS_FSL_SEC_MON_BE if PPC
305 default SYS_FSL_SEC_MON_LE
307 config SYS_FSL_SEC_MON_LE
308 bool "Security monitor interactions are little endian"
310 config SYS_FSL_SEC_MON_BE
311 bool "Security monitor interactions are big endian"
316 bool "Interrupt controller"
318 This enables support for interrupt controllers, including ITSS.
319 Some devices have extra features, such as Apollo Lake. The
320 device has its own uclass since there are several operations
324 bool "Ingenic JZ4780 eFUSE support"
325 depends on ARCH_JZ47XX
327 This selects support for the eFUSE on Ingenic JZ4780 SoCs.
330 bool "Layerscape Security Fuse Processor"
331 depends on FSL_LSCH2 || ARCH_LS1021A
335 This adds support for the Security Fuse Processor found on Layerscape
336 SoCs. It contains various fuses related to secure boot, including the
337 Super Root Key hash, One-Time-Programmable Master Key, Debug
338 Challenge/Response values, and others. Fuses are numbered according
339 to their four-byte offset from the start of the bank.
341 If you don't need to read/program fuses, say 'n'.
344 bool "Enable MXC OCOTP Driver"
345 depends on ARCH_IMX8M || ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP || ARCH_VF610
348 If you say Y here, you will get support for the One Time
349 Programmable memory pages that are stored on the some
350 Freescale i.MX processors.
353 bool "Enable MXS OCOTP Driver"
354 depends on ARCH_MX23 || ARCH_MX28
356 If you say Y here, you will get support for the One Time
357 Programmable memory pages that are stored on the
358 Freescale i.MXS family of processors.
361 bool "Enable support espi or LPC for Host"
362 depends on REGMAP && SYSCON
364 Enable NPCM BMC espi or LPC support for Host reading and writing.
367 bool "Enable MXC OCOTP driver in SPL"
368 depends on SPL_DRIVERS_MISC && (ARCH_IMX8M || ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP || ARCH_VF610)
371 If you say Y here, you will get support for the One Time
372 Programmable memory pages, that are stored on some
373 Freescale i.MX processors, in SPL.
376 bool "Nnvoton NPCM BMC On-Chip OTP Memory Support"
377 depends on (ARM && ARCH_NPCM)
379 Support NPCM BMC OTP memory (fuse).
380 To compile this driver as a module, choose M here: the module
381 will be called npcm_otp.
384 bool "Enable i.MX EdgeLock Enclave MU driver and API"
385 depends on MISC && (ARCH_IMX9 || ARCH_IMX8ULP)
387 If you say Y here to enable Message Unit driver to work with
388 Sentinel core on some NXP i.MX processors.
390 config NUVOTON_NCT6102D
391 bool "Enable Nuvoton NCT6102D Super I/O driver"
393 If you say Y here, you will get support for the Nuvoton
394 NCT6102D Super I/O driver. This can be used to enable or
395 disable the legacy UART, the watchdog or other devices
396 in the Nuvoton Super IO chips on X86 platforms.
399 bool "Intel Primary to Sideband Bridge"
400 depends on X86 || SANDBOX
402 This enables support for the Intel Primary to Sideband Bridge,
403 abbreviated to P2SB. The P2SB is used to access various peripherals
404 such as eSPI, GPIO, through memory-mapped I/O in a large chunk of PCI
405 space. The space is segmented into different channels and peripherals
406 are accessed by device-specific means within those channels. Devices
407 should be added in the device tree as subnodes of the P2SB. A
408 Peripheral Channel Register? (PCR) API is provided to access those
409 devices - see pcr_readl(), etc.
412 bool "Intel Primary to Sideband Bridge in SPL"
413 depends on SPL_MISC && (X86 || SANDBOX)
415 The Primary to Sideband Bridge is used to access various peripherals
416 through memory-mapped I/O in a large chunk of PCI space. The space is
417 segmented into different channels and peripherals are accessed by
418 device-specific means within those channels. Devices should be added
419 in the device tree as subnodes of the p2sb.
422 bool "Intel Primary to Sideband Bridge in TPL"
423 depends on TPL_MISC && (X86 || SANDBOX)
425 The Primary to Sideband Bridge is used to access various peripherals
426 through memory-mapped I/O in a large chunk of PCI space. The space is
427 segmented into different channels and peripherals are accessed by
428 device-specific means within those channels. Devices should be added
429 in the device tree as subnodes of the p2sb.
432 bool "Enable power-sequencing drivers"
435 Power-sequencing drivers provide support for controlling power for
436 devices. They are typically referenced by a phandle from another
437 device. When the device is started up, its power sequence can be
441 bool "Enable power-sequencing drivers for SPL"
442 depends on SPL_MISC && PWRSEQ
444 Power-sequencing drivers provide support for controlling power for
445 devices. They are typically referenced by a phandle from another
446 device. When the device is started up, its power sequence can be
450 bool "Enable PCA9551 LED driver"
452 Enable driver for PCA9551 LED controller. This controller
453 is connected via I2C. So I2C needs to be enabled.
455 config PCA9551_I2C_ADDR
456 hex "I2C address of PCA9551 LED controller"
457 depends on PCA9551_LED
460 The I2C address of the PCA9551 LED controller.
463 bool "Enable STM32MP fuse wrapper providing the fuse API"
464 depends on ARCH_STM32MP && MISC
465 default y if CMD_FUSE
467 If you say Y here, you will get support for the fuse API (OTP)
468 for STM32MP architecture.
469 This API is needed for CMD_FUSE.
472 bool "Enable RCC driver for the STM32 SoC's family"
473 depends on (ARCH_STM32 || ARCH_STM32MP) && MISC
475 Enable the STM32 RCC driver. The RCC block (Reset and Clock Control
476 block) is responsible of the management of the clock and reset
478 This driver is similar to an MFD driver in the Linux kernel.
481 bool "Enable support for the Tegra CAR driver"
482 depends on TEGRA_NO_BPMP
484 The Tegra CAR (Clock and Reset Controller) is a HW module that
485 controls almost all clocks and resets in a Tegra SoC.
488 bool "Enable support for the Tegra186 BPMP driver"
491 The Tegra BPMP (Boot and Power Management Processor) is a separate
492 auxiliary CPU embedded into Tegra to perform power management work,
493 and controls related features such as clocks, resets, power domains,
494 PMIC I2C bus, etc. This driver provides the core low-level
495 communication path by which feature-specific drivers (such as clock)
496 can make requests to the BPMP. This driver is similar to an MFD
497 driver in the Linux kernel.
500 bool "Enable support for test drivers"
503 This enables drivers and uclasses that provides a way of testing the
504 operations of memory allocation and driver/uclass methods in driver
505 model. This should only be enabled for testing as it is not useful for
508 config TURRIS_OMNIA_MCU
509 bool "Enable Turris Omnia MCU driver"
514 default y if TARGET_TURRIS_OMNIA
516 This enables support for Turris Omnia MCU connected GPIOs and
519 config USB_HUB_USB251XB
520 tristate "USB251XB Hub Controller Configuration Driver"
523 This option enables support for configuration via SMBus of the
524 Microchip USB251x/xBi USB 2.0 Hub Controller series. Configuration
525 parameters may be set in devicetree or platform data.
526 Say Y or M here if you need to configure such a device via SMBus.
529 bool "Enable TWL4030 LED controller"
531 Enable this to add support for the TWL4030 LED controller.
533 config WINBOND_W83627
534 bool "Enable Winbond Super I/O driver"
536 If you say Y here, you will get support for the Winbond
537 W83627 Super I/O driver. This can be used to enable the
538 legacy UART or other devices in the Winbond Super IO chips
544 Hidden option to enable QEMU fw_cfg interface and uclass. This will
545 be selected by either CONFIG_CMD_QFW or CONFIG_GENERATE_ACPI_TABLE.
550 depends on QFW && GENERATE_ACPI_TABLE && !SANDBOX
552 Hidden option to read ACPI tables from QEMU.
558 Hidden option to enable PIO QEMU fw_cfg interface. This will be
559 selected by the appropriate QEMU board.
565 Hidden option to enable MMIO QEMU fw_cfg interface. This will be
566 selected by the appropriate QEMU board.
571 depends on QFW && SMBIOS && !SANDBOX
573 Hidden option to read SMBIOS tables from QEMU.
576 bool "Enable driver for generic I2C-attached EEPROMs"
579 Enable a generic driver for EEPROMs attached via I2C.
582 config SPL_I2C_EEPROM
583 bool "Enable driver for generic I2C-attached EEPROMs for SPL"
586 This option is an SPL-variant of the I2C_EEPROM option.
587 See the help of I2C_EEPROM for details.
589 config SYS_I2C_EEPROM_ADDR
590 hex "Chip address of the EEPROM device"
591 depends on ID_EEPROM || I2C_EEPROM || SPL_I2C_EEPROM || CMD_EEPROM || ENV_IS_IN_EEPROM
596 config SYS_I2C_EEPROM_ADDR_OVERFLOW
597 hex "EEPROM Address Overflow"
600 EEPROM chips that implement "address overflow" are ones
601 like Catalyst 24WC04/08/16 which has 9/10/11 bits of
602 address and the extra bits end up in the "chip address" bit
603 slots. This makes a 24WC08 (1Kbyte) chip look like four 256
608 config GDSYS_RXAUI_CTRL
609 bool "Enable gdsys RXAUI control driver"
612 Support gdsys FPGA's RXAUI control.
615 bool "Enable gdsys IOEP driver"
618 Support gdsys FPGA's IO endpoint driver.
620 config MPC83XX_SERDES
621 bool "Enable MPC83xx serdes driver"
624 Support for serdes found on MPC83xx SoCs.
627 bool "Enable loader driver for file system"
629 This is file system generic loader which can be used to load
630 the file image from the storage into target such as memory.
632 The consumer driver would then use this loader to program whatever,
636 bool "Enable loader driver for file system in SPL"
639 This is file system generic loader which can be used to load
640 the file image from the storage into target such as memory.
642 The consumer driver would then use this loader to program whatever,
646 bool "Enable gdsys SOC driver"
649 Support for gdsys IHS SOC, a simple bus associated with each gdsys
650 IHS (Integrated Hardware Systems) FPGA, which holds all devices whose
651 register maps are contained within the FPGA's register map.
654 bool "Enable IHS FPGA driver"
657 Support IHS (Integrated Hardware Systems) FPGA, the main FPGAs on
658 gdsys devices, which supply the majority of the functionality offered
659 by the devices. This driver supports both CON and CPU variants of the
660 devices, depending on the device tree entry.
662 bool "Enable K3 ESM driver"
665 Support ESM (Error Signaling Module) on TI K3 SoCs.
667 config MICROCHIP_FLEXCOM
668 bool "Enable Microchip Flexcom driver"
671 The Atmel Flexcom is just a wrapper which embeds a SPI controller,
672 an I2C controller and an USART.
673 Only one function can be used at a time and is chosen at boot time
674 according to the device tree.
677 depends on ARCH_K3 && SPL_DM_REGULATOR
678 bool "AVS class 0 support for K3 devices"
680 K3 devices have the optimized voltage values for the main voltage
681 domains stored in efuse within the VTM IP. This driver reads the
682 optimized voltage from the efuse, so that it can be programmed
683 to the PMIC on board.
686 bool "Enable PMIC ESM driver"
689 Support ESM (Error Signal Monitor) on PMIC devices. ESM is used
690 typically to reboot the board in error condition.
696 bool "Enable Kontron sl28cpld multi-function driver"
699 Support for the Kontron sl28cpld management controller. This is
700 the base driver which provides common access methods for the
703 config SPL_SOCFPGA_DT_REG
704 bool "Enable register setting from device tree in SPL"
707 Enable register setting from device tree. This also
708 provides user a clean interface and all register settings are
709 centralized in one place, device tree.