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 #
+-------------------+---------------------------+
17 #| I2C2 | Touchscreen
, Stylus |
20 #
+-------------------+---------------------------+
21 register
"common_soc_config" = "{
23 .speed = I2C_SPEED_FAST,
28 .speed = I2C_SPEED_FAST,
31 .speed = I2C_SPEED_FAST,
36 .speed = I2C_SPEED_FAST,
41 .speed = I2C_SPEED_FAST,
47 # USB Port Configuration
48 register
"usb2_ports[4]" = "USB2_PORT_EMPTY" #
Not Used
49 register
"usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # UF Camera
50 register
"usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # WF Camera
52 register
"SerialIoI2cMode" = "{
53 [PchSerialIoIndexI2C0] = PchSerialIoPci,
54 [PchSerialIoIndexI2C1] = PchSerialIoPci,
55 [PchSerialIoIndexI2C2] = PchSerialIoPci,
56 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
57 [PchSerialIoIndexI2C4] = PchSerialIoPci,
58 [PchSerialIoIndexI2C5] = PchSerialIoPci,
61 register
"SerialIoGSpiMode[PchSerialIoIndexGSPI0]" = "PchSerialIoDisabled" # Disable GSPI0
62 register
"SerialIoGSpiCsMode[PchSerialIoIndexGSPI0]" = "0"
64 # Enable Acoustic noise mitigation
and set slew rate
to 1/8
65 # Rest of the parameters are
0 by default.
66 register
"AcousticNoiseMitigation" = "1"
67 register
"SlowSlewRate" = "SlewRateFastBy8"
68 register
"FastPkgCRampDisable" = "1"
70 #
Set xHCI LFPS period sampling off time
to 0 ms
71 register
"xhci_lfps_sampling_offtime_ms" = "0"
75 chip drivers
/intel
/dptf
77 register
"policies.passive" = "{
78 [0] = DPTF_PASSIVE(CPU, CPU, 90, 10000),
79 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 80, 60000),
80 [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 75, 15000)
84 register
"policies.critical" = "{
85 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
86 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 90, SHUTDOWN),
87 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 90, SHUTDOWN)
90 ## Power Limits
Control
91 register
"controls.power_limits" = "{
95 .time_window_min = 1 * MSECS_PER_SEC,
96 .time_window_max = 1 * MSECS_PER_SEC,
102 .time_window_min = 1 * MSECS_PER_SEC,
103 .time_window_max = 1 * MSECS_PER_SEC,
108 register
"options.tsr[0].desc" = ""Memory
""
109 register
"options.tsr[1].desc" = ""Charger
""
111 ## Charger Performance
Control (Control, mA
)
112 register
"controls.charger_perf" = "{
119 device generic
0 on
end
121 end # SA Thermal device
123 chip drivers
/usb
/acpi
124 register
"desc" = ""Root Hub
""
125 register
"type" = "UPC_TYPE_HUB"
127 chip drivers
/usb
/acpi
128 register
"desc" = ""Right
Type-A Port
""
129 register
"type" = "UPC_TYPE_A"
130 register
"group" = "ACPI_PLD_GROUP(2, 1)"
131 device usb
2.1 on
end
133 chip drivers
/usb
/acpi
134 register
"desc" = ""LTE
""
135 register
"type" = "UPC_TYPE_INTERNAL"
136 register
"has_power_resource" = "1"
137 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H17)"
138 register
"reset_off_delay_ms" = "10"
139 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A10)"
140 register
"enable_delay_ms" = "20"
141 device usb
2.3 on
end
143 chip drivers
/usb
/acpi
144 register
"desc" = ""UFCamera
""
145 register
"type" = "UPC_TYPE_INTERNAL"
146 device usb
2.5 on
end
148 chip drivers
/usb
/acpi
149 register
"desc" = ""WFCamera
""
150 register
"type" = "UPC_TYPE_INTERNAL"
151 device usb
2.6 on
end
153 chip drivers
/usb
/acpi
154 register
"desc" = ""Right
Type-A Port
""
155 register
"type" = "UPC_TYPE_USB3_A"
156 register
"group" = "ACPI_PLD_GROUP(2, 1)"
157 device usb
3.1 on
end
159 chip drivers
/usb
/acpi
160 register
"desc" = ""LTE
""
161 register
"type" = "UPC_TYPE_INTERNAL"
162 device usb
3.3 on
end
168 chip drivers
/i2c
/generic
169 register
"hid" = ""ELAN0000
""
170 register
"desc" = ""ELAN Touchpad
""
171 register
"irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_B3_IRQ)"
172 register
"wake" = "GPE0_DW0_03"
173 register
"detect" = "1"
177 register
"generic.hid" = ""SYNA0000
""
178 register
"generic.cid" = ""ACPI0C50
""
179 register
"generic.desc" = ""Synaptics Touchpad
""
180 register
"generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
181 register
"generic.wake" = "GPE0_DW0_03"
182 register
"generic.detect" = "1"
183 register
"hid_desc_reg_offset" = "0x20"
184 device i2c
0x2c on
end
188 chip drivers
/generic
/gpio_keys
189 register
"name" = ""PENH
""
190 register
"gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_C12)"
191 register
"key.wakeup_route" = "WAKEUP_ROUTE_GPIO_IRQ"
192 register
"key.wakeup_event_action" = "EV_ACT_DEASSERTED"
193 register
"key.dev_name" = ""EJCT
""
194 register
"key.linux_code" = "SW_PEN_INSERTED"
195 register
"key.linux_input_type" = "EV_SW"
196 register
"key.label" = ""pen_eject
""
197 device generic
0 on
end
200 register
"generic.hid" = ""GDIX0000
""
201 register
"generic.desc" = ""Goodix Touchscreen
""
202 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
203 register
"generic.detect" = "1"
204 register
"generic.reset_gpio" =
205 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)"
206 register
"generic.reset_delay_ms" = "180"
207 register
"generic.reset_off_delay_ms" = "3"
208 register
"generic.stop_gpio" =
209 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A11)"
210 register
"generic.stop_delay_ms" = "20"
211 register
"generic.stop_off_delay_ms" = "2"
212 register
"generic.enable_gpio" =
213 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
214 register
"generic.enable_delay_ms" = "12"
215 register
"generic.has_power_resource" = "1"
216 register
"hid_desc_reg_offset" = "0x01"
217 device i2c
0x5d on
end
220 register
"generic.hid" = ""ELAN901C
""
221 register
"generic.desc" = ""ELAN Touchscreen
""
222 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
223 register
"generic.detect" = "1"
224 register
"generic.reset_gpio" =
225 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)"
226 register
"generic.reset_delay_ms" = "20"
227 register
"generic.reset_off_delay_ms" = "2"
228 register
"generic.stop_gpio" =
229 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A11)"
230 register
"generic.stop_delay_ms" = "280"
231 register
"generic.stop_off_delay_ms" = "2"
232 register
"generic.enable_gpio" =
233 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
234 register
"generic.enable_delay_ms" = "1"
235 register
"generic.has_power_resource" = "1"
236 register
"hid_desc_reg_offset" = "0x01"
240 device pci
15.3 off
end # I2C
3
242 chip drivers
/i2c
/generic
243 register
"hid" = ""10EC5682
""
244 register
"name" = ""RT58
""
245 register
"desc" = ""Realtek RT5682
""
246 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
247 register
"property_count" = "1"
248 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
249 register
"property_list[0].name" = ""realtek
,jd
-src
""
250 register
"property_list[0].integer" = "1"
252 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_UNPROVISIONED
253 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
256 chip drivers
/i2c
/generic
257 register
"hid" = ""RTL5682
""
258 register
"name" = ""RT58
""
259 register
"desc" = ""Realtek RT5682
""
260 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
261 register
"property_count" = "1"
262 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
263 register
"property_list[0].name" = ""realtek
,jd
-src
""
264 register
"property_list[0].integer" = "1"
266 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
269 chip drivers
/i2c
/generic
270 register
"hid" = ""10EC1015
""
271 register
"desc" = ""Realtek SPK AMP L
""
274 probe AUDIO_AMP RT1015_I2C
275 probe AUDIO_AMP UNPROVISIONED
278 chip drivers
/i2c
/generic
279 register
"hid" = ""10EC1015
""
280 register
"desc" = ""Realtek SPK AMP R
""
283 probe AUDIO_AMP RT1015_I2C
284 probe AUDIO_AMP UNPROVISIONED
289 chip drivers
/i2c
/sx9324
290 register
"desc" = ""SAR Proximity Sensor
""
291 register
"irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E11_IRQ)"
293 register
"reg_gnrl_ctrl0" = "0x0a"
294 register
"reg_gnrl_ctrl1" = "0x22"
295 register
"reg_afe_ctrl0" = "0x20"
296 register
"reg_afe_ctrl3" = "0x01"
297 register
"reg_afe_ctrl4" = "0x47"
298 register
"reg_afe_ctrl6" = "0x00"
299 register
"reg_afe_ctrl7" = "0x47"
300 register
"reg_afe_ctrl8" = "0x12"
301 register
"reg_afe_ctrl9" = "0x0f"
302 register
"reg_afe_ph0" = "0x37"
303 register
"reg_afe_ph1" = "0x29"
304 register
"reg_afe_ph2" = "0x1f"
305 register
"reg_afe_ph3" = "0x3d"
306 register
"reg_prox_ctrl0" = "0x0b"
307 register
"reg_prox_ctrl1" = "0x0b"
308 register
"reg_prox_ctrl2" = "0x20"
309 register
"reg_prox_ctrl3" = "0x20"
310 register
"reg_prox_ctrl4" = "0x0c"
311 register
"reg_prox_ctrl5" = "0x00"
312 register
"reg_prox_ctrl6" = "0x2d"
313 register
"reg_prox_ctrl7" = "0xc0"
314 register
"reg_adv_ctrl0" = "0x00"
315 register
"reg_adv_ctrl1" = "0x00"
316 register
"reg_adv_ctrl2" = "0x00"
317 register
"reg_adv_ctrl3" = "0x00"
318 register
"reg_adv_ctrl4" = "0x00"
319 register
"reg_adv_ctrl5" = "0x05"
320 register
"reg_adv_ctrl6" = "0x00"
321 register
"reg_adv_ctrl7" = "0x00"
322 register
"reg_adv_ctrl8" = "0x00"
323 register
"reg_adv_ctrl9" = "0x00"
324 register
"reg_adv_ctrl10" = "0x00"
325 register
"reg_adv_ctrl11" = "0x00"
326 register
"reg_adv_ctrl12" = "0x00"
327 register
"reg_adv_ctrl13" = "0x00"
328 register
"reg_adv_ctrl14" = "0x80"
329 register
"reg_adv_ctrl15" = "0x0c"
330 register
"reg_adv_ctrl16" = "0x04"
331 register
"reg_adv_ctrl17" = "0x70"
332 register
"reg_adv_ctrl18" = "0x40"
333 register
"reg_adv_ctrl19" = "0x00"
334 register
"reg_adv_ctrl20" = "0x00"
335 register
"reg_irq_msk" = "0x6f"
336 register
"reg_irq_cfg0" = "0x00"
337 register
"reg_irq_cfg1" = "0x80"
338 register
"reg_irq_cfg2" = "0x00"
343 chip drivers
/pc80
/tpm
344 device pnp
0c31.0 on
end # Discrete TPM
345 end # chip drivers
/pc80
/tpm
347 device pci
1e
.2 off
end # GSPI
0
349 chip drivers
/generic
/alc1015
350 register
"sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
352 probe AUDIO_AMP RT1015P_AUTO