1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
# SPDX-License-Identifier: GPL-2.0-only
#
# EC-like Drivers for aarch64 based devices.
#
menuconfig ARM64_PLATFORM_DEVICES
bool "ARM64 Platform-Specific Device Drivers"
depends on ARM64 || COMPILE_TEST
default ARM64
help
Say Y here to get to see options for platform-specific device drivers
for arm64 based devices, primarily EC-like device drivers.
This option alone does not add any kernel code.
If you say N, all options in this submenu will be skipped and disabled.
if ARM64_PLATFORM_DEVICES
config EC_ACER_ASPIRE1
tristate "Acer Aspire 1 Embedded Controller driver"
depends on ARCH_QCOM || COMPILE_TEST
depends on I2C
depends on DRM
depends on POWER_SUPPLY
depends on INPUT
help
Say Y here to enable the EC driver for the (Snapdragon-based)
Acer Aspire 1 laptop. The EC handles battery and charging
monitoring as well as some misc functions like the lid sensor
and USB Type-C DP HPD events.
This driver provides battery and AC status support for the mentioned
laptop where this information is not properly exposed via the
standard ACPI devices.
config EC_HUAWEI_GAOKUN
tristate "Huawei Matebook E Go Embedded Controller driver"
depends on ARCH_QCOM || COMPILE_TEST
depends on I2C
depends on INPUT
depends on HWMON
select AUXILIARY_BUS
help
Say Y here to enable the EC driver for the Huawei Matebook E Go
which is a sc8280xp-based 2-in-1 tablet. The driver handles battery
(information, charge control) and USB Type-C DP HPD events as well
as some misc functions like the lid sensor and temperature sensors,
etc.
This driver provides battery and AC status support for the mentioned
laptop where this information is not properly exposed via the
standard ACPI devices.
Say M or Y here to include this support.
config EC_LENOVO_YOGA_C630
tristate "Lenovo Yoga C630 Embedded Controller driver"
depends on ARCH_QCOM || COMPILE_TEST
depends on I2C
select AUXILIARY_BUS
help
Driver for the Embedded Controller in the Qualcomm Snapdragon-based
Lenovo Yoga C630, which provides battery and power adapter
information.
This driver provides battery and AC status support for the mentioned
laptop where this information is not properly exposed via the
standard ACPI devices.
Say M or Y here to include this support.
config EC_LENOVO_THINKPAD_T14S
tristate "Lenovo Thinkpad T14s Embedded Controller driver"
depends on ARCH_QCOM || COMPILE_TEST
depends on I2C
depends on INPUT
select INPUT_SPARSEKMAP
select LEDS_CLASS
select NEW_LEDS
select SND_CTL_LED if SND
help
Driver for the Embedded Controller in the Qualcomm Snapdragon-based
Lenovo Thinkpad T14s, which provides access to keyboard backlight
and status LEDs.
This driver provides support for the mentioned laptop where this
information is not properly exposed via the standard Qualcomm
devices.
Say M or Y here to include this support.
config EC_LENOVO_YOGA_SLIM7X_GEN11
tristate "Lenovo Yoga Slim 7x Gen 11 Embedded Controller driver"
depends on ARCH_QCOM || COMPILE_TEST
depends on I2C
depends on INPUT
depends on HWMON
select NEW_LEDS
select LEDS_CLASS
help
Say Y here to enable the EC driver for the (Snapdragon X2 Elite,
glymur-based) Lenovo Yoga Slim 7x Gen 11 laptop. The EC provides
thermistors and CPU fan speed as hwmon channels, the keyboard
backlight as an LED, Fn-lock as a sysfs attribute, and the mic-mute
and airplane-mode keys.
This is the Gen 11 (glymur) machine specifically. Its EC is a Compal
design at i2c address 0x70 and speaks a different protocol from the
Qualcomm reference EC that the reference designs place at 0x76, so
EC_QCOM_HAMOA does not drive it - and conversely this driver does not
cover the X1E-based Yoga Slim 7x Gen 9.
To compile this driver as a module, choose M here: the module will
be called lenovo-yoga-slim7x-gen11-ec.
config EC_QCOM_HAMOA
tristate "Embedded Controller driver for Qualcomm Hamoa/Glymur reference devices"
depends on ARCH_QCOM || COMPILE_TEST
depends on I2C
depends on THERMAL || THERMAL=n
help
Say M or Y here to enable the Embedded Controller driver for Qualcomm
Snapdragon-based Hamoa/Glymur reference devices. The driver handles fan
control, temperature sensors, access to EC state changes and supports
reporting suspend entry/exit to the EC.
This driver currently supports Hamoa/Purwa/Glymur reference devices.
endif # ARM64_PLATFORM_DEVICES
|