2013-11-08 06:25:45 +08:00
|
|
|
#
|
|
|
|
# Platform support for Chrome OS hardware (Chromebooks and Chromeboxes)
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig CHROME_PLATFORMS
|
|
|
|
bool "Platform support for Chrome hardware"
|
2015-07-01 18:46:42 +08:00
|
|
|
depends on X86 || ARM || ARM64 || COMPILE_TEST
|
2013-11-08 06:25:45 +08:00
|
|
|
---help---
|
|
|
|
Say Y here to get to see options for platform support for
|
|
|
|
various Chromebooks and Chromeboxes. This option alone does
|
|
|
|
not add any kernel code.
|
|
|
|
|
|
|
|
If you say N, all options in this submenu will be skipped and disabled.
|
|
|
|
|
|
|
|
if CHROME_PLATFORMS
|
|
|
|
|
|
|
|
config CHROMEOS_LAPTOP
|
|
|
|
tristate "Chrome OS Laptop"
|
2015-02-02 19:26:25 +08:00
|
|
|
depends on I2C && DMI && X86
|
2013-11-08 06:25:45 +08:00
|
|
|
---help---
|
|
|
|
This driver instantiates i2c and smbus devices such as
|
|
|
|
light sensors and touchpads.
|
|
|
|
|
|
|
|
If you have a supported Chromebook, choose Y or M here.
|
|
|
|
The module will be called chromeos_laptop.
|
|
|
|
|
2013-11-13 05:32:13 +08:00
|
|
|
config CHROMEOS_PSTORE
|
|
|
|
tristate "Chrome OS pstore support"
|
2015-02-02 19:26:25 +08:00
|
|
|
depends on X86
|
2013-11-13 05:32:13 +08:00
|
|
|
---help---
|
|
|
|
This module instantiates the persistent storage on x86 ChromeOS
|
|
|
|
devices. It can be used to store away console logs and crash
|
|
|
|
information across reboots.
|
|
|
|
|
|
|
|
The range of memory used is 0xf00000-0x1000000, traditionally
|
|
|
|
the memory used to back VGA controller memory.
|
|
|
|
|
|
|
|
If you have a supported Chromebook, choose Y or M here.
|
|
|
|
The module will be called chromeos_pstore.
|
|
|
|
|
2017-01-31 07:47:22 +08:00
|
|
|
config CHROMEOS_TBMC
|
|
|
|
tristate "ChromeOS Tablet Switch Controller"
|
|
|
|
depends on ACPI
|
2018-05-28 23:58:46 +08:00
|
|
|
depends on INPUT
|
2017-01-31 07:47:22 +08:00
|
|
|
help
|
|
|
|
This option adds a driver for the tablet switch on
|
|
|
|
select Chrome OS systems.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called chromeos_tbmc.
|
|
|
|
|
2018-07-02 18:21:59 +08:00
|
|
|
config CROS_EC_I2C
|
|
|
|
tristate "ChromeOS Embedded Controller (I2C)"
|
|
|
|
depends on MFD_CROS_EC && I2C
|
|
|
|
|
|
|
|
help
|
|
|
|
If you say Y here, you get support for talking to the ChromeOS
|
|
|
|
EC through an I2C bus. This uses a simple byte-level protocol with
|
|
|
|
a checksum. Failing accesses will be retried three times to
|
|
|
|
improve reliability.
|
|
|
|
|
|
|
|
config CROS_EC_SPI
|
|
|
|
tristate "ChromeOS Embedded Controller (SPI)"
|
|
|
|
depends on MFD_CROS_EC && SPI
|
|
|
|
|
|
|
|
---help---
|
|
|
|
If you say Y here, you get support for talking to the ChromeOS EC
|
|
|
|
through a SPI bus, using a byte-level protocol. Since the EC's
|
|
|
|
response time cannot be guaranteed, we support ignoring
|
|
|
|
'pre-amble' bytes before the response actually starts.
|
|
|
|
|
2015-02-02 19:26:24 +08:00
|
|
|
config CROS_EC_LPC
|
|
|
|
tristate "ChromeOS Embedded Controller (LPC)"
|
2017-05-16 23:46:48 +08:00
|
|
|
depends on MFD_CROS_EC && ACPI && (X86 || COMPILE_TEST)
|
2015-02-02 19:26:24 +08:00
|
|
|
help
|
|
|
|
If you say Y here, you get support for talking to the ChromeOS EC
|
|
|
|
over an LPC bus. This uses a simple byte-level protocol with a
|
|
|
|
checksum. This is used for userspace access only. The kernel
|
|
|
|
typically has its own communication methods.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called cros_ec_lpc.
|
|
|
|
|
2017-05-16 23:46:48 +08:00
|
|
|
config CROS_EC_LPC_MEC
|
|
|
|
bool "ChromeOS Embedded Controller LPC Microchip EC (MEC) variant"
|
|
|
|
depends on CROS_EC_LPC
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
If you say Y here, a variant LPC protocol for the Microchip EC
|
|
|
|
will be used. Note that this variant is not backward compatible
|
|
|
|
with non-Microchip ECs.
|
|
|
|
|
|
|
|
If you have a ChromeOS Embedded Controller Microchip EC variant
|
|
|
|
choose Y here.
|
|
|
|
|
2015-06-09 19:04:44 +08:00
|
|
|
config CROS_EC_PROTO
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
ChromeOS EC communication protocol helpers.
|
|
|
|
|
2016-03-09 03:12:46 +08:00
|
|
|
config CROS_KBD_LED_BACKLIGHT
|
|
|
|
tristate "Backlight LED support for Chrome OS keyboards"
|
|
|
|
depends on LEDS_CLASS && ACPI
|
|
|
|
help
|
|
|
|
This option enables support for the keyboard backlight LEDs on
|
|
|
|
select Chrome OS systems.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called cros_kbd_led_backlight.
|
|
|
|
|
2018-12-13 01:33:57 +08:00
|
|
|
config CROS_EC_LIGHTBAR
|
|
|
|
tristate "Chromebook Pixel's lightbar support"
|
|
|
|
depends on MFD_CROS_EC_CHARDEV
|
|
|
|
default MFD_CROS_EC_CHARDEV
|
|
|
|
help
|
|
|
|
This option exposes the Chromebook Pixel's lightbar to
|
|
|
|
userspace.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called cros_ec_lightbar.
|
|
|
|
|
2018-12-13 01:33:58 +08:00
|
|
|
config CROS_EC_VBC
|
|
|
|
tristate "ChromeOS EC vboot context support"
|
|
|
|
depends on MFD_CROS_EC_CHARDEV && OF
|
|
|
|
default MFD_CROS_EC_CHARDEV
|
|
|
|
help
|
|
|
|
This option exposes the ChromeOS EC vboot context nvram to
|
|
|
|
userspace.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called cros_ec_vbc.
|
|
|
|
|
2018-12-13 01:33:59 +08:00
|
|
|
config CROS_EC_DEBUGFS
|
|
|
|
tristate "Export ChromeOS EC internals in DebugFS"
|
|
|
|
depends on MFD_CROS_EC_CHARDEV && DEBUG_FS
|
|
|
|
default MFD_CROS_EC_CHARDEV
|
|
|
|
help
|
|
|
|
This option exposes the ChromeOS EC device internals to
|
|
|
|
userspace.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called cros_ec_debugfs.
|
|
|
|
|
2018-12-13 01:34:00 +08:00
|
|
|
config CROS_EC_SYSFS
|
|
|
|
tristate "ChromeOS EC control and information through sysfs"
|
|
|
|
depends on MFD_CROS_EC_CHARDEV && SYSFS
|
|
|
|
default MFD_CROS_EC_CHARDEV
|
|
|
|
help
|
|
|
|
This option exposes some sysfs attributes to control and get
|
|
|
|
information from ChromeOS EC.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called cros_ec_sysfs.
|
|
|
|
|
2019-02-09 08:37:17 +08:00
|
|
|
source "drivers/platform/chrome/wilco_ec/Kconfig"
|
|
|
|
|
2013-11-08 06:25:45 +08:00
|
|
|
endif # CHROMEOS_PLATFORMS
|