blob: cb13299195271ffed4854ed6b0b593c5e8487019 [file] [log] [blame]
Olof Johanssonab043102013-11-07 14:25:45 -08001#
2# Platform support for Chrome OS hardware (Chromebooks and Chromeboxes)
3#
4
5menuconfig CHROME_PLATFORMS
6 bool "Platform support for Chrome hardware"
Bill Richardsone7c256f2015-02-02 12:26:25 +01007 depends on X86 || ARM
Olof Johanssonab043102013-11-07 14:25:45 -08008 ---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"
Bill Richardsone7c256f2015-02-02 12:26:25 +010019 depends on I2C && DMI && X86
Olof Johanssonab043102013-11-07 14:25:45 -080020 ---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
Olof Johansson9742e122013-11-12 13:32:13 -080027config CHROMEOS_PSTORE
28 tristate "Chrome OS pstore support"
Bill Richardsone7c256f2015-02-02 12:26:25 +010029 depends on X86
Olof Johansson9742e122013-11-12 13:32:13 -080030 ---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
Bill Richardsone7c256f2015-02-02 12:26:25 +010041config CROS_EC_CHARDEV
42 tristate "Chrome OS Embedded Controller userspace device interface"
Javier Martinez Canillas062476f2015-06-09 13:04:44 +020043 depends on CROS_EC_PROTO
Bill Richardsone7c256f2015-02-02 12:26:25 +010044 ---help---
45 This driver adds support to talk with the ChromeOS EC from userspace.
46
47 If you have a supported Chromebook, choose Y or M here.
48 The module will be called cros_ec_dev.
Olof Johansson9742e122013-11-12 13:32:13 -080049
Bill Richardsonec2f33a2015-02-02 12:26:24 +010050config CROS_EC_LPC
51 tristate "ChromeOS Embedded Controller (LPC)"
Javier Martinez Canillas062476f2015-06-09 13:04:44 +020052 depends on MFD_CROS_EC && CROS_EC_PROTO && (X86 || COMPILE_TEST)
Bill Richardsonec2f33a2015-02-02 12:26:24 +010053 help
54 If you say Y here, you get support for talking to the ChromeOS EC
55 over an LPC bus. This uses a simple byte-level protocol with a
56 checksum. This is used for userspace access only. The kernel
57 typically has its own communication methods.
58
59 To compile this driver as a module, choose M here: the
60 module will be called cros_ec_lpc.
61
Javier Martinez Canillas062476f2015-06-09 13:04:44 +020062config CROS_EC_PROTO
63 bool
64 help
65 ChromeOS EC communication protocol helpers.
66
Olof Johanssonab043102013-11-07 14:25:45 -080067endif # CHROMEOS_PLATFORMS