2 field AUDIO_CODEC_SOURCE
41 43
3 option AUDIO_CODEC_UNPROVISIONED
0
4 option AUDIO_CODEC_ALC5682
1
5 option AUDIO_CODEC_ALC5682I_VS
2
9 chip soc
/intel
/jasperlake
11 # Intel Common SoC Config
12 #
+-------------------+---------------------------+
14 #
+-------------------+---------------------------+
15 #| GSPI0 | cr50 TPM. Early init is |
16 #| | required
to set up a BAR |
17 #| |
for TPM communication |
18 #| | before memory is up |
21 #| I2C2 | Touchscreen
, Stylus |
24 #
+-------------------+---------------------------+
25 register
"common_soc_config" = "{
31 .speed = I2C_SPEED_FAST,
33 .speed = I2C_SPEED_FAST,
40 .speed = I2C_SPEED_FAST,
43 .speed = I2C_SPEED_FAST,
45 .speed = I2C_SPEED_FAST,
52 .speed = I2C_SPEED_FAST,
54 .speed = I2C_SPEED_FAST,
61 .speed = I2C_SPEED_FAST,
63 .speed = I2C_SPEED_FAST,
71 # USB Port Configuration
72 register
"usb2_ports[4]" = "USB2_PORT_EMPTY" #
Not Used
73 register
"usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # UF Camera
74 register
"usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # WF Camera
76 register
"SerialIoI2cMode" = "{
77 [PchSerialIoIndexI2C0] = PchSerialIoPci,
78 [PchSerialIoIndexI2C1] = PchSerialIoPci,
79 [PchSerialIoIndexI2C2] = PchSerialIoPci,
80 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
81 [PchSerialIoIndexI2C4] = PchSerialIoPci,
82 [PchSerialIoIndexI2C5] = PchSerialIoPci,
85 # Enable Acoustic noise mitigation
and set slew rate
to 1/8
86 # Rest of the parameters are
0 by default.
87 register
"AcousticNoiseMitigation" = "1"
88 register
"SlowSlewRate" = "SlewRateFastBy8"
89 register
"FastPkgCRampDisable" = "1"
91 #
Set xHCI LFPS period sampling off time
to 0 ms
92 register
"xhci_lfps_sampling_offtime_ms" = "0"
96 chip drivers
/intel
/dptf
98 register
"policies.passive" = "{
99 [0] = DPTF_PASSIVE(CPU, CPU, 90, 10000),
100 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 80, 60000),
101 [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 75, 15000)
105 register
"policies.critical" = "{
106 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
107 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 90, SHUTDOWN),
108 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 90, SHUTDOWN)
111 ## Power Limits
Control
112 register
"controls.power_limits" = "{
116 .time_window_min = 1 * MSECS_PER_SEC,
117 .time_window_max = 1 * MSECS_PER_SEC,
123 .time_window_min = 1 * MSECS_PER_SEC,
124 .time_window_max = 1 * MSECS_PER_SEC,
129 register
"options.tsr[0].desc" = ""Memory
""
130 register
"options.tsr[1].desc" = ""Charger
""
132 ## Charger Performance
Control (Control, mA
)
133 register
"controls.charger_perf" = "{
140 device generic
0 on
end
142 end # SA Thermal device
144 chip drivers
/usb
/acpi
145 register
"desc" = ""Root Hub
""
146 register
"type" = "UPC_TYPE_HUB"
148 chip drivers
/usb
/acpi
149 register
"desc" = ""Right
Type-A Port
""
150 register
"type" = "UPC_TYPE_A"
151 register
"group" = "ACPI_PLD_GROUP(2, 1)"
152 device usb
2.1 on
end
154 chip drivers
/usb
/acpi
155 register
"desc" = ""LTE
""
156 register
"type" = "UPC_TYPE_INTERNAL"
157 register
"has_power_resource" = "1"
158 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H17)"
159 register
"reset_off_delay_ms" = "10"
160 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A10)"
161 register
"enable_delay_ms" = "20"
162 device usb
2.3 alias usb2_lte on
end
164 chip drivers
/usb
/acpi
165 register
"desc" = ""UFCamera
""
166 register
"type" = "UPC_TYPE_INTERNAL"
167 device usb
2.5 on
end
169 chip drivers
/usb
/acpi
170 register
"desc" = ""WFCamera
""
171 register
"type" = "UPC_TYPE_INTERNAL"
172 device usb
2.6 on
end
174 chip drivers
/usb
/acpi
175 register
"desc" = ""Right
Type-A Port
""
176 register
"type" = "UPC_TYPE_USB3_A"
177 register
"group" = "ACPI_PLD_GROUP(2, 1)"
178 device usb
3.1 on
end
180 chip drivers
/usb
/acpi
181 register
"desc" = ""LTE
""
182 register
"type" = "UPC_TYPE_INTERNAL"
183 device usb
3.3 on
end
189 chip drivers
/i2c
/generic
190 register
"hid" = ""ELAN0000
""
191 register
"desc" = ""ELAN Touchpad
""
192 register
"irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_B3_IRQ)"
193 register
"wake" = "GPE0_DW0_03"
194 register
"detect" = "1"
198 register
"generic.hid" = ""SYNA0000
""
199 register
"generic.cid" = ""ACPI0C50
""
200 register
"generic.desc" = ""Synaptics Touchpad
""
201 register
"generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
202 register
"generic.wake" = "GPE0_DW0_03"
203 register
"generic.detect" = "1"
204 register
"hid_desc_reg_offset" = "0x20"
205 device i2c
0x2c on
end
209 chip drivers
/generic
/gpio_keys
210 register
"name" = ""PENH
""
211 register
"gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_C12)"
212 register
"key.wakeup_route" = "WAKEUP_ROUTE_GPIO_IRQ"
213 register
"key.wakeup_event_action" = "EV_ACT_DEASSERTED"
214 register
"key.dev_name" = ""EJCT
""
215 register
"key.linux_code" = "SW_PEN_INSERTED"
216 register
"key.linux_input_type" = "EV_SW"
217 register
"key.label" = ""pen_eject
""
218 device generic
0 on
end
221 register
"generic.hid" = ""GDIX0000
""
222 register
"generic.desc" = ""Goodix Touchscreen
""
223 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
224 register
"generic.detect" = "1"
225 register
"generic.reset_gpio" =
226 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)"
227 register
"generic.reset_delay_ms" = "180"
228 register
"generic.reset_off_delay_ms" = "3"
229 register
"generic.stop_gpio" =
230 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A11)"
231 register
"generic.stop_delay_ms" = "20"
232 register
"generic.stop_off_delay_ms" = "2"
233 register
"generic.enable_gpio" =
234 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
235 register
"generic.enable_delay_ms" = "12"
236 register
"generic.has_power_resource" = "1"
237 register
"hid_desc_reg_offset" = "0x01"
238 device i2c
0x5d on
end
241 register
"generic.hid" = ""ELAN901C
""
242 register
"generic.desc" = ""ELAN Touchscreen
""
243 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
244 register
"generic.detect" = "1"
245 register
"generic.reset_gpio" =
246 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)"
247 register
"generic.reset_delay_ms" = "20"
248 register
"generic.reset_off_delay_ms" = "2"
249 register
"generic.stop_gpio" =
250 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A11)"
251 register
"generic.stop_delay_ms" = "280"
252 register
"generic.stop_off_delay_ms" = "2"
253 register
"generic.enable_gpio" =
254 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
255 register
"generic.enable_delay_ms" = "1"
256 register
"generic.has_power_resource" = "1"
257 register
"hid_desc_reg_offset" = "0x01"
261 device pci
15.3 off
end # I2C
3
263 chip drivers
/i2c
/generic
264 register
"hid" = ""10EC5682
""
265 register
"name" = ""RT58
""
266 register
"desc" = ""Realtek RT5682
""
267 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
268 register
"property_count" = "1"
269 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
270 register
"property_list[0].name" = ""realtek
,jd
-src
""
271 register
"property_list[0].integer" = "1"
273 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_UNPROVISIONED
274 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
277 chip drivers
/i2c
/generic
278 register
"hid" = ""RTL5682
""
279 register
"name" = ""RT58
""
280 register
"desc" = ""Realtek RT5682
""
281 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
282 register
"property_count" = "1"
283 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
284 register
"property_list[0].name" = ""realtek
,jd
-src
""
285 register
"property_list[0].integer" = "1"
287 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
290 chip drivers
/i2c
/generic
291 register
"hid" = ""10EC1015
""
292 register
"desc" = ""Realtek SPK AMP L
""
295 probe AUDIO_AMP RT1015_I2C
296 probe AUDIO_AMP UNPROVISIONED
299 chip drivers
/i2c
/generic
300 register
"hid" = ""10EC1015
""
301 register
"desc" = ""Realtek SPK AMP R
""
304 probe AUDIO_AMP RT1015_I2C
305 probe AUDIO_AMP UNPROVISIONED
310 chip drivers
/i2c
/sx9324
311 register
"desc" = ""SAR Proximity Sensor
""
312 register
"irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E11_IRQ)"
314 register
"reg_gnrl_ctrl0" = "0x0a"
315 register
"reg_gnrl_ctrl1" = "0x22"
316 register
"reg_afe_ctrl0" = "0x20"
317 register
"reg_afe_ctrl3" = "0x01"
318 register
"reg_afe_ctrl4" = "0x47"
319 register
"reg_afe_ctrl6" = "0x00"
320 register
"reg_afe_ctrl7" = "0x47"
321 register
"reg_afe_ctrl8" = "0x12"
322 register
"reg_afe_ctrl9" = "0x0f"
323 register
"reg_afe_ph0" = "0x37"
324 register
"reg_afe_ph1" = "0x29"
325 register
"reg_afe_ph2" = "0x1f"
326 register
"reg_afe_ph3" = "0x3d"
327 register
"reg_prox_ctrl0" = "0x0b"
328 register
"reg_prox_ctrl1" = "0x0b"
329 register
"reg_prox_ctrl2" = "0x20"
330 register
"reg_prox_ctrl3" = "0x20"
331 register
"reg_prox_ctrl4" = "0x0c"
332 register
"reg_prox_ctrl5" = "0x00"
333 register
"reg_prox_ctrl6" = "0x2d"
334 register
"reg_prox_ctrl7" = "0xc0"
335 register
"reg_adv_ctrl0" = "0x00"
336 register
"reg_adv_ctrl1" = "0x00"
337 register
"reg_adv_ctrl2" = "0x00"
338 register
"reg_adv_ctrl3" = "0x00"
339 register
"reg_adv_ctrl4" = "0x00"
340 register
"reg_adv_ctrl5" = "0x05"
341 register
"reg_adv_ctrl6" = "0x00"
342 register
"reg_adv_ctrl7" = "0x00"
343 register
"reg_adv_ctrl8" = "0x00"
344 register
"reg_adv_ctrl9" = "0x00"
345 register
"reg_adv_ctrl10" = "0x00"
346 register
"reg_adv_ctrl11" = "0x00"
347 register
"reg_adv_ctrl12" = "0x00"
348 register
"reg_adv_ctrl13" = "0x00"
349 register
"reg_adv_ctrl14" = "0x80"
350 register
"reg_adv_ctrl15" = "0x0c"
351 register
"reg_adv_ctrl16" = "0x04"
352 register
"reg_adv_ctrl17" = "0x70"
353 register
"reg_adv_ctrl18" = "0x40"
354 register
"reg_adv_ctrl19" = "0x00"
355 register
"reg_adv_ctrl20" = "0x00"
356 register
"reg_irq_msk" = "0x6f"
357 register
"reg_irq_cfg0" = "0x00"
358 register
"reg_irq_cfg1" = "0x80"
359 register
"reg_irq_cfg2" = "0x00"
364 chip drivers
/generic
/alc1015
365 register
"sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
367 probe AUDIO_AMP RT1015P_AUTO