10b11dbf7SMasahiro Yamada# 20b11dbf7SMasahiro Yamada# Multifunction miscellaneous devices 30b11dbf7SMasahiro Yamada# 40b11dbf7SMasahiro Yamada 50b11dbf7SMasahiro Yamadamenu "Multifunction device drivers" 60b11dbf7SMasahiro Yamada 76fb9ac15SSimon Glassconfig CMD_CROS_EC 86fb9ac15SSimon Glass bool "Enable crosec command" 96fb9ac15SSimon Glass depends on CROS_EC 106fb9ac15SSimon Glass help 116fb9ac15SSimon Glass Enable command-line access to the Chrome OS EC (Embedded 126fb9ac15SSimon Glass Controller). This provides the 'crosec' command which has 136fb9ac15SSimon Glass a number of sub-commands for performing EC tasks such as 146fb9ac15SSimon Glass updating its flash, accessing a small saved context area 156fb9ac15SSimon Glass and talking to the I2C bus behind the EC (if there is one). 166fb9ac15SSimon Glass 176fb9ac15SSimon Glassconfig CROS_EC 186fb9ac15SSimon Glass bool "Enable Chrome OS EC" 196fb9ac15SSimon Glass help 206fb9ac15SSimon Glass Enable access to the Chrome OS EC. This is a separate 216fb9ac15SSimon Glass microcontroller typically available on a SPI bus on Chromebooks. It 226fb9ac15SSimon Glass provides access to the keyboard, some internal storage and may 236fb9ac15SSimon Glass control access to the battery and main PMIC depending on the 246fb9ac15SSimon Glass device. You can use the 'crosec' command to access it. 256fb9ac15SSimon Glass 266fb9ac15SSimon Glassconfig CROS_EC_I2C 276fb9ac15SSimon Glass bool "Enable Chrome OS EC I2C driver" 286fb9ac15SSimon Glass depends on CROS_EC 296fb9ac15SSimon Glass help 306fb9ac15SSimon Glass Enable I2C access to the Chrome OS EC. This is used on older 316fb9ac15SSimon Glass ARM Chromebooks such as snow and spring before the standard bus 326fb9ac15SSimon Glass changed to SPI. The EC will accept commands across the I2C using 336fb9ac15SSimon Glass a special message protocol, and provide responses. 346fb9ac15SSimon Glass 356fb9ac15SSimon Glassconfig CROS_EC_LPC 366fb9ac15SSimon Glass bool "Enable Chrome OS EC LPC driver" 376fb9ac15SSimon Glass depends on CROS_EC 386fb9ac15SSimon Glass help 396fb9ac15SSimon Glass Enable I2C access to the Chrome OS EC. This is used on x86 406fb9ac15SSimon Glass Chromebooks such as link and falco. The keyboard is provided 416fb9ac15SSimon Glass through a legacy port interface, so on x86 machines the main 426fb9ac15SSimon Glass function of the EC is power and thermal management. 436fb9ac15SSimon Glass 4447cb8c65SSimon Glassconfig CROS_EC_SANDBOX 4547cb8c65SSimon Glass bool "Enable Chrome OS EC sandbox driver" 4647cb8c65SSimon Glass depends on CROS_EC && SANDBOX 4747cb8c65SSimon Glass help 4847cb8c65SSimon Glass Enable a sandbox emulation of the Chrome OS EC. This supports 4947cb8c65SSimon Glass keyboard (use the -l flag to enable the LCD), verified boot context, 5047cb8c65SSimon Glass EC flash read/write/erase support and a few other things. It is 5147cb8c65SSimon Glass enough to perform a Chrome OS verified boot on sandbox. 5247cb8c65SSimon Glass 536fb9ac15SSimon Glassconfig CROS_EC_SPI 546fb9ac15SSimon Glass bool "Enable Chrome OS EC SPI driver" 556fb9ac15SSimon Glass depends on CROS_EC 566fb9ac15SSimon Glass help 576fb9ac15SSimon Glass Enable SPI access to the Chrome OS EC. This is used on newer 586fb9ac15SSimon Glass ARM Chromebooks such as pit, pi and nyan-big. The SPI interface 596fb9ac15SSimon Glass provides a faster and more robust interface than I2C but the bugs 606fb9ac15SSimon Glass are less interesting. 616fb9ac15SSimon Glass 62*c12e0d93SPeng Fanconfig FSL_SEC_MON 63fe78378dSgaurav rana bool "Enable FSL SEC_MON Driver" 64fe78378dSgaurav rana help 65fe78378dSgaurav rana Freescale Security Monitor block is responsible for monitoring 66fe78378dSgaurav rana system states. 67fe78378dSgaurav rana Security Monitor can be transitioned on any security failures, 68fe78378dSgaurav rana like software violations or hardware security violations. 691cdd9412SStefan Roese 701cdd9412SStefan Roeseconfig PCA9551_LED 711cdd9412SStefan Roese bool "Enable PCA9551 LED driver" 721cdd9412SStefan Roese help 731cdd9412SStefan Roese Enable driver for PCA9551 LED controller. This controller 741cdd9412SStefan Roese is connected via I2C. So I2C needs to be enabled. 751cdd9412SStefan Roese 761cdd9412SStefan Roeseconfig PCA9551_I2C_ADDR 771cdd9412SStefan Roese hex "I2C address of PCA9551 LED controller" 781cdd9412SStefan Roese depends on PCA9551_LED 791cdd9412SStefan Roese default 0x60 801cdd9412SStefan Roese help 811cdd9412SStefan Roese The I2C address of the PCA9551 LED controller. 82f9917454SSimon Glass 83f9917454SSimon Glassconfig RESET 84f9917454SSimon Glass bool "Enable support for reset drivers" 85f9917454SSimon Glass depends on DM 86f9917454SSimon Glass help 87f9917454SSimon Glass Enable reset drivers which can be used to reset the CPU or board. 88f9917454SSimon Glass Each driver can provide a reset method which will be called to 89f9917454SSimon Glass effect a reset. The uclass will try all available drivers when 90f9917454SSimon Glass reset_walk() is called. 910b11dbf7SMasahiro Yamada 920b11dbf7SMasahiro Yamadaendmenu 93