10b11dbf7SMasahiro Yamada# 20b11dbf7SMasahiro Yamada# Multifunction miscellaneous devices 30b11dbf7SMasahiro Yamada# 40b11dbf7SMasahiro Yamada 50b11dbf7SMasahiro Yamadamenu "Multifunction device drivers" 60b11dbf7SMasahiro Yamada 7*4395e06eSThomas Chouconfig MISC 8*4395e06eSThomas Chou bool "Enable Driver Model for Misc drivers" 9*4395e06eSThomas Chou depends on DM 10*4395e06eSThomas Chou help 11*4395e06eSThomas Chou Enable driver model for miscellaneous devices. This class is 12*4395e06eSThomas Chou used only for those do not fit other more general classes. A 13*4395e06eSThomas Chou set of generic read, write and ioctl methods may be used to 14*4395e06eSThomas Chou access the device. 15*4395e06eSThomas Chou 166fb9ac15SSimon Glassconfig CMD_CROS_EC 176fb9ac15SSimon Glass bool "Enable crosec command" 186fb9ac15SSimon Glass depends on CROS_EC 196fb9ac15SSimon Glass help 206fb9ac15SSimon Glass Enable command-line access to the Chrome OS EC (Embedded 216fb9ac15SSimon Glass Controller). This provides the 'crosec' command which has 226fb9ac15SSimon Glass a number of sub-commands for performing EC tasks such as 236fb9ac15SSimon Glass updating its flash, accessing a small saved context area 246fb9ac15SSimon Glass and talking to the I2C bus behind the EC (if there is one). 256fb9ac15SSimon Glass 266fb9ac15SSimon Glassconfig CROS_EC 276fb9ac15SSimon Glass bool "Enable Chrome OS EC" 286fb9ac15SSimon Glass help 296fb9ac15SSimon Glass Enable access to the Chrome OS EC. This is a separate 306fb9ac15SSimon Glass microcontroller typically available on a SPI bus on Chromebooks. It 316fb9ac15SSimon Glass provides access to the keyboard, some internal storage and may 326fb9ac15SSimon Glass control access to the battery and main PMIC depending on the 336fb9ac15SSimon Glass device. You can use the 'crosec' command to access it. 346fb9ac15SSimon Glass 356fb9ac15SSimon Glassconfig CROS_EC_I2C 366fb9ac15SSimon Glass bool "Enable Chrome OS EC I2C driver" 376fb9ac15SSimon Glass depends on CROS_EC 386fb9ac15SSimon Glass help 396fb9ac15SSimon Glass Enable I2C access to the Chrome OS EC. This is used on older 406fb9ac15SSimon Glass ARM Chromebooks such as snow and spring before the standard bus 416fb9ac15SSimon Glass changed to SPI. The EC will accept commands across the I2C using 426fb9ac15SSimon Glass a special message protocol, and provide responses. 436fb9ac15SSimon Glass 446fb9ac15SSimon Glassconfig CROS_EC_LPC 456fb9ac15SSimon Glass bool "Enable Chrome OS EC LPC driver" 466fb9ac15SSimon Glass depends on CROS_EC 476fb9ac15SSimon Glass help 486fb9ac15SSimon Glass Enable I2C access to the Chrome OS EC. This is used on x86 496fb9ac15SSimon Glass Chromebooks such as link and falco. The keyboard is provided 506fb9ac15SSimon Glass through a legacy port interface, so on x86 machines the main 516fb9ac15SSimon Glass function of the EC is power and thermal management. 526fb9ac15SSimon Glass 5347cb8c65SSimon Glassconfig CROS_EC_SANDBOX 5447cb8c65SSimon Glass bool "Enable Chrome OS EC sandbox driver" 5547cb8c65SSimon Glass depends on CROS_EC && SANDBOX 5647cb8c65SSimon Glass help 5747cb8c65SSimon Glass Enable a sandbox emulation of the Chrome OS EC. This supports 5847cb8c65SSimon Glass keyboard (use the -l flag to enable the LCD), verified boot context, 5947cb8c65SSimon Glass EC flash read/write/erase support and a few other things. It is 6047cb8c65SSimon Glass enough to perform a Chrome OS verified boot on sandbox. 6147cb8c65SSimon Glass 626fb9ac15SSimon Glassconfig CROS_EC_SPI 636fb9ac15SSimon Glass bool "Enable Chrome OS EC SPI driver" 646fb9ac15SSimon Glass depends on CROS_EC 656fb9ac15SSimon Glass help 666fb9ac15SSimon Glass Enable SPI access to the Chrome OS EC. This is used on newer 676fb9ac15SSimon Glass ARM Chromebooks such as pit, pi and nyan-big. The SPI interface 686fb9ac15SSimon Glass provides a faster and more robust interface than I2C but the bugs 696fb9ac15SSimon Glass are less interesting. 706fb9ac15SSimon Glass 71c12e0d93SPeng Fanconfig FSL_SEC_MON 72fe78378dSgaurav rana bool "Enable FSL SEC_MON Driver" 73fe78378dSgaurav rana help 74fe78378dSgaurav rana Freescale Security Monitor block is responsible for monitoring 75fe78378dSgaurav rana system states. 76fe78378dSgaurav rana Security Monitor can be transitioned on any security failures, 77fe78378dSgaurav rana like software violations or hardware security violations. 781cdd9412SStefan Roese 791cdd9412SStefan Roeseconfig PCA9551_LED 801cdd9412SStefan Roese bool "Enable PCA9551 LED driver" 811cdd9412SStefan Roese help 821cdd9412SStefan Roese Enable driver for PCA9551 LED controller. This controller 831cdd9412SStefan Roese is connected via I2C. So I2C needs to be enabled. 841cdd9412SStefan Roese 851cdd9412SStefan Roeseconfig PCA9551_I2C_ADDR 861cdd9412SStefan Roese hex "I2C address of PCA9551 LED controller" 871cdd9412SStefan Roese depends on PCA9551_LED 881cdd9412SStefan Roese default 0x60 891cdd9412SStefan Roese help 901cdd9412SStefan Roese The I2C address of the PCA9551 LED controller. 91f9917454SSimon Glass 92f9917454SSimon Glassconfig RESET 93f9917454SSimon Glass bool "Enable support for reset drivers" 94f9917454SSimon Glass depends on DM 95f9917454SSimon Glass help 96f9917454SSimon Glass Enable reset drivers which can be used to reset the CPU or board. 97f9917454SSimon Glass Each driver can provide a reset method which will be called to 98f9917454SSimon Glass effect a reset. The uclass will try all available drivers when 99f9917454SSimon Glass reset_walk() is called. 1000b11dbf7SMasahiro Yamada 1010b11dbf7SMasahiro Yamadaendmenu 102