CONFIG_CHROME_PLATFORMS Platform support for Chrome hardware
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.
- Depends on
(X86 || ARM || ARM64 || COMPILE_TEST) && (! || COMPILE_TEST)
If CHROME_PLATFORMS
CONFIG_CHROMEOS_ACPI ChromeOS specific ACPI extensions
- Off
- Module
- Built in
This driver provides the firmware interface for the services exported through the ChromeOS interfaces when using ChromeOS ACPI firmware.
If you have an ACPI-compatible Chromebook, say Y or M here. The module will be called chromeos_acpi.
- Depends on
CHROME_PLATFORMS && ACPI
CONFIG_CHROMEOS_LAPTOP Chrome OS Laptop
- Off
- Module
- Built in
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.
- Depends on
CHROME_PLATFORMS && I2C && && X86
CONFIG_CHROMEOS_PSTORE Chrome OS pstore support
- Off
- Module
- Built in
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.
- Depends on
CHROME_PLATFORMS && X86
CONFIG_CHROMEOS_TBMC ChromeOS Tablet Switch Controller
- Off
- Module
- Built in
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.
- Depends on
CHROME_PLATFORMS && ACPI && INPUT
CONFIG_CHROMEOS_OF_HW_PROBER ChromeOS Device Tree Hardware Prober
- Off
- Module
- Built in
This option enables the device tree hardware prober for ChromeOS devices. The driver will probe the correct component variant in devices that have multiple drop-in options for one component.
- Depends on
CHROME_PLATFORMS && OF && I2C - Selects
OF_DYNAMIC if CHROME_PLATFORMS && OF && I2C
CONFIG_CROS_EC ChromeOS Embedded Controller
- Off
- Module
- Built in
If you say Y here you get support for the ChromeOS Embedded Controller (EC) providing keyboard, battery and power services. You also need to enable the driver for the bus you are using. The protocol for talking to the EC is defined by the bus driver.
To compile this driver as a module, choose M here: the module will be called cros_ec.
- Selects
CROS_EC_PROTO if CHROME_PLATFORMS
If CROS_EC
CONFIG_CROS_EC_I2C ChromeOS Embedded Controller (I2C)
- Off
- Module
- Built in
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.
- Depends on
CHROME_PLATFORMS && CROS_EC && I2C
CONFIG_CROS_EC_RPMSG ChromeOS Embedded Controller (rpmsg)
- Off
- Module
- Built in
If you say Y here, you get support for talking to the ChromeOS EC through rpmsg. This uses a simple byte-level protocol with a checksum. Also since there's no addition EC-to-host interrupt, this use a byte in message to distinguish host event from host command.
To compile this driver as a module, choose M here: the module will be called cros_ec_rpmsg.
- Depends on
CHROME_PLATFORMS && CROS_EC && RPMSG && OF
CONFIG_CROS_EC_ISHTP ChromeOS Embedded Controller (ISHTP)
- Off
- Module
- Built in
If you say Y here, you get support for talking to the ChromeOS EC firmware running on Intel Integrated Sensor Hub (ISH), using the ISH Transport protocol (ISH-TP). This uses a simple byte-level protocol with a checksum.
To compile this driver as a module, choose M here: the module will be called cros_ec_ishtp.
- Depends on
CHROME_PLATFORMS && CROS_EC && INTEL_ISH_HID
CONFIG_CROS_EC_SPI ChromeOS Embedded Controller (SPI)
- Off
- Module
- Built in
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.
- Depends on
CHROME_PLATFORMS && CROS_EC && SPI
CONFIG_CROS_EC_UART ChromeOS Embedded Controller (UART)
- Off
- Module
- Built in
If you say Y here, you get support for talking to the ChromeOS EC through a UART, using a byte-level protocol.
To compile this driver as a module, choose M here: the module will be called cros_ec_uart.
- Depends on
CHROME_PLATFORMS && CROS_EC && ACPI && SERIAL_DEV_BUS
CONFIG_CROS_EC_LPC ChromeOS Embedded Controller (LPC)
- Off
- Module
- Built in
If you say Y here, you get support for talking to the ChromeOS EC over an LPC bus, including the LPC Microchip EC (MEC) variant. 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_lpcs.
- Depends on
CHROME_PLATFORMS && CROS_EC && ACPI && (X86 || COMPILE_TEST) && HAS_IOPORT
CONFIG_CROS_EC_PROTO
- Off
- Module
- Built in
ChromeOS EC communication protocol helpers.
CONFIG_CROS_KBD_LED_BACKLIGHT Backlight LED support for Chrome OS keyboards
- Off
- Module
- Built in
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.
- Depends on
CHROME_PLATFORMS && LEDS_CLASS && (MFD_CROS_EC_DEV || MFD_CROS_EC_DEV=n && ACPI)
CONFIG_CROS_EC_CHARDEV ChromeOS EC miscdevice
- Off
- Module
- Built in
This driver adds file operations support to talk with the ChromeOS EC from userspace via a character device.
To compile this driver as a module, choose M here: the module will be called cros_ec_chardev.
- Depends on
CHROME_PLATFORMS && MFD_CROS_EC_DEV
CONFIG_CROS_EC_LIGHTBAR Chromebook Pixel's lightbar support
- Off
- Module
- Built in
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.
- Depends on
CHROME_PLATFORMS && MFD_CROS_EC_DEV
CONFIG_CROS_EC_VBC ChromeOS EC vboot context support
- Off
- Module
- Built in
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.
- Depends on
CHROME_PLATFORMS && MFD_CROS_EC_DEV && OF
CONFIG_CROS_EC_DEBUGFS Export ChromeOS EC internals in DebugFS
- Off
- Module
- Built in
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.
- Depends on
CHROME_PLATFORMS && MFD_CROS_EC_DEV && DEBUG_FS
CONFIG_CROS_EC_SENSORHUB ChromeOS EC MEMS Sensor Hub
- Off
- Module
- Built in
Allow loading IIO sensors. This driver is loaded by MFD and will in turn query the EC and register the sensors. It also spreads the sensor data coming from the EC to the IIO sensor object.
To compile this driver as a module, choose M here: the module will be called cros_ec_sensorhub.
- Depends on
CHROME_PLATFORMS && MFD_CROS_EC_DEV
CONFIG_CROS_EC_SYSFS ChromeOS EC control and information through sysfs
- Off
- Module
- Built in
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.
- Depends on
CHROME_PLATFORMS && MFD_CROS_EC_DEV && SYSFS
CONFIG_CROS_EC_TYPEC_ALTMODES
Selectable symbol to enable altmodes.
CONFIG_CROS_EC_TYPEC ChromeOS EC Type-C Connector Control
- Off
- Module
- Built in
If you say Y here, you get support for accessing Type C connector information from the Chrome OS EC.
To compile this driver as a module, choose M here: the module will be called cros-ec-typec.
- Depends on
CHROME_PLATFORMS && MFD_CROS_EC_DEV && TYPEC && CROS_USBPD_NOTIFY && USB_ROLE_SWITCH - Selects
CROS_EC_TYPEC_ALTMODES if CHROME_PLATFORMS && MFD_CROS_EC_DEV && TYPEC && CROS_USBPD_NOTIFY && USB_ROLE_SWITCH && TYPEC_DP_ALTMODE - Selects
CROS_EC_TYPEC_ALTMODES if CHROME_PLATFORMS && MFD_CROS_EC_DEV && TYPEC && CROS_USBPD_NOTIFY && USB_ROLE_SWITCH && TYPEC_TBT_ALTMODE
CONFIG_CROS_HPS_I2C ChromeOS HPS device
- Off
- Module
- Built in
Say Y here if you want to enable support for the ChromeOS human presence sensor (HPS), attached via I2C. The driver supports a sensor connected to the I2C bus and exposes it as a character device. To save power, the sensor is automatically powered down when no clients are accessing it.
- Depends on
CHROME_PLATFORMS && HID && I2C &&
CONFIG_CROS_USBPD_LOGGER Logging driver for USB PD charger
- Off
- Module
- Built in
This option enables support for logging event data for the USB PD charger available in the Embedded Controller on ChromeOS systems.
To compile this driver as a module, choose M here: the module will be called cros_usbpd_logger.
- Depends on
CHROME_PLATFORMS && CHARGER_CROS_USBPD - Selects
RTC_LIB if CHROME_PLATFORMS && CHARGER_CROS_USBPD
CONFIG_CROS_USBPD_NOTIFY ChromeOS Type-C power delivery event notifier
- Off
- Module
- Built in
If you say Y here, you get support for Type-C PD event notifications from the ChromeOS EC. On ACPI platforms this driver will bind to the GOOG0003 ACPI device, and on platforms which don't have this device it will get initialized on ECs which support the feature EC_FEATURE_USB_PD.
To compile this driver as a module, choose M here: the module will be called cros_usbpd_notify.
- Depends on
CHROME_PLATFORMS && MFD_CROS_EC_DEV
CONFIG_CHROMEOS_PRIVACY_SCREEN ChromeOS Privacy Screen support
- Off
- Module
- Built in
This driver provides the support needed for the in-built electronic privacy screen that is present on some ChromeOS devices. When enabled, this should probably always be built into the kernel to avoid or minimize drm probe deferral.
- Depends on
CHROME_PLATFORMS && ACPI && DRM - Selects
DRM_PRIVACY_SCREEN if CHROME_PLATFORMS && ACPI && DRM
CONFIG_CROS_TYPEC_SWITCH ChromeOS EC Type-C Switch Control
- Off
- Module
- Built in
If you say Y here, you get support for configuring the ChromeOS EC Type-C muxes and retimers.
To compile this driver as a module, choose M here: the module will be called cros_typec_switch.
- Depends on
CHROME_PLATFORMS && MFD_CROS_EC_DEV && TYPEC && ACPI
CONFIG_CROS_KUNIT_EC_PROTO_TEST Kunit tests for ChromeOS EC protocol
- Off
- Module
- Built in
Kunit tests for ChromeOS EC protocol.
- Depends on
CHROME_PLATFORMS && KUNIT && CROS_EC - Selects
CROS_EC_PROTO if CHROME_PLATFORMS && KUNIT && CROS_EC