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