Kconfig (363c8aea25728604537b170a1cc24e2f46844896) Kconfig (2b3efb7c515111eaa009f014b16bce8417fb2828)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# EC-like Drivers for aarch64 based devices.
4#
5
6menuconfig ARM64_PLATFORM_DEVICES
7 bool "ARM64 Platform-Specific Device Drivers"
8 depends on ARM64 || COMPILE_TEST
9 default y
10 help
11 Say Y here to get to see options for platform-specific device drivers
12 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_DEVICES
18
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# EC-like Drivers for aarch64 based devices.
4#
5
6menuconfig ARM64_PLATFORM_DEVICES
7 bool "ARM64 Platform-Specific Device Drivers"
8 depends on ARM64 || COMPILE_TEST
9 default y
10 help
11 Say Y here to get to see options for platform-specific device drivers
12 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_DEVICES
18
19config EC_ACER_ASPIRE1
20 tristate "Acer Aspire 1 Embedded Controller driver"
21 depends on I2C
22 depends on DRM
23 depends on POWER_SUPPLY
24 depends on INPUT
25 help
26 Say Y here to enable the EC driver for the (Snapdragon-based)
27 Acer Aspire 1 laptop. The EC handles battery and charging
28 monitoring as well as some misc functions like the lid sensor
29 and USB Type-C DP HPD events.
30
31 This driver provides battery and AC status support for the mentioned
32 laptop where this information is not properly exposed via the
33 standard ACPI devices.
34
19endif # ARM64_PLATFORM_DEVICES
35endif # ARM64_PLATFORM_DEVICES