7 option TOUCHPAD_UNKNOWN
0
8 option TOUCHPAD_EKT3744
1
9 option TOUCHPAD_GT7863
2
11 field TOUCHSCREEN
10 12
12 option TOUCHSCREEN_UNKNOWN
0
13 option TOUCHSCREEN_NONE
1
14 option TOUCHSCREEN_EKTH7D18
2
15 option TOUCHSCREEN_GT7996F
3
16 option TOUCHSCREEN_EKTH5012
4
17 option TOUCHSCREEN_WDT8752A
5
18 option TOUCHSCREEN_GTCH7502
6
19 option TOUCHSCREEN_WDT8790A
7
22 option EXT_VR_PRESENT
0
23 option EXT_VR_ABSENT
1
27 chip soc
/intel
/alderlake
28 register
"sagv" = "SaGv_Enabled"
31 # Refer
to EDS
-Vol2
-42.3.7.
32 #
[14:8] steps of delay
for DDR mode
, each
125ps
, range
: 0 - 39.
33 #
[6:0] steps of delay
for SDR mode
, each
125ps
, range
: 0 - 39.
34 register
"common_soc_config.emmc_dll.emmc_tx_cmd_cntl" = "0x00000505"
36 # EMMC TX DATA Delay
1
37 # Refer
to EDS
-Vol2
-42.3.8.
38 #
[14:8] steps of delay
for HS400
, each
125ps
, range
: 0 - 78.
39 #
[6:0] steps of delay
for SDR104
/HS200
, each
125ps
, range
: 0 - 79.
40 register
"common_soc_config.emmc_dll.emmc_tx_data_cntl1" = "0x00000909"
42 # EMMC TX DATA Delay
2
43 # Refer
to EDS
-Vol2
-42.3.9.
44 #
[30:24] steps of delay
for SDR50
, each
125ps
, range
: 0 - 79.
45 #
[22:16] steps of delay
for DDR50
, each
125ps
, range
: 0 - 78.
46 #
[14:8] steps of delay
for SDR25
/HS50
, each
125ps
, range
: 0 -79.
47 #
[6:0] steps of delay
for SDR12
, each
125ps. Range
: 0 - 79.
48 register
"common_soc_config.emmc_dll.emmc_tx_data_cntl2" = "0x1c272828"
50 # EMMC RX CMD
/DATA Delay
1
51 # Refer
to EDS
-Vol2
-42.3.10.
52 #
[30:24] steps of delay
for SDR50
, each
125ps
, range
: 0 - 119.
53 #
[22:16] steps of delay
for DDR50
, each
125ps
, range
: 0 - 78.
54 #
[14:8] steps of delay
for SDR25
/HS50
, each
125ps
, range
: 0 - 119.
55 #
[6:0] steps of delay
for SDR12
, each
125ps
, range
: 0 - 119.
56 register
"common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl1" = "0x1c171835"
58 # EMMC RX CMD
/DATA Delay
2
59 # Refer
to EDS
-Vol2
-42.3.12.
60 #
[17:16] stands
for Rx Clock before Output Buffer
,
61 #
00: Rx clock after output buffer
,
62 #
01: Rx clock before output buffer
,
63 #
10: Automatic selection based on working mode.
65 #
[14:8] steps of delay
for Auto Tuning Mode
, each
125ps
, range
: 0 - 39.
66 #
[6:0] steps of delay
for HS200
, each
125ps
, range
: 0 - 79.
67 register
"common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl2" = "0x00010025"
69 # EMMC Rx Strobe Delay
70 # Refer
to EDS
-Vol2
-42.3.11.
71 #
[14:8] Rx Strobe Delay DLL
1(HS400 Mode
), each
125ps
, range
: 0 - 39.
72 #
[6:0] Rx Strobe Delay DLL
2(HS400 Mode
), each
125ps
, range
: 0 - 39.
73 register
"common_soc_config.emmc_dll.emmc_rx_strobe_cntl" = "0x00001111"
75 # SOC Aux orientation override
:
76 # This is a bitfield that corresponds
to up
to 4 TCSS ports.
77 # Bits
(0,1) allocated
for TCSS Port1 configuration
and Bits
(2,3)for TCSS Port2.
79 # Bit0
,Bit2
set to "1" indicates no retimer on USBC Ports
80 # Bit1
,Bit3
set to "0" indicates Aux lines are
not swapped on the
81 # motherboard
to USBC connector
83 register
"tcss_aux_ori" = "5"
84 register
"typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}"
85 register
"typec_aux_bias_pads[1]" = "{.pad_auxp_dc = GPP_A21, .pad_auxn_dc = GPP_A22}"
87 register
"usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # World Facing Camera
88 register
"usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port
for CNVi WLAN
90 register
"serial_io_i2c_mode" = "{
91 [PchSerialIoIndexI2C0] = PchSerialIoPci,
92 [PchSerialIoIndexI2C1] = PchSerialIoPci,
93 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
94 [PchSerialIoIndexI2C3] = PchSerialIoPci,
95 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
96 [PchSerialIoIndexI2C5] = PchSerialIoPci,
99 register
"tcc_offset" = "3"
101 # Intel Common SoC Config
102 #
+-------------------+---------------------------+
104 #
+-------------------+---------------------------+
105 #| I2C0 | TPM. Early init is |
106 #| | required
to set up a BAR |
107 #| |
for TPM communication |
108 #| I2C1 | Touchscreen |
112 #
+-------------------+---------------------------+
113 register
"common_soc_config" = "{
116 .speed = I2C_SPEED_FAST_PLUS,
118 .speed = I2C_SPEED_FAST_PLUS,
125 .speed = I2C_SPEED_FAST,
127 .speed = I2C_SPEED_FAST,
134 .speed = I2C_SPEED_FAST,
136 .speed = I2C_SPEED_FAST,
143 .speed = I2C_SPEED_FAST,
145 .speed = I2C_SPEED_FAST,
155 chip drivers
/intel
/dptf
156 ## sensor information
157 register
"options.tsr[0].desc" = ""CPU_VR
""
158 register
"options.tsr[1].desc" = ""Charger
""
159 register
"options.tsr[2].desc" = ""Ambient
""
162 register
"policies.passive" = "{
163 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
164 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 85, 5000),
165 [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 85, 5000),
166 [3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 85, 5000),
169 register
"policies.critical" = "{
170 [0] = DPTF_CRITICAL(CPU, 130, SHUTDOWN),
171 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 105, SHUTDOWN),
172 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 105, SHUTDOWN),
173 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 105, SHUTDOWN),
176 register
"controls.power_limits" = "{
180 .time_window_min = 28 * MSECS_PER_SEC,
181 .time_window_max = 28 * MSECS_PER_SEC,
187 .time_window_min = 28 * MSECS_PER_SEC,
188 .time_window_max = 28 * MSECS_PER_SEC,
193 ## Charger Performance
Control (Control, mA
)
194 register
"controls.charger_perf" = "{
200 device generic
0 on
end
203 device ref cnvi_wifi on
204 chip drivers
/wifi
/generic
205 register
"wake" = "GPE0_PME_B0"
206 register
"enable_cnvi_ddr_rfim" = "true"
207 register
"add_acpi_dma_property" = "true"
208 device generic
0 on
end
213 register
"generic.hid" = ""WDHT0002
""
214 register
"generic.desc" = ""WDT Touchscreen
""
215 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
216 register
"generic.detect" = "1"
217 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
218 register
"generic.reset_delay_ms" = "20"
219 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
220 register
"generic.stop_delay_ms" = "130"
221 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
222 register
"generic.enable_delay_ms" = "1"
223 register
"generic.has_power_resource" = "1"
224 register
"hid_desc_reg_offset" = "0x20"
226 probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
229 chip drivers
/i2c
/generic
230 register
"hid" = ""ELAN0001
""
231 register
"desc" = ""ELAN Touchscreen
""
232 register
"irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
233 register
"detect" = "1"
234 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
235 register
"reset_delay_ms" = "20"
236 register
"reset_off_delay_ms" = "2"
237 register
"stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
238 register
"stop_delay_ms" = "280"
239 register
"stop_off_delay_ms" = "2"
240 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
241 register
"enable_delay_ms" = "1"
242 register
"has_power_resource" = "1"
244 probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
248 register
"generic.hid" = ""ELAN900C
""
249 register
"generic.desc" = ""ELAN Touchscreen
""
250 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
251 register
"generic.detect" = "1"
252 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
253 register
"generic.reset_delay_ms" = "6"
254 register
"generic.reset_off_delay_ms" = "1"
255 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
256 register
"generic.stop_delay_ms" = "300"
257 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
258 register
"generic.enable_delay_ms" = "6"
259 register
"generic.has_power_resource" = "1"
260 register
"hid_desc_reg_offset" = "0x01"
262 probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
266 register
"generic.hid" = ""GXTP7996
""
267 register
"generic.desc" = ""Goodix Touchscreen
""
268 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
269 register
"generic.detect" = "1"
270 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
271 register
"generic.reset_delay_ms" = "100"
272 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
273 register
"generic.stop_delay_ms" = "200"
274 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
275 register
"generic.enable_delay_ms" = "10"
276 register
"generic.has_power_resource" = "1"
277 register
"hid_desc_reg_offset" = "0x01"
279 probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
283 register
"generic.hid" = ""GTCH7502
""
284 register
"generic.desc" = ""G2TOUCH Touchscreen
""
285 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
286 register
"generic.detect" = "1"
287 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
288 register
"generic.reset_delay_ms" = "100"
289 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
290 register
"generic.stop_delay_ms" = "30"
291 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
292 register
"generic.enable_delay_ms" = "30"
293 register
"generic.has_power_resource" = "1"
294 register
"hid_desc_reg_offset" = "0x01"
296 probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
300 register
"generic.hid" = ""WDHT2601
""
301 register
"generic.desc" = ""WDT Touchscreen
""
302 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
303 register
"generic.detect" = "1"
304 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
305 register
"generic.reset_delay_ms" = "20"
306 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
307 register
"generic.stop_delay_ms" = "130"
308 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
309 register
"generic.enable_delay_ms" = "1"
310 register
"generic.has_power_resource" = "1"
311 register
"hid_desc_reg_offset" = "0x20"
313 probe TOUCHSCREEN TOUCHSCREEN_UNKNOWN
318 chip drivers
/i2c
/cs42l42
319 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
320 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B15)"
321 register
"ts_inv" = "true"
322 register
"ts_dbnc_rise" = "RISE_DEB_1000_MS"
323 register
"ts_dbnc_fall" = "FALL_DEB_0_MS"
324 register
"btn_det_init_dbnce" = "100"
325 register
"btn_det_event_dbnce" = "10"
326 register
"bias_lvls[0]" = "15"
327 register
"bias_lvls[1]" = "8"
328 register
"bias_lvls[2]" = "4"
329 register
"bias_lvls[3]" = "1"
330 register
"hs_bias_ramp_rate" = "HSBIAS_RAMP_SLOW"
331 register
"hs_bias_sense_disable" = "true"
336 chip drivers
/i2c
/generic
337 register
"hid" = ""ELAN0000
""
338 register
"desc" = ""ELAN Touchpad
""
339 register
"irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
340 register
"wake" = "GPE0_DW2_14"
341 register
"detect" = "1"
345 register
"generic.hid" = ""GXTP7863
""
346 register
"generic.desc" = ""Goodix Touchpad
""
347 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_F14_IRQ)"
348 register
"generic.wake" = "GPE0_DW2_14"
349 register
"generic.detect" = "1"
350 register
"hid_desc_reg_offset" = "0x20"
354 device ref pcie_rp7 off
end
356 chip drivers
/generic
/max98357a
357 register
"hid" = ""MX98360A
""
358 register
"sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
359 register
"sdmode_delay" = "5"
360 device generic
0 on
end
363 register
"spkr_tplg" = "max98360a"
364 register
"jack_tplg" = "cs42l42"
365 register
"mic_tplg" = "_2ch_pdm0"
366 device generic
0 on
end
369 device ref pch_espi on
370 chip ec
/google
/chromeec
371 use conn0
as mux_conn
[0]
372 use conn1
as mux_conn
[1]
373 device pnp
0c09.0 on
end
376 device ref pmc hidden
377 chip drivers
/intel
/pmc_mux
379 chip drivers
/intel
/pmc_mux
/conn
380 use usb2_port1
as usb2_port
381 use tcss_usb3_port1
as usb3_port
382 device generic
0 alias conn0 on
end
384 chip drivers
/intel
/pmc_mux
/conn
385 use usb2_port2
as usb2_port
386 use tcss_usb3_port2
as usb3_port
387 device generic
1 alias conn1 on
end
392 device ref tcss_xhci on
393 chip drivers
/usb
/acpi
394 device ref tcss_root_hub on
395 chip drivers
/usb
/acpi
396 register
"desc" = ""USB3
Type-C Port C0
(MLB
)""
397 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
398 register
"use_custom_pld" = "true"
399 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
400 device ref tcss_usb3_port1 on
end
402 chip drivers
/usb
/acpi
403 register
"desc" = ""USB3
Type-C Port C1
(DB
)""
404 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
405 register
"use_custom_pld" = "true"
406 register
"custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
407 device ref tcss_usb3_port2 on
end
413 chip drivers
/usb
/acpi
414 device ref xhci_root_hub on
415 chip drivers
/usb
/acpi
416 register
"desc" = ""USB2
Type-C Port C0
(MLB
)""
417 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
418 register
"use_custom_pld" = "true"
419 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
420 device ref usb2_port1 on
end
422 chip drivers
/usb
/acpi
423 register
"desc" = ""USB2
Type-C Port C1
(DB
)""
424 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
425 register
"use_custom_pld" = "true"
426 register
"custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
427 device ref usb2_port2 on
end
429 chip drivers
/usb
/acpi
430 register
"desc" = ""USB2
Type-A Port A0
(MLB
)""
431 register
"type" = "UPC_TYPE_A"
432 register
"use_custom_pld" = "true"
433 register
"custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))"
434 device ref usb2_port3 on
end
436 chip drivers
/usb
/acpi
437 register
"desc" = ""USB2 WWAN
""
438 register
"type" = "UPC_TYPE_INTERNAL"
439 device ref usb2_port4 on
440 probe DB_LTE LTE_PRESENT
443 chip drivers
/usb
/acpi
444 register
"desc" = ""USB2 User Facing Camera
""
445 register
"type" = "UPC_TYPE_INTERNAL"
446 device ref usb2_port6 on
end
448 chip drivers
/usb
/acpi
449 register
"desc" = ""USB2 World Facing Camera
""
450 register
"type" = "UPC_TYPE_INTERNAL"
451 device ref usb2_port7 on
end
453 chip drivers
/usb
/acpi
454 register
"desc" = ""USB2 Bluetooth
""
455 register
"type" = "UPC_TYPE_INTERNAL"
456 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
457 device ref usb2_port10 on
end
459 chip drivers
/usb
/acpi
460 register
"desc" = ""USB3
Type-A Port A0
(MLB
)""
461 register
"type" = "UPC_TYPE_USB3_A"
462 register
"use_custom_pld" = "true"
463 register
"custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))"
464 device ref usb3_port1 on
end
466 chip drivers
/usb
/acpi
467 register
"desc" = ""USB3 WWAN
""
468 register
"type" = "UPC_TYPE_INTERNAL"
469 device ref usb3_port2 on
470 probe DB_LTE LTE_PRESENT