xref: /openbmc/u-boot/drivers/misc/Kconfig (revision 9038cd53)
1config CMD_CROS_EC
2	bool "Enable crosec command"
3	depends on CROS_EC
4	help
5	  Enable command-line access to the Chrome OS EC (Embedded
6	  Controller). This provides the 'crosec' command which has
7	  a number of sub-commands for performing EC tasks such as
8	  updating its flash, accessing a small saved context area
9	  and talking to the I2C bus behind the EC (if there is one).
10
11config CROS_EC
12	bool "Enable Chrome OS EC"
13	help
14	  Enable access to the Chrome OS EC. This is a separate
15	  microcontroller typically available on a SPI bus on Chromebooks. It
16	  provides access to the keyboard, some internal storage and may
17	  control access to the battery and main PMIC depending on the
18	  device. You can use the 'crosec' command to access it.
19
20config CROS_EC_I2C
21	bool "Enable Chrome OS EC I2C driver"
22	depends on CROS_EC
23	help
24	  Enable I2C access to the Chrome OS EC. This is used on older
25	  ARM Chromebooks such as snow and spring before the standard bus
26	  changed to SPI. The EC will accept commands across the I2C using
27	  a special message protocol, and provide responses.
28
29config CROS_EC_LPC
30	bool "Enable Chrome OS EC LPC driver"
31	depends on CROS_EC
32	help
33	  Enable I2C access to the Chrome OS EC. This is used on x86
34	  Chromebooks such as link and falco. The keyboard is provided
35	  through a legacy port interface, so on x86 machines the main
36	  function of the EC is power and thermal management.
37
38config CROS_EC_SANDBOX
39	bool "Enable Chrome OS EC sandbox driver"
40	depends on CROS_EC && SANDBOX
41	help
42	  Enable a sandbox emulation of the Chrome OS EC. This supports
43	  keyboard (use the -l flag to enable the LCD), verified boot context,
44	  EC flash read/write/erase support and a few other things. It is
45	  enough to perform a Chrome OS verified boot on sandbox.
46
47config CROS_EC_SPI
48	bool "Enable Chrome OS EC SPI driver"
49	depends on CROS_EC
50	help
51	  Enable SPI access to the Chrome OS EC. This is used on newer
52	  ARM Chromebooks such as pit, pi and nyan-big. The SPI interface
53	  provides a faster and more robust interface than I2C but the bugs
54	  are less interesting.
55
56config CONFIG_FSL_SEC_MON
57	bool "Enable FSL SEC_MON Driver"
58	help
59	  Freescale Security Monitor block is responsible for monitoring
60	  system states.
61	  Security Monitor can be transitioned on any security failures,
62	  like software violations or hardware security violations.
63
64config PCA9551_LED
65	bool "Enable PCA9551 LED driver"
66	help
67	  Enable driver for PCA9551 LED controller. This controller
68	  is connected via I2C. So I2C needs to be enabled.
69
70config PCA9551_I2C_ADDR
71	hex "I2C address of PCA9551 LED controller"
72	depends on PCA9551_LED
73	default 0x60
74	help
75	  The I2C address of the PCA9551 LED controller.
76