Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # EC-like Drivers for aarch64 based devices.
  4. #
  5. menuconfig ARM64_PLATFORM_DEVICES
  6. bool "ARM64 Platform-Specific Device Drivers"
  7. depends on ARM64 || COMPILE_TEST
  8. default ARM64
  9. help
  10. Say Y here to get to see options for platform-specific device drivers
  11. for arm64 based devices, primarily EC-like device drivers.
  12. This option alone does not add any kernel code.
  13. If you say N, all options in this submenu will be skipped and disabled.
  14. if ARM64_PLATFORM_DEVICES
  15. config EC_ACER_ASPIRE1
  16. tristate "Acer Aspire 1 Embedded Controller driver"
  17. depends on ARCH_QCOM || COMPILE_TEST
  18. depends on I2C
  19. depends on DRM
  20. depends on POWER_SUPPLY
  21. depends on INPUT
  22. help
  23. Say Y here to enable the EC driver for the (Snapdragon-based)
  24. Acer Aspire 1 laptop. The EC handles battery and charging
  25. monitoring as well as some misc functions like the lid sensor
  26. and USB Type-C DP HPD events.
  27. This driver provides battery and AC status support for the mentioned
  28. laptop where this information is not properly exposed via the
  29. standard ACPI devices.
  30. config EC_HUAWEI_GAOKUN
  31. tristate "Huawei Matebook E Go Embedded Controller driver"
  32. depends on ARCH_QCOM || COMPILE_TEST
  33. depends on I2C
  34. depends on INPUT
  35. depends on HWMON
  36. select AUXILIARY_BUS
  37. help
  38. Say Y here to enable the EC driver for the Huawei Matebook E Go
  39. which is a sc8280xp-based 2-in-1 tablet. The driver handles battery
  40. (information, charge control) and USB Type-C DP HPD events as well
  41. as some misc functions like the lid sensor and temperature sensors,
  42. etc.
  43. This driver provides battery and AC status support for the mentioned
  44. laptop where this information is not properly exposed via the
  45. standard ACPI devices.
  46. Say M or Y here to include this support.
  47. config EC_LENOVO_YOGA_C630
  48. tristate "Lenovo Yoga C630 Embedded Controller driver"
  49. depends on ARCH_QCOM || COMPILE_TEST
  50. depends on I2C
  51. select AUXILIARY_BUS
  52. help
  53. Driver for the Embedded Controller in the Qualcomm Snapdragon-based
  54. Lenovo Yoga C630, which provides battery and power adapter
  55. information.
  56. This driver provides battery and AC status support for the mentioned
  57. laptop where this information is not properly exposed via the
  58. standard ACPI devices.
  59. Say M or Y here to include this support.
  60. config EC_LENOVO_THINKPAD_T14S
  61. tristate "Lenovo Thinkpad T14s Embedded Controller driver"
  62. depends on ARCH_QCOM || COMPILE_TEST
  63. depends on I2C
  64. depends on INPUT
  65. select INPUT_SPARSEKMAP
  66. select LEDS_CLASS
  67. select NEW_LEDS
  68. select SND_CTL_LED if SND
  69. help
  70. Driver for the Embedded Controller in the Qualcomm Snapdragon-based
  71. Lenovo Thinkpad T14s, which provides access to keyboard backlight
  72. and status LEDs.
  73. This driver provides support for the mentioned laptop where this
  74. information is not properly exposed via the standard Qualcomm
  75. devices.
  76. Say M or Y here to include this support.
  77. endif # ARM64_PLATFORM_DEVICES