Kconfig 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #
  2. # Platform support for Chrome OS hardware (Chromebooks and Chromeboxes)
  3. #
  4. menuconfig CHROME_PLATFORMS
  5. bool "Platform support for Chrome hardware"
  6. depends on X86 || ARM || ARM64 || COMPILE_TEST
  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. If you say N, all options in this submenu will be skipped and disabled.
  12. if CHROME_PLATFORMS
  13. config CHROMEOS_LAPTOP
  14. tristate "Chrome OS Laptop"
  15. depends on I2C && DMI && X86
  16. ---help---
  17. This driver instantiates i2c and smbus devices such as
  18. light sensors and touchpads.
  19. If you have a supported Chromebook, choose Y or M here.
  20. The module will be called chromeos_laptop.
  21. config CHROMEOS_PSTORE
  22. tristate "Chrome OS pstore support"
  23. depends on X86
  24. ---help---
  25. This module instantiates the persistent storage on x86 ChromeOS
  26. devices. It can be used to store away console logs and crash
  27. information across reboots.
  28. The range of memory used is 0xf00000-0x1000000, traditionally
  29. the memory used to back VGA controller memory.
  30. If you have a supported Chromebook, choose Y or M here.
  31. The module will be called chromeos_pstore.
  32. config CROS_EC_CTL
  33. tristate
  34. config CROS_EC_LPC
  35. tristate "ChromeOS Embedded Controller (LPC)"
  36. depends on MFD_CROS_EC && ACPI && (X86 || COMPILE_TEST)
  37. help
  38. If you say Y here, you get support for talking to the ChromeOS EC
  39. over an LPC bus. This uses a simple byte-level protocol with a
  40. checksum. This is used for userspace access only. The kernel
  41. typically has its own communication methods.
  42. To compile this driver as a module, choose M here: the
  43. module will be called cros_ec_lpc.
  44. config CROS_EC_LPC_MEC
  45. bool "ChromeOS Embedded Controller LPC Microchip EC (MEC) variant"
  46. depends on CROS_EC_LPC
  47. default n
  48. help
  49. If you say Y here, a variant LPC protocol for the Microchip EC
  50. will be used. Note that this variant is not backward compatible
  51. with non-Microchip ECs.
  52. If you have a ChromeOS Embedded Controller Microchip EC variant
  53. choose Y here.
  54. config CROS_EC_PROTO
  55. bool
  56. help
  57. ChromeOS EC communication protocol helpers.
  58. config CROS_KBD_LED_BACKLIGHT
  59. tristate "Backlight LED support for Chrome OS keyboards"
  60. depends on LEDS_CLASS && ACPI
  61. help
  62. This option enables support for the keyboard backlight LEDs on
  63. select Chrome OS systems.
  64. To compile this driver as a module, choose M here: the
  65. module will be called cros_kbd_led_backlight.
  66. endif # CHROMEOS_PLATFORMS