xref: /openbmc/u-boot/drivers/misc/Kconfig (revision ca844dd8c55f3b7bbba8144b0dcbf1297fcaece0)
10b11dbf7SMasahiro Yamada#
20b11dbf7SMasahiro Yamada# Multifunction miscellaneous devices
30b11dbf7SMasahiro Yamada#
40b11dbf7SMasahiro Yamada
50b11dbf7SMasahiro Yamadamenu "Multifunction device drivers"
60b11dbf7SMasahiro Yamada
74395e06eSThomas Chouconfig MISC
84395e06eSThomas Chou	bool "Enable Driver Model for Misc drivers"
94395e06eSThomas Chou	depends on DM
104395e06eSThomas Chou	help
114395e06eSThomas Chou	  Enable driver model for miscellaneous devices. This class is
124395e06eSThomas Chou	  used only for those do not fit other more general classes. A
134395e06eSThomas Chou	  set of generic read, write and ioctl methods may be used to
144395e06eSThomas Chou	  access the device.
154395e06eSThomas Chou
16*ca844dd8SThomas Chouconfig ALTERA_SYSID
17*ca844dd8SThomas Chou	bool "Altera Sysid support"
18*ca844dd8SThomas Chou	depends on MISC
19*ca844dd8SThomas Chou	help
20*ca844dd8SThomas Chou	  Select this to enable a sysid for Altera devices. Please find
21*ca844dd8SThomas Chou	  details on the "Embedded Peripherals IP User Guide" of Altera.
22*ca844dd8SThomas Chou
236fb9ac15SSimon Glassconfig CMD_CROS_EC
246fb9ac15SSimon Glass	bool "Enable crosec command"
256fb9ac15SSimon Glass	depends on CROS_EC
266fb9ac15SSimon Glass	help
276fb9ac15SSimon Glass	  Enable command-line access to the Chrome OS EC (Embedded
286fb9ac15SSimon Glass	  Controller). This provides the 'crosec' command which has
296fb9ac15SSimon Glass	  a number of sub-commands for performing EC tasks such as
306fb9ac15SSimon Glass	  updating its flash, accessing a small saved context area
316fb9ac15SSimon Glass	  and talking to the I2C bus behind the EC (if there is one).
326fb9ac15SSimon Glass
336fb9ac15SSimon Glassconfig CROS_EC
346fb9ac15SSimon Glass	bool "Enable Chrome OS EC"
356fb9ac15SSimon Glass	help
366fb9ac15SSimon Glass	  Enable access to the Chrome OS EC. This is a separate
376fb9ac15SSimon Glass	  microcontroller typically available on a SPI bus on Chromebooks. It
386fb9ac15SSimon Glass	  provides access to the keyboard, some internal storage and may
396fb9ac15SSimon Glass	  control access to the battery and main PMIC depending on the
406fb9ac15SSimon Glass	  device. You can use the 'crosec' command to access it.
416fb9ac15SSimon Glass
426fb9ac15SSimon Glassconfig CROS_EC_I2C
436fb9ac15SSimon Glass	bool "Enable Chrome OS EC I2C driver"
446fb9ac15SSimon Glass	depends on CROS_EC
456fb9ac15SSimon Glass	help
466fb9ac15SSimon Glass	  Enable I2C access to the Chrome OS EC. This is used on older
476fb9ac15SSimon Glass	  ARM Chromebooks such as snow and spring before the standard bus
486fb9ac15SSimon Glass	  changed to SPI. The EC will accept commands across the I2C using
496fb9ac15SSimon Glass	  a special message protocol, and provide responses.
506fb9ac15SSimon Glass
516fb9ac15SSimon Glassconfig CROS_EC_LPC
526fb9ac15SSimon Glass	bool "Enable Chrome OS EC LPC driver"
536fb9ac15SSimon Glass	depends on CROS_EC
546fb9ac15SSimon Glass	help
556fb9ac15SSimon Glass	  Enable I2C access to the Chrome OS EC. This is used on x86
566fb9ac15SSimon Glass	  Chromebooks such as link and falco. The keyboard is provided
576fb9ac15SSimon Glass	  through a legacy port interface, so on x86 machines the main
586fb9ac15SSimon Glass	  function of the EC is power and thermal management.
596fb9ac15SSimon Glass
6047cb8c65SSimon Glassconfig CROS_EC_SANDBOX
6147cb8c65SSimon Glass	bool "Enable Chrome OS EC sandbox driver"
6247cb8c65SSimon Glass	depends on CROS_EC && SANDBOX
6347cb8c65SSimon Glass	help
6447cb8c65SSimon Glass	  Enable a sandbox emulation of the Chrome OS EC. This supports
6547cb8c65SSimon Glass	  keyboard (use the -l flag to enable the LCD), verified boot context,
6647cb8c65SSimon Glass	  EC flash read/write/erase support and a few other things. It is
6747cb8c65SSimon Glass	  enough to perform a Chrome OS verified boot on sandbox.
6847cb8c65SSimon Glass
696fb9ac15SSimon Glassconfig CROS_EC_SPI
706fb9ac15SSimon Glass	bool "Enable Chrome OS EC SPI driver"
716fb9ac15SSimon Glass	depends on CROS_EC
726fb9ac15SSimon Glass	help
736fb9ac15SSimon Glass	  Enable SPI access to the Chrome OS EC. This is used on newer
746fb9ac15SSimon Glass	  ARM Chromebooks such as pit, pi and nyan-big. The SPI interface
756fb9ac15SSimon Glass	  provides a faster and more robust interface than I2C but the bugs
766fb9ac15SSimon Glass	  are less interesting.
776fb9ac15SSimon Glass
78c12e0d93SPeng Fanconfig FSL_SEC_MON
79fe78378dSgaurav rana	bool "Enable FSL SEC_MON Driver"
80fe78378dSgaurav rana	help
81fe78378dSgaurav rana	  Freescale Security Monitor block is responsible for monitoring
82fe78378dSgaurav rana	  system states.
83fe78378dSgaurav rana	  Security Monitor can be transitioned on any security failures,
84fe78378dSgaurav rana	  like software violations or hardware security violations.
851cdd9412SStefan Roese
861cdd9412SStefan Roeseconfig PCA9551_LED
871cdd9412SStefan Roese	bool "Enable PCA9551 LED driver"
881cdd9412SStefan Roese	help
891cdd9412SStefan Roese	  Enable driver for PCA9551 LED controller. This controller
901cdd9412SStefan Roese	  is connected via I2C. So I2C needs to be enabled.
911cdd9412SStefan Roese
921cdd9412SStefan Roeseconfig PCA9551_I2C_ADDR
931cdd9412SStefan Roese	hex "I2C address of PCA9551 LED controller"
941cdd9412SStefan Roese	depends on PCA9551_LED
951cdd9412SStefan Roese	default 0x60
961cdd9412SStefan Roese	help
971cdd9412SStefan Roese	  The I2C address of the PCA9551 LED controller.
98f9917454SSimon Glass
99f9917454SSimon Glassconfig RESET
100f9917454SSimon Glass	bool "Enable support for reset drivers"
101f9917454SSimon Glass	depends on DM
102f9917454SSimon Glass	help
103f9917454SSimon Glass	  Enable reset drivers which can be used to reset the CPU or board.
104f9917454SSimon Glass	  Each driver can provide a reset method which will be called to
105f9917454SSimon Glass	  effect a reset. The uclass will try all available drivers when
106f9917454SSimon Glass	  reset_walk() is called.
1070b11dbf7SMasahiro Yamada
1080b11dbf7SMasahiro Yamadaendmenu
109