Kconfig 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 y
  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_LENOVO_YOGA_C630
  31. tristate "Lenovo Yoga C630 Embedded Controller driver"
  32. depends on ARCH_QCOM || COMPILE_TEST
  33. depends on I2C
  34. select AUXILIARY_BUS
  35. help
  36. Driver for the Embedded Controller in the Qualcomm Snapdragon-based
  37. Lenovo Yoga C630, which provides battery and power adapter
  38. information.
  39. This driver provides battery and AC status support for the mentioned
  40. laptop where this information is not properly exposed via the
  41. standard ACPI devices.
  42. Say M or Y here to include this support.
  43. endif # ARM64_PLATFORM_DEVICES