xref: /openbmc/linux/drivers/platform/chrome/Kconfig (revision a34a3ed7)
1#
2# Platform support for Chrome OS hardware (Chromebooks and Chromeboxes)
3#
4
5menuconfig CHROME_PLATFORMS
6	bool "Platform support for Chrome hardware"
7	depends on X86 || ARM || ARM64 || COMPILE_TEST
8	---help---
9	  Say Y here to get to see options for platform support for
10	  various Chromebooks and Chromeboxes. This option alone does
11	  not add any kernel code.
12
13	  If you say N, all options in this submenu will be skipped and disabled.
14
15if CHROME_PLATFORMS
16
17config CHROMEOS_LAPTOP
18	tristate "Chrome OS Laptop"
19	depends on I2C && DMI && X86
20	---help---
21	  This driver instantiates i2c and smbus devices such as
22	  light sensors and touchpads.
23
24	  If you have a supported Chromebook, choose Y or M here.
25	  The module will be called chromeos_laptop.
26
27config CHROMEOS_PSTORE
28	tristate "Chrome OS pstore support"
29	depends on X86
30	---help---
31	  This module instantiates the persistent storage on x86 ChromeOS
32	  devices. It can be used to store away console logs and crash
33	  information across reboots.
34
35	  The range of memory used is 0xf00000-0x1000000, traditionally
36	  the memory used to back VGA controller memory.
37
38	  If you have a supported Chromebook, choose Y or M here.
39	  The module will be called chromeos_pstore.
40
41config CROS_EC_CTL
42        tristate
43
44config CROS_EC_LPC
45        tristate "ChromeOS Embedded Controller (LPC)"
46        depends on MFD_CROS_EC && ACPI && (X86 || COMPILE_TEST)
47        help
48          If you say Y here, you get support for talking to the ChromeOS EC
49          over an LPC bus. This uses a simple byte-level protocol with a
50          checksum. This is used for userspace access only. The kernel
51          typically has its own communication methods.
52
53          To compile this driver as a module, choose M here: the
54          module will be called cros_ec_lpc.
55
56config CROS_EC_LPC_MEC
57	bool "ChromeOS Embedded Controller LPC Microchip EC (MEC) variant"
58	depends on CROS_EC_LPC
59	default n
60	help
61	  If you say Y here, a variant LPC protocol for the Microchip EC
62	  will be used. Note that this variant is not backward compatible
63	  with non-Microchip ECs.
64
65	  If you have a ChromeOS Embedded Controller Microchip EC variant
66	  choose Y here.
67
68config CROS_EC_PROTO
69        bool
70        help
71          ChromeOS EC communication protocol helpers.
72
73config CROS_KBD_LED_BACKLIGHT
74	tristate "Backlight LED support for Chrome OS keyboards"
75	depends on LEDS_CLASS && ACPI
76	help
77	  This option enables support for the keyboard backlight LEDs on
78	  select Chrome OS systems.
79
80	  To compile this driver as a module, choose M here: the
81	  module will be called cros_kbd_led_backlight.
82
83endif # CHROMEOS_PLATFORMS
84