| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# EC-like Drivers for aarch64 based devices. |
| 4 |
# |
| 5 |
|
| 6 |
menuconfig ARM64_PLATFORM_DEVICES |
| 7 |
bool "ARM64 Platform-Specific Device Drivers" |
| 8 |
depends on ARM64 || COMPILE_TEST |
| 9 |
default ARM64 |
| 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 |
|
| 17 |
if ARM64_PLATFORM_DEVICES |
| 18 |
|
| 19 |
config EC_ACER_ASPIRE1 |
| 20 |
tristate "Acer Aspire 1 Embedded Controller driver" |
| 21 |
depends on ARCH_QCOM || COMPILE_TEST |
| 22 |
depends on I2C |
| 23 |
depends on DRM |
| 24 |
depends on POWER_SUPPLY |
| 25 |
depends on INPUT |
| 26 |
help |
| 27 |
Say Y here to enable the EC driver for the (Snapdragon-based) |
| 28 |
Acer Aspire 1 laptop. The EC handles battery and charging |
| 29 |
monitoring as well as some misc functions like the lid sensor |
| 30 |
and USB Type-C DP HPD events. |
| 31 |
|
| 32 |
This driver provides battery and AC status support for the mentioned |
| 33 |
laptop where this information is not properly exposed via the |
| 34 |
standard ACPI devices. |
| 35 |
|
| 36 |
config EC_HUAWEI_GAOKUN |
| 37 |
tristate "Huawei Matebook E Go Embedded Controller driver" |
| 38 |
depends on ARCH_QCOM || COMPILE_TEST |
| 39 |
depends on I2C |
| 40 |
depends on INPUT |
| 41 |
depends on HWMON |
| 42 |
select AUXILIARY_BUS |
| 43 |
|
| 44 |
help |
| 45 |
Say Y here to enable the EC driver for the Huawei Matebook E Go |
| 46 |
which is a sc8280xp-based 2-in-1 tablet. The driver handles battery |
| 47 |
(information, charge control) and USB Type-C DP HPD events as well |
| 48 |
as some misc functions like the lid sensor and temperature sensors, |
| 49 |
etc. |
| 50 |
|
| 51 |
This driver provides battery and AC status support for the mentioned |
| 52 |
laptop where this information is not properly exposed via the |
| 53 |
standard ACPI devices. |
| 54 |
|
| 55 |
Say M or Y here to include this support. |
| 56 |
|
| 57 |
config EC_LENOVO_YOGA_C630 |
| 58 |
tristate "Lenovo Yoga C630 Embedded Controller driver" |
| 59 |
depends on ARCH_QCOM || COMPILE_TEST |
| 60 |
depends on I2C |
| 61 |
select AUXILIARY_BUS |
| 62 |
help |
| 63 |
Driver for the Embedded Controller in the Qualcomm Snapdragon-based |
| 64 |
Lenovo Yoga C630, which provides battery and power adapter |
| 65 |
information. |
| 66 |
|
| 67 |
This driver provides battery and AC status support for the mentioned |
| 68 |
laptop where this information is not properly exposed via the |
| 69 |
standard ACPI devices. |
| 70 |
|
| 71 |
Say M or Y here to include this support. |
| 72 |
|
| 73 |
config EC_LENOVO_THINKPAD_T14S |
| 74 |
tristate "Lenovo Thinkpad T14s Embedded Controller driver" |
| 75 |
depends on ARCH_QCOM || COMPILE_TEST |
| 76 |
depends on I2C |
| 77 |
depends on INPUT |
| 78 |
select INPUT_SPARSEKMAP |
| 79 |
select LEDS_CLASS |
| 80 |
select NEW_LEDS |
| 81 |
select SND_CTL_LED if SND |
| 82 |
help |
| 83 |
Driver for the Embedded Controller in the Qualcomm Snapdragon-based |
| 84 |
Lenovo Thinkpad T14s, which provides access to keyboard backlight |
| 85 |
and status LEDs. |
| 86 |
|
| 87 |
This driver provides support for the mentioned laptop where this |
| 88 |
information is not properly exposed via the standard Qualcomm |
| 89 |
devices. |
| 90 |
|
| 91 |
Say M or Y here to include this support. |
| 92 |
|
| 93 |
endif # ARM64_PLATFORM_DEVICES |