xref: /openbmc/u-boot/drivers/misc/Kconfig (revision f9917454d55caf3dafa41b27d8d8274716433a4c)
16fb9ac15SSimon Glassconfig CMD_CROS_EC
26fb9ac15SSimon Glass	bool "Enable crosec command"
36fb9ac15SSimon Glass	depends on CROS_EC
46fb9ac15SSimon Glass	help
56fb9ac15SSimon Glass	  Enable command-line access to the Chrome OS EC (Embedded
66fb9ac15SSimon Glass	  Controller). This provides the 'crosec' command which has
76fb9ac15SSimon Glass	  a number of sub-commands for performing EC tasks such as
86fb9ac15SSimon Glass	  updating its flash, accessing a small saved context area
96fb9ac15SSimon Glass	  and talking to the I2C bus behind the EC (if there is one).
106fb9ac15SSimon Glass
116fb9ac15SSimon Glassconfig CROS_EC
126fb9ac15SSimon Glass	bool "Enable Chrome OS EC"
136fb9ac15SSimon Glass	help
146fb9ac15SSimon Glass	  Enable access to the Chrome OS EC. This is a separate
156fb9ac15SSimon Glass	  microcontroller typically available on a SPI bus on Chromebooks. It
166fb9ac15SSimon Glass	  provides access to the keyboard, some internal storage and may
176fb9ac15SSimon Glass	  control access to the battery and main PMIC depending on the
186fb9ac15SSimon Glass	  device. You can use the 'crosec' command to access it.
196fb9ac15SSimon Glass
206fb9ac15SSimon Glassconfig CROS_EC_I2C
216fb9ac15SSimon Glass	bool "Enable Chrome OS EC I2C driver"
226fb9ac15SSimon Glass	depends on CROS_EC
236fb9ac15SSimon Glass	help
246fb9ac15SSimon Glass	  Enable I2C access to the Chrome OS EC. This is used on older
256fb9ac15SSimon Glass	  ARM Chromebooks such as snow and spring before the standard bus
266fb9ac15SSimon Glass	  changed to SPI. The EC will accept commands across the I2C using
276fb9ac15SSimon Glass	  a special message protocol, and provide responses.
286fb9ac15SSimon Glass
296fb9ac15SSimon Glassconfig CROS_EC_LPC
306fb9ac15SSimon Glass	bool "Enable Chrome OS EC LPC driver"
316fb9ac15SSimon Glass	depends on CROS_EC
326fb9ac15SSimon Glass	help
336fb9ac15SSimon Glass	  Enable I2C access to the Chrome OS EC. This is used on x86
346fb9ac15SSimon Glass	  Chromebooks such as link and falco. The keyboard is provided
356fb9ac15SSimon Glass	  through a legacy port interface, so on x86 machines the main
366fb9ac15SSimon Glass	  function of the EC is power and thermal management.
376fb9ac15SSimon Glass
3847cb8c65SSimon Glassconfig CROS_EC_SANDBOX
3947cb8c65SSimon Glass	bool "Enable Chrome OS EC sandbox driver"
4047cb8c65SSimon Glass	depends on CROS_EC && SANDBOX
4147cb8c65SSimon Glass	help
4247cb8c65SSimon Glass	  Enable a sandbox emulation of the Chrome OS EC. This supports
4347cb8c65SSimon Glass	  keyboard (use the -l flag to enable the LCD), verified boot context,
4447cb8c65SSimon Glass	  EC flash read/write/erase support and a few other things. It is
4547cb8c65SSimon Glass	  enough to perform a Chrome OS verified boot on sandbox.
4647cb8c65SSimon Glass
476fb9ac15SSimon Glassconfig CROS_EC_SPI
486fb9ac15SSimon Glass	bool "Enable Chrome OS EC SPI driver"
496fb9ac15SSimon Glass	depends on CROS_EC
506fb9ac15SSimon Glass	help
516fb9ac15SSimon Glass	  Enable SPI access to the Chrome OS EC. This is used on newer
526fb9ac15SSimon Glass	  ARM Chromebooks such as pit, pi and nyan-big. The SPI interface
536fb9ac15SSimon Glass	  provides a faster and more robust interface than I2C but the bugs
546fb9ac15SSimon Glass	  are less interesting.
556fb9ac15SSimon Glass
56fe78378dSgaurav ranaconfig CONFIG_FSL_SEC_MON
57fe78378dSgaurav rana	bool "Enable FSL SEC_MON Driver"
58fe78378dSgaurav rana	help
59fe78378dSgaurav rana	  Freescale Security Monitor block is responsible for monitoring
60fe78378dSgaurav rana	  system states.
61fe78378dSgaurav rana	  Security Monitor can be transitioned on any security failures,
62fe78378dSgaurav rana	  like software violations or hardware security violations.
631cdd9412SStefan Roese
641cdd9412SStefan Roeseconfig PCA9551_LED
651cdd9412SStefan Roese	bool "Enable PCA9551 LED driver"
661cdd9412SStefan Roese	help
671cdd9412SStefan Roese	  Enable driver for PCA9551 LED controller. This controller
681cdd9412SStefan Roese	  is connected via I2C. So I2C needs to be enabled.
691cdd9412SStefan Roese
701cdd9412SStefan Roeseconfig PCA9551_I2C_ADDR
711cdd9412SStefan Roese	hex "I2C address of PCA9551 LED controller"
721cdd9412SStefan Roese	depends on PCA9551_LED
731cdd9412SStefan Roese	default 0x60
741cdd9412SStefan Roese	help
751cdd9412SStefan Roese	  The I2C address of the PCA9551 LED controller.
76*f9917454SSimon Glass
77*f9917454SSimon Glassconfig RESET
78*f9917454SSimon Glass	bool "Enable support for reset drivers"
79*f9917454SSimon Glass	depends on DM
80*f9917454SSimon Glass	help
81*f9917454SSimon Glass	  Enable reset drivers which can be used to reset the CPU or board.
82*f9917454SSimon Glass	  Each driver can provide a reset method which will be called to
83*f9917454SSimon Glass	  effect a reset. The uclass will try all available drivers when
84*f9917454SSimon Glass	  reset_walk() is called.
85