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