xref: /linux/drivers/platform/arm64/Kconfig (revision 1193e205dbb6feca917dc8e1862ffcdf2194234b)
1363c8aeaSNikita Travkin# SPDX-License-Identifier: GPL-2.0-only
2363c8aeaSNikita Travkin#
3363c8aeaSNikita Travkin# EC-like Drivers for aarch64 based devices.
4363c8aeaSNikita Travkin#
5363c8aeaSNikita Travkin
6363c8aeaSNikita Travkinmenuconfig ARM64_PLATFORM_DEVICES
7363c8aeaSNikita Travkin	bool "ARM64 Platform-Specific Device Drivers"
8363c8aeaSNikita Travkin	depends on ARM64 || COMPILE_TEST
9*e99e2c54SKrzysztof Kozlowski	default ARM64
10363c8aeaSNikita Travkin	help
11363c8aeaSNikita Travkin	  Say Y here to get to see options for platform-specific device drivers
12363c8aeaSNikita Travkin	  for arm64 based devices, primarily EC-like device drivers.
13363c8aeaSNikita Travkin	  This option alone does not add any kernel code.
14363c8aeaSNikita Travkin
15363c8aeaSNikita Travkin	  If you say N, all options in this submenu will be skipped and disabled.
16363c8aeaSNikita Travkin
17363c8aeaSNikita Travkinif ARM64_PLATFORM_DEVICES
18363c8aeaSNikita Travkin
192b3efb7cSNikita Travkinconfig EC_ACER_ASPIRE1
202b3efb7cSNikita Travkin	tristate "Acer Aspire 1 Embedded Controller driver"
2103b92756SGeert Uytterhoeven	depends on ARCH_QCOM || COMPILE_TEST
222b3efb7cSNikita Travkin	depends on I2C
232b3efb7cSNikita Travkin	depends on DRM
242b3efb7cSNikita Travkin	depends on POWER_SUPPLY
252b3efb7cSNikita Travkin	depends on INPUT
262b3efb7cSNikita Travkin	help
272b3efb7cSNikita Travkin	  Say Y here to enable the EC driver for the (Snapdragon-based)
282b3efb7cSNikita Travkin	  Acer Aspire 1 laptop. The EC handles battery and charging
292b3efb7cSNikita Travkin	  monitoring as well as some misc functions like the lid sensor
302b3efb7cSNikita Travkin	  and USB Type-C DP HPD events.
312b3efb7cSNikita Travkin
322b3efb7cSNikita Travkin	  This driver provides battery and AC status support for the mentioned
332b3efb7cSNikita Travkin	  laptop where this information is not properly exposed via the
342b3efb7cSNikita Travkin	  standard ACPI devices.
352b3efb7cSNikita Travkin
367636f090SPengyu Luoconfig EC_HUAWEI_GAOKUN
377636f090SPengyu Luo	tristate "Huawei Matebook E Go Embedded Controller driver"
387636f090SPengyu Luo	depends on ARCH_QCOM || COMPILE_TEST
397636f090SPengyu Luo	depends on I2C
407636f090SPengyu Luo	depends on INPUT
417636f090SPengyu Luo	depends on HWMON
427636f090SPengyu Luo	select AUXILIARY_BUS
437636f090SPengyu Luo
447636f090SPengyu Luo	help
457636f090SPengyu Luo	  Say Y here to enable the EC driver for the Huawei Matebook E Go
467636f090SPengyu Luo	  which is a sc8280xp-based 2-in-1 tablet. The driver handles battery
477636f090SPengyu Luo	  (information, charge control) and USB Type-C DP HPD events as well
487636f090SPengyu Luo	  as some misc functions like the lid sensor and temperature sensors,
497636f090SPengyu Luo	  etc.
507636f090SPengyu Luo
517636f090SPengyu Luo	  This driver provides battery and AC status support for the mentioned
527636f090SPengyu Luo	  laptop where this information is not properly exposed via the
537636f090SPengyu Luo	  standard ACPI devices.
547636f090SPengyu Luo
557636f090SPengyu Luo	  Say M or Y here to include this support.
567636f090SPengyu Luo
575e5f2f92SDmitry Baryshkovconfig EC_LENOVO_YOGA_C630
585e5f2f92SDmitry Baryshkov	tristate "Lenovo Yoga C630 Embedded Controller driver"
591e02e317SGeert Uytterhoeven	depends on ARCH_QCOM || COMPILE_TEST
605e5f2f92SDmitry Baryshkov	depends on I2C
61ec7c0f34SDmitry Baryshkov	select AUXILIARY_BUS
625e5f2f92SDmitry Baryshkov	help
635e5f2f92SDmitry Baryshkov	  Driver for the Embedded Controller in the Qualcomm Snapdragon-based
645e5f2f92SDmitry Baryshkov	  Lenovo Yoga C630, which provides battery and power adapter
655e5f2f92SDmitry Baryshkov	  information.
665e5f2f92SDmitry Baryshkov
675e5f2f92SDmitry Baryshkov	  This driver provides battery and AC status support for the mentioned
685e5f2f92SDmitry Baryshkov	  laptop where this information is not properly exposed via the
695e5f2f92SDmitry Baryshkov	  standard ACPI devices.
705e5f2f92SDmitry Baryshkov
715e5f2f92SDmitry Baryshkov	  Say M or Y here to include this support.
725e5f2f92SDmitry Baryshkov
73363c8aeaSNikita Travkinendif # ARM64_PLATFORM_DEVICES
74