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