Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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 CHROMEOS_TBMC
  33. tristate "ChromeOS Tablet Switch Controller"
  34. depends on ACPI
  35. depends on INPUT
  36. help
  37. This option adds a driver for the tablet switch on
  38. select Chrome OS systems.
  39. To compile this driver as a module, choose M here: the
  40. module will be called chromeos_tbmc.
  41. config CROS_EC_CTL
  42. tristate
  43. config CROS_EC_I2C
  44. tristate "ChromeOS Embedded Controller (I2C)"
  45. depends on MFD_CROS_EC && I2C
  46. help
  47. If you say Y here, you get support for talking to the ChromeOS
  48. EC through an I2C bus. This uses a simple byte-level protocol with
  49. a checksum. Failing accesses will be retried three times to
  50. improve reliability.
  51. config CROS_EC_SPI
  52. tristate "ChromeOS Embedded Controller (SPI)"
  53. depends on MFD_CROS_EC && SPI
  54. ---help---
  55. If you say Y here, you get support for talking to the ChromeOS EC
  56. through a SPI bus, using a byte-level protocol. Since the EC's
  57. response time cannot be guaranteed, we support ignoring
  58. 'pre-amble' bytes before the response actually starts.
  59. config CROS_EC_LPC
  60. tristate "ChromeOS Embedded Controller (LPC)"
  61. depends on MFD_CROS_EC && ACPI && (X86 || COMPILE_TEST)
  62. help
  63. If you say Y here, you get support for talking to the ChromeOS EC
  64. over an LPC bus. This uses a simple byte-level protocol with a
  65. checksum. This is used for userspace access only. The kernel
  66. typically has its own communication methods.
  67. To compile this driver as a module, choose M here: the
  68. module will be called cros_ec_lpc.
  69. config CROS_EC_LPC_MEC
  70. bool "ChromeOS Embedded Controller LPC Microchip EC (MEC) variant"
  71. depends on CROS_EC_LPC
  72. default n
  73. help
  74. If you say Y here, a variant LPC protocol for the Microchip EC
  75. will be used. Note that this variant is not backward compatible
  76. with non-Microchip ECs.
  77. If you have a ChromeOS Embedded Controller Microchip EC variant
  78. choose Y here.
  79. config CROS_EC_PROTO
  80. bool
  81. help
  82. ChromeOS EC communication protocol helpers.
  83. config CROS_KBD_LED_BACKLIGHT
  84. tristate "Backlight LED support for Chrome OS keyboards"
  85. depends on LEDS_CLASS && ACPI
  86. help
  87. This option enables support for the keyboard backlight LEDs on
  88. select Chrome OS systems.
  89. To compile this driver as a module, choose M here: the
  90. module will be called cros_kbd_led_backlight.
  91. endif # CHROMEOS_PLATFORMS