Kconfig

CONFIG_CHROME_PLATFORMS Platform support for Chrome hardware

On

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_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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

CONFIG_CROS_EC_TYPEC_ALTMODES

On

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.

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.

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.

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.

Includedrivers/platform/chrome/wilco_ec/Kconfig Open file