53 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# EC-like Drivers for aarch64 based devices.4#5 6menuconfig ARM64_PLATFORM_DEVICES7 bool "ARM64 Platform-Specific Device Drivers"8 depends on ARM64 || COMPILE_TEST9 default y10 help11 Say Y here to get to see options for platform-specific device drivers12 for arm64 based devices, primarily EC-like device drivers.13 This option alone does not add any kernel code.14 15 If you say N, all options in this submenu will be skipped and disabled.16 17if ARM64_PLATFORM_DEVICES18 19config EC_ACER_ASPIRE120 tristate "Acer Aspire 1 Embedded Controller driver"21 depends on ARCH_QCOM || COMPILE_TEST22 depends on I2C23 depends on DRM24 depends on POWER_SUPPLY25 depends on INPUT26 help27 Say Y here to enable the EC driver for the (Snapdragon-based)28 Acer Aspire 1 laptop. The EC handles battery and charging29 monitoring as well as some misc functions like the lid sensor30 and USB Type-C DP HPD events.31 32 This driver provides battery and AC status support for the mentioned33 laptop where this information is not properly exposed via the34 standard ACPI devices.35 36config EC_LENOVO_YOGA_C63037 tristate "Lenovo Yoga C630 Embedded Controller driver"38 depends on ARCH_QCOM || COMPILE_TEST39 depends on I2C40 select AUXILIARY_BUS41 help42 Driver for the Embedded Controller in the Qualcomm Snapdragon-based43 Lenovo Yoga C630, which provides battery and power adapter44 information.45 46 This driver provides battery and AC status support for the mentioned47 laptop where this information is not properly exposed via the48 standard ACPI devices.49 50 Say M or Y here to include this support.51 52endif # ARM64_PLATFORM_DEVICES53