xref: /linux/drivers/platform/arm64/Kconfig (revision 906fd46a65383cd639e5eec72a047efc33045d86)
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
35endif # ARM64_PLATFORM_DEVICES
36