Olof Johansson | ab04310 | 2013-11-07 14:25:45 -0800 | [diff] [blame] | 1 | # |
| 2 | # Platform support for Chrome OS hardware (Chromebooks and Chromeboxes) |
| 3 | # |
| 4 | |
| 5 | menuconfig CHROME_PLATFORMS |
| 6 | bool "Platform support for Chrome hardware" |
Olof Johansson | ab04310 | 2013-11-07 14:25:45 -0800 | [diff] [blame] | 7 | ---help--- |
| 8 | Say Y here to get to see options for platform support for |
| 9 | various Chromebooks and Chromeboxes. This option alone does |
| 10 | not add any kernel code. |
| 11 | |
| 12 | If you say N, all options in this submenu will be skipped and disabled. |
| 13 | |
| 14 | if CHROME_PLATFORMS |
| 15 | |
| 16 | config CHROMEOS_LAPTOP |
| 17 | tristate "Chrome OS Laptop" |
Bill Richardson | e7c256f | 2015-02-02 12:26:25 +0100 | [diff] [blame] | 18 | depends on I2C && DMI && X86 |
Olof Johansson | ab04310 | 2013-11-07 14:25:45 -0800 | [diff] [blame] | 19 | ---help--- |
| 20 | This driver instantiates i2c and smbus devices such as |
| 21 | light sensors and touchpads. |
| 22 | |
| 23 | If you have a supported Chromebook, choose Y or M here. |
| 24 | The module will be called chromeos_laptop. |
| 25 | |
Olof Johansson | 9742e12 | 2013-11-12 13:32:13 -0800 | [diff] [blame] | 26 | config CHROMEOS_PSTORE |
| 27 | tristate "Chrome OS pstore support" |
Bill Richardson | e7c256f | 2015-02-02 12:26:25 +0100 | [diff] [blame] | 28 | depends on X86 |
Olof Johansson | 9742e12 | 2013-11-12 13:32:13 -0800 | [diff] [blame] | 29 | ---help--- |
| 30 | This module instantiates the persistent storage on x86 ChromeOS |
| 31 | devices. It can be used to store away console logs and crash |
| 32 | information across reboots. |
| 33 | |
| 34 | The range of memory used is 0xf00000-0x1000000, traditionally |
| 35 | the memory used to back VGA controller memory. |
| 36 | |
| 37 | If you have a supported Chromebook, choose Y or M here. |
| 38 | The module will be called chromeos_pstore. |
| 39 | |
Bill Richardson | e7c256f | 2015-02-02 12:26:25 +0100 | [diff] [blame] | 40 | config CROS_EC_CHARDEV |
| 41 | tristate "Chrome OS Embedded Controller userspace device interface" |
Javier Martinez Canillas | 062476f | 2015-06-09 13:04:44 +0200 | [diff] [blame] | 42 | depends on CROS_EC_PROTO |
Bill Richardson | e7c256f | 2015-02-02 12:26:25 +0100 | [diff] [blame] | 43 | ---help--- |
| 44 | This driver adds support to talk with the ChromeOS EC from userspace. |
| 45 | |
| 46 | If you have a supported Chromebook, choose Y or M here. |
| 47 | The module will be called cros_ec_dev. |
Olof Johansson | 9742e12 | 2013-11-12 13:32:13 -0800 | [diff] [blame] | 48 | |
Bill Richardson | ec2f33a | 2015-02-02 12:26:24 +0100 | [diff] [blame] | 49 | config CROS_EC_LPC |
| 50 | tristate "ChromeOS Embedded Controller (LPC)" |
Javier Martinez Canillas | 062476f | 2015-06-09 13:04:44 +0200 | [diff] [blame] | 51 | depends on MFD_CROS_EC && CROS_EC_PROTO && (X86 || COMPILE_TEST) |
Bill Richardson | ec2f33a | 2015-02-02 12:26:24 +0100 | [diff] [blame] | 52 | help |
| 53 | If you say Y here, you get support for talking to the ChromeOS EC |
| 54 | over an LPC bus. This uses a simple byte-level protocol with a |
| 55 | checksum. This is used for userspace access only. The kernel |
| 56 | typically has its own communication methods. |
| 57 | |
| 58 | To compile this driver as a module, choose M here: the |
| 59 | module will be called cros_ec_lpc. |
| 60 | |
Javier Martinez Canillas | 062476f | 2015-06-09 13:04:44 +0200 | [diff] [blame] | 61 | config CROS_EC_PROTO |
| 62 | bool |
| 63 | help |
| 64 | ChromeOS EC communication protocol helpers. |
| 65 | |
Olof Johansson | ab04310 | 2013-11-07 14:25:45 -0800 | [diff] [blame] | 66 | endif # CHROMEOS_PLATFORMS |