2 field AUDIO_CODEC_SOURCE
40 42
3 option AUDIO_CODEC_UNPROVISIONED
0
4 option AUDIO_CODEC_ALC5682
1
5 option AUDIO_CODEC_ALC5682I_VS
2
8 chip soc
/intel
/jasperlake
10 # USB Port Configuration
11 register
"usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # Camera
13 # Intel Common SoC Config
14 #
+-------------------+---------------------------+
16 #
+-------------------+---------------------------+
17 #| GSPI0 | cr50 TPM. Early init is |
18 #| | required
to set up a BAR |
19 #| |
for TPM communication |
20 #| | before memory is up |
23 #| I2C2 | Touchscreen |
26 #
+-------------------+---------------------------+
27 register
"common_soc_config" = "{
33 .speed = I2C_SPEED_FAST,
35 .speed = I2C_SPEED_FAST,
42 .speed = I2C_SPEED_FAST,
45 .speed = I2C_SPEED_FAST,
47 .speed = I2C_SPEED_FAST,
54 .speed = I2C_SPEED_FAST,
57 .speed = I2C_SPEED_FAST,
59 .speed = I2C_SPEED_FAST,
67 register
"tcc_offset" = "20" # TCC of
85C
69 # Enable Acoustic noise mitigation
and set slew rate
to 1/4
70 # Rest of the parameters are
0 by default.
71 register
"AcousticNoiseMitigation" = "1"
72 register
"SlowSlewRate" = "SlewRateFastBy4"
73 register
"FastPkgCRampDisable" = "1"
76 device pci
05.0 on # IPU
- MIPI Camera
77 chip drivers
/intel
/mipi_camera
78 register
"acpi_uid" = "0x50000"
79 register
"acpi_name" = ""IPU0
""
80 register
"device_type" = "INTEL_ACPI_CAMERA_CIO2"
82 register
"cio2_num_ports" = "2"
83 register
"cio2_lanes_used" = "{1,4}"
84 register
"cio2_lane_endpoint[1]" = ""^I2C3.CAM1
""
85 register
"cio2_prt[0]" = "0"
86 register
"cio2_prt[1]" = "2"
87 device generic
0 on
end
92 chip drivers
/intel
/dptf
93 # Default DPTF Policy
for all drawcia boards
if not overridden
94 register
"options.tsr[0].desc" = ""Memory
""
95 register
"options.tsr[1].desc" = ""Ambient
""
96 register
"options.tsr[2].desc" = ""Charger
""
97 register
"options.tsr[3].desc" = ""5V regulator
""
100 register
"policies.passive" = "{
101 [0] = DPTF_PASSIVE(CPU, CPU, 80, 1000),
102 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 70, 4000),
103 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 51, 1000),
104 [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 5000),
105 [4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 60, 1000)
109 register
"policies.critical" = "{
110 [0] = DPTF_CRITICAL(CPU, 119, SHUTDOWN),
111 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 115, SHUTDOWN),
112 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 115, SHUTDOWN),
113 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 115, SHUTDOWN),
114 [4] = DPTF_CRITICAL(TEMP_SENSOR_3, 115, SHUTDOWN)
117 register
"controls.power_limits" = "{
121 .time_window_min = 1 * MSECS_PER_SEC,
122 .time_window_max = 1 * MSECS_PER_SEC,
128 .time_window_min = 1 * MSECS_PER_SEC,
129 .time_window_max = 1 * MSECS_PER_SEC,
134 ## Charger Performance
Control (Control, mA
)
135 register
"controls.charger_perf" = "{
142 device generic
0 on
end
144 end # SA Thermal device
146 chip drivers
/usb
/acpi
148 chip drivers
/usb
/acpi
149 register
"desc" = ""LTE
""
150 register
"type" = "UPC_TYPE_INTERNAL"
151 register
"group" = "ACPI_PLD_GROUP(2, 2)"
152 register
"has_power_resource" = "1"
153 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H17)"
154 register
"reset_off_delay_ms" = "20"
155 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A10)"
156 register
"enable_delay_ms" = "20"
157 device usb
2.3 alias lte_usb2 on
158 probe DB_PORTS DB_PORTS_1A_HDMI_LTE
161 chip drivers
/usb
/acpi
162 register
"desc" = ""Right
Type-A Port
""
163 register
"type" = "UPC_TYPE_A"
164 register
"group" = "ACPI_PLD_GROUP(2, 2)"
166 probe DB_PORTS DB_PORTS_1A_HDMI
167 probe DB_PORTS DB_PORTS_1C_1A
170 chip drivers
/usb
/acpi
171 register
"desc" = ""Camera
""
172 register
"type" = "UPC_TYPE_INTERNAL"
173 device usb
2.5 on
end
175 chip drivers
/usb
/acpi
176 register
"desc" = ""LTE
""
177 register
"type" = "UPC_TYPE_INTERNAL"
178 register
"group" = "ACPI_PLD_GROUP(2, 2)"
180 probe DB_PORTS DB_PORTS_1A_HDMI_LTE
183 chip drivers
/usb
/acpi
184 register
"desc" = ""Right
Type-A Port
""
185 register
"type" = "UPC_TYPE_USB3_A"
186 register
"group" = "ACPI_PLD_GROUP(2, 2)"
188 probe DB_PORTS DB_PORTS_1A_HDMI
189 probe DB_PORTS DB_PORTS_1C_1A
196 chip drivers
/i2c
/generic
197 register
"hid" = ""ELAN0000
""
198 register
"desc" = ""ELAN Touchpad
""
199 register
"irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_B3_IRQ)"
200 register
"wake" = "GPE0_DW0_03"
201 register
"detect" = "1"
205 register
"generic.hid" = ""SYNA0000
""
206 register
"generic.cid" = ""ACPI0C50
""
207 register
"generic.desc" = ""Synaptics Touchpad
""
208 register
"generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
209 register
"generic.wake" = "GPE0_DW0_03"
210 register
"generic.detect" = "1"
211 register
"hid_desc_reg_offset" = "0x20"
212 device i2c
0x2c on
end
216 chip drivers
/generic
/gpio_keys
217 register
"name" = ""PENH
""
218 register
"gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_C12)"
219 register
"key.wakeup_route" = "WAKEUP_ROUTE_GPIO_IRQ"
220 register
"key.wakeup_event_action" = "EV_ACT_DEASSERTED"
221 register
"key.dev_name" = ""EJCT
""
222 register
"key.linux_code" = "SW_PEN_INSERTED"
223 register
"key.linux_input_type" = "EV_SW"
224 register
"key.label" = ""pen_eject
""
225 device generic
0 on
end
227 chip drivers
/i2c
/generic
228 register
"hid" = ""ELAN0001
""
229 register
"desc" = ""ELAN Touchscreen
""
230 register
"irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
231 register
"detect" = "1"
232 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D5)"
233 register
"reset_delay_ms" = "20"
234 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
235 register
"enable_delay_ms" = "1"
236 register
"has_power_resource" = "1"
240 register
"generic.hid" = ""GTCH7503
""
241 register
"generic.desc" = ""G2TOUCH Touchscreen
""
242 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
243 register
"generic.detect" = "1"
244 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D5)"
245 register
"generic.reset_delay_ms" = "50"
246 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
247 register
"generic.enable_delay_ms" = "1"
248 register
"generic.has_power_resource" = "1"
249 register
"hid_desc_reg_offset" = "0x01"
253 register
"generic.hid" = ""GDIX0000
""
254 register
"generic.desc" = ""Goodix Touchscreen
""
255 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
256 register
"generic.detect" = "1"
257 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D5)"
258 register
"generic.reset_delay_ms" = "120"
259 register
"generic.reset_off_delay_ms" = "2"
260 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
261 register
"generic.enable_delay_ms" = "12"
262 register
"generic.has_power_resource" = "1"
263 register
"hid_desc_reg_offset" = "0x01"
264 device i2c
0x5d on
end
267 register
"generic.hid" = ""ELAN2513
""
268 register
"generic.desc" = ""ELAN Touchscreen
""
269 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
270 register
"generic.detect" = "1"
271 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D5)"
272 register
"generic.reset_delay_ms" = "20"
273 register
"generic.reset_off_delay_ms" = "2"
274 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
275 register
"generic.enable_delay_ms" = "10"
276 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A11)"
277 register
"generic.stop_delay_ms" = "130"
278 register
"generic.has_power_resource" = "1"
279 register
"hid_desc_reg_offset" = "0x01"
283 register
"generic.hid" = ""WDHT0002
""
284 register
"generic.desc" = ""WDT Touchscreen
""
285 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
286 register
"generic.detect" = "1"
287 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D5)"
288 register
"generic.reset_delay_ms" = "130"
289 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
290 register
"generic.enable_delay_ms" = "10"
291 register
"generic.has_power_resource" = "1"
292 register
"hid_desc_reg_offset" = "0x20"
297 chip drivers
/intel
/mipi_camera
298 register
"acpi_hid" = ""OVTI8856
""
299 register
"acpi_uid" = "0"
300 register
"acpi_name" = ""CAM1
""
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"
314 register
"low_power_probe" = "1"
317 register
"clk_panel.clks[0].clknum" = "1" #IMGCLKOUT_1
318 register
"clk_panel.clks[0].freq" = "1" #
19.2 Mhz
320 register
"gpio_panel.gpio[0].gpio_num" = "GPP_D13" #power_enable_2p8
321 register
"gpio_panel.gpio[1].gpio_num" = "GPP_D14" #power_enable_1p2
322 register
"gpio_panel.gpio[2].gpio_num" = "GPP_D12" #reset
325 register
"on_seq.ops_cnt" = "6"
326 register
"on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)"
327 register
"on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)"
328 register
"on_seq.ops[2]" = "SEQ_OPS_GPIO_ENABLE(1, 5)"
329 register
"on_seq.ops[3]" = "SEQ_OPS_GPIO_ENABLE(2, 5)"
330 register
"on_seq.ops[4]" = "SEQ_OPS_GPIO_DISABLE(2, 5)"
331 register
"on_seq.ops[5]" = "SEQ_OPS_GPIO_ENABLE(2, 0)"
334 register
"off_seq.ops_cnt" = "4"
335 register
"off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)"
336 register
"off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)"
337 register
"off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
338 register
"off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
342 chip drivers
/intel
/mipi_camera
343 register
"acpi_hid" = "ACPI_DT_NAMESPACE_HID"
344 register
"acpi_uid" = "3"
345 register
"acpi_name" = ""VCM0
""
346 register
"chip_name" = ""DW AF DAC
""
347 register
"device_type" = "INTEL_ACPI_CAMERA_VCM"
349 register
"has_power_resource" = "1"
350 register
"vcm_compat" = ""dongwoon
,dw9714
""
351 register
"low_power_probe" = "1"
353 register
"gpio_panel.gpio[0].gpio_num" = "GPP_D13" #power_enable_2p8
354 register
"gpio_panel.gpio[1].gpio_num" = "GPP_D12" #reset
356 register
"on_seq.ops_cnt" = "2"
357 register
"on_seq.ops[0]" = "SEQ_OPS_GPIO_ENABLE(0, 0)"
358 register
"on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(1, 5)"
360 register
"off_seq.ops_cnt" = "2"
361 register
"off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
362 register
"off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(1, 5)"
366 chip drivers
/intel
/mipi_camera
367 register
"acpi_uid" = "1"
368 register
"acpi_name" = ""NVM0
""
369 register
"chip_name" = ""GT24C08
""
370 register
"device_type" = "INTEL_ACPI_CAMERA_NVM"
372 register
"nvm_size" = "0x0400"
373 register
"nvm_pagesize" = "1"
374 register
"nvm_readonly" = "1"
375 register
"nvm_width" = "0x08"
376 register
"nvm_compat" = ""atmel
,24c08
""
377 register
"low_power_probe" = "1"
379 register
"has_power_resource" = "1"
381 register
"gpio_panel.gpio[0].gpio_num" = "GPP_D14" #power_enable_1p2
383 register
"on_seq.ops_cnt" = "1"
384 register
"on_seq.ops[0]" = "SEQ_OPS_GPIO_ENABLE(0, 0)"
386 register
"off_seq.ops_cnt" = "1"
387 register
"off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
392 chip drivers
/i2c
/generic
393 register
"hid" = ""10EC5682
""
394 register
"name" = ""RT58
""
395 register
"desc" = ""Headset Codec
""
396 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
397 #
Set the jd_src
to RT5668_JD1
for jack detection
398 register
"property_count" = "1"
399 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
400 register
"property_list[0].name" = ""realtek
,jd
-src
""
401 register
"property_list[0].integer" = "1"
403 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_UNPROVISIONED
404 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
407 chip drivers
/i2c
/generic
408 register
"hid" = ""RTL5682
""
409 register
"name" = ""RT58
""
410 register
"desc" = ""Headset Codec
""
411 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
412 #
Set the jd_src
to RT5668_JD1
for jack detection
413 register
"property_count" = "1"
414 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
415 register
"property_list[0].name" = ""realtek
,jd
-src
""
416 register
"property_list[0].integer" = "1"
418 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
423 chip drivers
/generic
/max98357a
424 register
"hid" = ""MX98360A
""
425 register
"sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
426 device generic
0 on
end