8 option WFC_MIPI_OV8856
0
12 option STYLUS_PRESENT
0
13 option STYLUS_ABSENT
1
17 chip soc
/intel
/alderlake
19 register
"pmc_gpe0_dw1" = "GPP_C"
21 # Enable MIPI DSI on DDI port A
22 register
"ddi_portA_config" = "2" # MIPI DSI
24 register
"sagv" = "SaGv_Enabled"
26 # SOC Aux orientation override
:
27 # This is a bitfield that corresponds
to up
to 4 TCSS ports.
28 # Bits
(0,1) allocated
for TCSS Port1 configuration
and Bits
(2,3)for TCSS Port2.
30 # Bit0
,Bit2
set to "1" indicates no retimer on USBC Ports
31 # Bit1
,Bit3
set to "0" indicates Aux lines are
not swapped on the
32 # motherboard
to USBC connector
33 register
"tcss_aux_ori" = "5"
35 register
"typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}"
36 register
"typec_aux_bias_pads[1]" = "{.pad_auxp_dc = GPP_A21, .pad_auxn_dc = GPP_A22}"
38 register
"usb2_ports[0]" = "{
41 .pre_emp_bias = USB2_BIAS_28P15MV,
42 .tx_bias = USB2_BIAS_0MV,
43 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
44 .pre_emp_bit = USB2_FULL_BIT_PRE_EMP,
47 register
"usb2_ports[1]" = "{
50 .pre_emp_bias = USB2_BIAS_28P15MV,
51 .tx_bias = USB2_BIAS_11P25MV,
52 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
53 .pre_emp_bit = USB2_FULL_BIT_PRE_EMP,
56 register
"usb2_ports[3]" = "{
59 .pre_emp_bias = USB2_BIAS_28P15MV,
60 .tx_bias = USB2_BIAS_11P25MV,
61 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
62 .pre_emp_bit = USB2_FULL_BIT_PRE_EMP,
64 register
"usb2_ports[4]" = "{
67 .pre_emp_bias = USB2_BIAS_28P15MV,
68 .tx_bias = USB2_BIAS_0MV,
69 .tx_emp_enable = USB2_DE_EMP_ON,
70 .pre_emp_bit = USB2_FULL_BIT_PRE_EMP,
72 register
"usb2_ports[5]" = "{
75 .tx_bias = USB2_BIAS_0MV,
76 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
77 .pre_emp_bias = USB2_BIAS_28P15MV,
78 .pre_emp_bit = USB2_FULL_BIT_PRE_EMP,
80 register
"usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port
for CNVi WLAN
82 register
"usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3
/2 Type A port A1
84 register
"tcss_ports[0]" = "TCSS_PORT_DEFAULT(OC_SKIP)"
85 register
"tcss_ports[1]" = "TCSS_PORT_DEFAULT(OC_SKIP)"
87 register
"serial_io_i2c_mode" = "{
88 [PchSerialIoIndexI2C0] = PchSerialIoPci,
89 [PchSerialIoIndexI2C1] = PchSerialIoPci,
90 [PchSerialIoIndexI2C2] = PchSerialIoPci,
91 [PchSerialIoIndexI2C3] = PchSerialIoPci,
92 [PchSerialIoIndexI2C4] = PchSerialIoPci,
93 [PchSerialIoIndexI2C5] = PchSerialIoPci,
96 # Configure external V1P05
/Vnn
/VnnSx Rails
97 register
"ext_fivr_settings" = "{
98 .configure_ext_fivr = 1,
99 .v1p05_enable_bitmap = FIVR_ENABLE_ALL_SX & ~FIVR_ENABLE_S0,
100 .vnn_enable_bitmap = FIVR_ENABLE_ALL_SX ,
101 .vnn_sx_enable_bitmap = FIVR_ENABLE_ALL_SX ,
102 .v1p05_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL,
103 .vnn_supported_voltage_bitmap = FIVR_VOLTAGE_MIN_RETENTION,
104 .v1p05_voltage_mv = 1050,
105 .vnn_voltage_mv = 780,
106 .vnn_sx_voltage_mv = 1050,
107 .v1p05_icc_max_ma = 500,
108 .vnn_icc_max_ma = 500,
112 register
"domain_vr_config[VR_DOMAIN_IA]" = "{
113 .vr_config_enable = 1,
114 .tdc_timewindow = 1000,
117 .psi1threshold = VR_CFG_AMP(20),
118 .psi2threshold = VR_CFG_AMP(5),
119 .psi3threshold = VR_CFG_AMP(1),
122 register
"domain_vr_config[VR_DOMAIN_GT]" = "{
123 .vr_config_enable = 1,
124 .tdc_timewindow = 1000,
125 .psi1threshold = VR_CFG_AMP(13),
126 .psi2threshold = VR_CFG_AMP(5),
127 .psi3threshold = VR_CFG_AMP(1),
131 # Enable the Cnvi BT Audio Offload
132 register
"cnvi_bt_audio_offload" = "1"
134 # Intel Common SoC Config
135 #
+-------------------+---------------------------+
137 #
+-------------------+---------------------------+
138 #| I2C0 | TPM. Early init is |
139 #| | required
to set up a BAR |
140 #| |
for TPM communication |
141 #| I2C1 | Touchscreen |
146 #
+-------------------+---------------------------+
147 register
"common_soc_config" = "{
148 .panel_orientation = LB_FB_ORIENTATION_RIGHT_UP,
151 .speed = I2C_SPEED_FAST_PLUS,
153 .speed = I2C_SPEED_FAST_PLUS,
160 .speed = I2C_SPEED_FAST,
162 .speed = I2C_SPEED_FAST,
169 .speed = I2C_SPEED_FAST,
171 .speed = I2C_SPEED_FAST,
178 .speed = I2C_SPEED_FAST,
180 .speed = I2C_SPEED_FAST,
187 .speed = I2C_SPEED_FAST,
189 .speed = I2C_SPEED_FAST,
196 .speed = I2C_SPEED_FAST,
198 .speed = I2C_SPEED_FAST,
208 chip drivers
/intel
/dptf
209 ## sensor information
210 register
"options.tsr[0].desc" = ""Memory
""
211 register
"options.tsr[1].desc" = ""Charger
""
212 register
"options.tsr[2].desc" = ""Ambient
""
213 register
"options.tsr[3].desc" = ""Sub Charger
""
215 # TODO
: below values are initial reference values only
217 register
"policies.passive" = "{
218 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
219 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000),
220 [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 75, 5000),
221 [3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 75, 5000),
222 [3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 75, 5000),
226 register
"policies.critical" = "{
227 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
228 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
229 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN),
230 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
231 [4] = DPTF_CRITICAL(TEMP_SENSOR_3, 85, SHUTDOWN),
234 register
"controls.power_limits" = "{
238 .time_window_min = 28 * MSECS_PER_SEC,
239 .time_window_max = 32 * MSECS_PER_SEC,
245 .time_window_min = 1,
246 .time_window_max = 1,
251 ## Charger Performance
Control (Control, mA
)
252 register
"controls.charger_perf" = "{
259 device generic
0 on
end
263 chip drivers
/intel
/mipi_camera
264 register
"acpi_uid" = "0x50000"
265 register
"acpi_name" = ""IPU0
""
266 register
"device_type" = "INTEL_ACPI_CAMERA_CIO2"
267 register
"cio2_num_ports" = "1"
268 register
"cio2_lanes_used" = "{4}" #
4 CSI Camera lanes are used
269 register
"cio2_lane_endpoint[0]" = ""^I2C2.CAM0
""
270 register
"cio2_prt[0]" = "2"
272 probe WFC WFC_MIPI_OV8856
276 device ref cnvi_wifi on
277 chip drivers
/wifi
/generic
278 register
"enable_cnvi_ddr_rfim" = "true"
279 device generic
0 on
end
284 register
"generic.hid" = ""HX121A
""
285 register
"generic.desc" = ""HX Touchscreen
""
286 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
287 register
"generic.probed" = "1"
288 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
289 register
"generic.reset_delay_ms" = "200"
290 register
"generic.reset_off_delay_ms" = "2"
291 register
"generic.has_power_resource" = "1"
292 register
"hid_desc_reg_offset" = "0x1"
293 device i2c
0x4F on
end
297 chip drivers
/intel
/mipi_camera
298 register
"acpi_hid" = ""OVTI8856
""
299 register
"acpi_uid" = "0"
300 register
"acpi_name" = ""CAM0
""
301 register
"chip_name" = ""Ov
8856 Camera
""
302 register
"device_type" = "INTEL_ACPI_CAMERA_SENSOR"
304 register
"ssdb.lanes_used" = "4"
305 register
"ssdb.link_used" = "1"
306 register
"ssdb.vcm_type" = "0x0C"
307 register
"vcm_name" = ""VCM0
""
308 register
"num_freq_entries" = "2"
309 register
"link_freq[0]" = "360000000"
310 register
"link_freq[1]" = "180000000"
311 register
"remote_name" = ""IPU0
""
313 register
"has_power_resource" = "1"
315 register
"clk_panel.clks[0].clknum" = "IMGCLKOUT_3"
316 register
"clk_panel.clks[0].freq" = "FREQ_19_2_MHZ"
318 register
"gpio_panel.gpio[0].gpio_num" = "GPP_D15" # EN_PP2800_WCAM_X
319 register
"gpio_panel.gpio[1].gpio_num" = "GPP_D16" # EN_PP1800_PP1200_WCAM_X
320 register
"gpio_panel.gpio[2].gpio_num" = "GPP_D3" # WCAM_RST_L
323 register
"on_seq.ops_cnt" = "5"
324 register
"on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)"
325 register
"on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)"
326 register
"on_seq.ops[2]" = "SEQ_OPS_GPIO_ENABLE(1, 5)"
327 register
"on_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(2, 5)"
328 register
"on_seq.ops[4]" = "SEQ_OPS_GPIO_ENABLE(2, 5)"
331 register
"off_seq.ops_cnt" = "4"
332 register
"off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)"
333 register
"off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)"
334 register
"off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
335 register
"off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
338 probe WFC WFC_MIPI_OV8856
341 chip drivers
/intel
/mipi_camera
342 register
"acpi_uid" = "3"
343 register
"acpi_name" = ""VCM0
""
344 register
"chip_name" = ""DW AF DAC
""
345 register
"device_type" = "INTEL_ACPI_CAMERA_VCM"
347 register
"pr0" = ""\\_SB.PCI0.I2C2.CAM0.PRIC
""
348 register
"vcm_compat" = ""dongwoon
,dw9714
""
351 probe WFC WFC_MIPI_OV8856
354 chip drivers
/intel
/mipi_camera
355 register
"acpi_hid" = "ACPI_DT_NAMESPACE_HID"
356 register
"acpi_uid" = "1"
357 register
"acpi_name" = ""NVM0
""
358 register
"chip_name" = ""GT24C08
""
359 register
"device_type" = "INTEL_ACPI_CAMERA_NVM"
361 register
"pr0" = ""\\_SB.PCI0.I2C2.CAM0.PRIC
""
363 register
"nvm_size" = "0x2000"
364 register
"nvm_pagesize" = "1"
365 register
"nvm_readonly" = "1"
366 register
"nvm_width" = "0x10"
367 register
"nvm_compat" = ""atmel
,24c08
""
370 probe WFC WFC_MIPI_OV8856
375 chip drivers
/i2c
/da7219
376 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
377 register
"btn_cfg" = "50"
378 register
"mic_det_thr" = "200"
379 register
"jack_ins_deb" = "20"
380 register
"jack_det_rate" = ""32ms_64ms
""
381 register
"jack_rem_deb" = "1"
382 register
"a_d_btn_thr" = "0xa"
383 register
"d_b_btn_thr" = "0x16"
384 register
"b_c_btn_thr" = "0x21"
385 register
"c_mic_btn_thr" = "0x3e"
386 register
"btn_avg" = "4"
387 register
"adc_1bit_rpt" = "1"
388 register
"micbias_lvl" = "2600"
389 register
"mic_amp_in_sel" = ""diff
""
395 register
"generic.hid" = ""WCOM014B
""
396 register
"generic.desc" = ""WCOM Digitizer
""
397 register
"generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_F12)"
398 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
399 register
"generic.enable_delay_ms" = "20"
400 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F16)"
401 register
"generic.reset_delay_ms" = "100"
402 register
"generic.has_power_resource" = "1"
403 register
"hid_desc_reg_offset" = "0x1"
405 probe STYLUS STYLUS_PRESENT
411 register
"generic.hid" = ""ZNT0000
""
412 register
"generic.desc" = ""Zinitix Touchpad
""
413 register
"generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
414 register
"generic.wake" = "GPE0_DW2_14"
415 register
"generic.detect" = "1"
416 register
"hid_desc_reg_offset" = "0xE"
421 chip drivers
/generic
/max98357a
422 register
"hid" = ""MX98360A
""
423 register
"sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
424 register
"sdmode_delay" = "5"
425 device generic
0 on
end
428 register
"spkr_tplg" = "max98360a"
429 register
"jack_tplg" = "da7219"
430 register
"mic_tplg" = "_2ch_pdm0"
431 device generic
0 on
end
434 device ref pcie_rp7 off
end
435 device ref pcie_rp9 off
end
437 probe STORAGE STORAGE_EMMC
440 chip drivers
/intel
/ish
441 register
"add_acpi_dma_property" = "true"
442 device generic
0 on
end
446 probe STORAGE STORAGE_UFS
448 device ref pch_espi on
449 chip ec
/google
/chromeec
450 use conn0
as mux_conn
[0]
451 use conn1
as mux_conn
[1]
452 device pnp
0c09.0 on
end
455 device ref pmc hidden
456 chip drivers
/intel
/pmc_mux
458 chip drivers
/intel
/pmc_mux
/conn
459 use usb2_port1
as usb2_port
460 use tcss_usb3_port1
as usb3_port
461 device generic
0 alias conn0 on
end
463 chip drivers
/intel
/pmc_mux
/conn
464 use usb2_port2
as usb2_port
465 use tcss_usb3_port2
as usb3_port
466 device generic
1 alias conn1 on
end
471 device ref tcss_xhci on
472 chip drivers
/usb
/acpi
473 device ref tcss_root_hub on
474 chip drivers
/usb
/acpi
475 register
"desc" = ""USB3
Type-C Port C0
(MLB
)""
476 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
477 register
"use_custom_pld" = "true"
478 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
479 device ref tcss_usb3_port1 on
end
481 chip drivers
/usb
/acpi
482 register
"desc" = ""USB3
Type-C Port C1
(DB
)""
483 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
484 register
"use_custom_pld" = "true"
485 register
"custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
486 device ref tcss_usb3_port2 on
end
492 chip drivers
/usb
/acpi
493 device ref xhci_root_hub on
494 chip drivers
/usb
/acpi
495 register
"desc" = ""USB2
Type-C Port C0
(MLB
)""
496 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
497 register
"use_custom_pld" = "true"
498 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
499 device ref usb2_port1 on
end
501 chip drivers
/usb
/acpi
502 register
"desc" = ""USB2
Type-C Port C1
(DB
)""
503 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
504 register
"use_custom_pld" = "true"
505 register
"custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
506 device ref usb2_port2 on
end
508 chip drivers
/usb
/acpi
509 register
"desc" = ""USB2
Type-A Port A1
(DB
)""
510 register
"type" = "UPC_TYPE_A"
511 register
"use_custom_pld" = "true"
512 register
"custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))"
513 device ref usb2_port4 on
end
515 chip drivers
/usb
/acpi
516 register
"desc" = ""USB2 SDCard
""
517 register
"type" = "UPC_TYPE_EXPRESSCARD"
518 device ref usb2_port5 on
end
520 chip drivers
/usb
/acpi
521 register
"desc" = ""USB2 Camera
""
522 register
"type" = "UPC_TYPE_INTERNAL"
523 device ref usb2_port6 on
end
525 chip drivers
/usb
/acpi
526 register
"desc" = ""USB2 Bluetooth
""
527 register
"type" = "UPC_TYPE_INTERNAL"
528 register
"reset_gpio" =
529 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
530 device ref usb2_port10 on
end
532 chip drivers
/usb
/acpi
533 register
"desc" = ""USB3
Type-A Port A1
(DB
)""
534 register
"type" = "UPC_TYPE_USB3_A"
535 register
"use_custom_pld" = "true"
536 register
"custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))"
537 device ref usb3_port2 on
end