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
7 field TS_DRIVER_SOURCE
43 45
8 option TS_UNPROVISIONED
0
13 chip soc
/intel
/jasperlake
15 # USB Port Configuration
16 register
"usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # Camera
18 register
"SerialIoI2cMode" = "{
19 [PchSerialIoIndexI2C0] = PchSerialIoPci,
20 [PchSerialIoIndexI2C1] = PchSerialIoDisabled,
21 [PchSerialIoIndexI2C2] = PchSerialIoPci,
22 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
23 [PchSerialIoIndexI2C4] = PchSerialIoPci,
24 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
27 # Intel Common SoC Config
28 #
+-------------------+---------------------------+
30 #
+-------------------+---------------------------+
31 #| GSPI0 | cr50 TPM. Early init is |
32 #| | required
to set up a BAR |
33 #| |
for TPM communication |
34 #| | before memory is up |
37 #| I2C2 | Touchscreen |
40 #
+-------------------+---------------------------+
41 register
"common_soc_config" = "{
47 .speed = I2C_SPEED_FAST,
49 .speed = I2C_SPEED_FAST,
56 .speed = I2C_SPEED_FAST,
58 .speed = I2C_SPEED_FAST,
65 .speed = I2C_SPEED_FAST,
67 .speed = I2C_SPEED_FAST,
76 register
"power_limits_config[JSL_N4500_6W_CORE]" = "{
77 .tdp_pl1_override = 6,
78 .tdp_pl2_override = 15,
81 register
"power_limits_config[JSL_N6000_6W_CORE]" = "{
82 .tdp_pl1_override = 6,
83 .tdp_pl2_override = 15,
86 register
"power_limits_config[JSL_N5100_6W_CORE]" = "{
87 .tdp_pl1_override = 6,
88 .tdp_pl2_override = 15,
91 # Enable Acoustic noise mitigation
and set slew rate
to 1/4
92 # Rest of the parameters are
0 by default.
93 register
"AcousticNoiseMitigation" = "1"
94 register
"SlowSlewRate" = "SlewRateFastBy4"
95 register
"FastPkgCRampDisable" = "1"
99 chip drivers
/intel
/dptf
100 register
"options.tsr[0].desc" = ""Memory
""
101 register
"options.tsr[1].desc" = ""Ambient
""
102 register
"options.tsr[2].desc" = ""Charger
""
103 register
"options.tsr[3].desc" = ""5V regulator
""
106 register
"policies.passive" = "{
107 [0] = DPTF_PASSIVE(CPU, CPU, 80, 1000),
108 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 70, 4000),
109 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 51, 1000),
110 [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 5000),
111 [4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 60, 1000)
114 register
"policies.critical" = "{
115 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
116 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 105, SHUTDOWN),
117 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 105, SHUTDOWN),
118 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 105, SHUTDOWN),
119 [4] = DPTF_CRITICAL(TEMP_SENSOR_3, 105, SHUTDOWN)
121 ## Power Limits
Control
122 register
"controls.power_limits" = "{
126 .time_window_min = 1 * MSECS_PER_SEC,
127 .time_window_max = 1 * MSECS_PER_SEC,
133 .time_window_min = 1 * MSECS_PER_SEC,
134 .time_window_max = 1 * MSECS_PER_SEC,
139 ## Charger Performance
Control (Control, mA
)
140 register
"controls.charger_perf" = "{
147 device generic
0 on
end
149 end # SA Thermal device
151 chip drivers
/usb
/acpi
153 chip drivers
/usb
/acpi
154 register
"desc" = ""Discrete Bluetooth
""
155 register
"type" = "UPC_TYPE_INTERNAL"
156 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H19)"
157 device usb
2.4 on
end
159 chip drivers
/usb
/acpi
160 register
"desc" = ""Camera
""
161 register
"type" = "UPC_TYPE_INTERNAL"
162 device usb
2.5 on
end
164 chip drivers
/usb
/acpi
165 register
"desc" = ""Integrated Bluetooth
""
166 register
"type" = "UPC_TYPE_INTERNAL"
167 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H19)"
168 device usb
2.7 on
end
174 chip drivers
/i2c
/generic
175 register
"hid" = ""ELAN0000
""
176 register
"desc" = ""ELAN Touchpad
""
177 register
"irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_B3_IRQ)"
178 register
"wake" = "GPE0_DW0_03"
179 register
"detect" = "1"
183 device pci
15.1 off
end #I2C
1
185 chip drivers
/i2c
/generic
186 register
"hid" = ""ELAN0001
""
187 register
"desc" = ""ELAN Touchscreen
""
188 register
"irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
189 register
"detect" = "1"
190 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D5)"
191 register
"reset_delay_ms" = "20"
192 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
193 register
"enable_delay_ms" = "1"
194 register
"has_power_resource" = "1"
196 probe TS_DRIVER_SOURCE TS_UNPROVISIONED
197 probe TS_DRIVER_SOURCE TS_ELAN0001
201 register
"generic.hid" = ""ELAN2513
""
202 register
"generic.desc" = ""ELAN Touchscreen
""
203 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
204 register
"generic.detect" = "1"
205 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D5)"
206 register
"generic.reset_delay_ms" = "20"
207 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
208 register
"generic.enable_delay_ms" = "1"
209 register
"generic.has_power_resource" = "1"
210 register
"hid_desc_reg_offset" = "0x01"
212 probe TS_DRIVER_SOURCE TS_ELAN2513
216 register
"generic.hid" = ""GTCH7503
""
217 register
"generic.desc" = ""G2TOUCH Touchscreen
""
218 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
219 register
"generic.detect" = "1"
220 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D5)"
221 register
"generic.reset_delay_ms" = "50"
222 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
223 register
"generic.enable_delay_ms" = "1"
224 register
"generic.has_power_resource" = "1"
225 register
"hid_desc_reg_offset" = "0x01"
229 register
"generic.hid" = ""GDIX0000
""
230 register
"generic.desc" = ""Goodix Touchscreen
""
231 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
232 register
"generic.detect" = "1"
233 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D5)"
234 register
"generic.reset_delay_ms" = "120"
235 register
"generic.reset_off_delay_ms" = "2"
236 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
237 register
"generic.enable_delay_ms" = "12"
238 register
"generic.has_power_resource" = "1"
239 register
"hid_desc_reg_offset" = "0x01"
240 device i2c
0x5d on
end
243 device pci
15.3 off
end #I2C
3
245 chip drivers
/wifi
/generic
246 register
"wake" = "GPE0_DW2_03"
247 device pci
00.0 on
end
249 end # PCI Express Root Port
8 - WLAN
251 chip drivers
/i2c
/generic
252 register
"hid" = ""10EC5682
""
253 register
"name" = ""RT58
""
254 register
"desc" = ""Realtek RT5682
""
255 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
256 register
"property_count" = "1"
257 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
258 register
"property_list[0].name" = ""realtek
,jd
-src
""
259 register
"property_list[0].integer" = "1"
261 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_UNPROVISIONED
262 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
265 chip drivers
/i2c
/generic
266 register
"hid" = ""RTL5682
""
267 register
"name" = ""RT58
""
268 register
"desc" = ""Realtek RT5682
""
269 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
270 register
"property_count" = "1"
271 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
272 register
"property_list[0].name" = ""realtek
,jd
-src
""
273 register
"property_list[0].integer" = "1"
275 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
280 chip drivers
/generic
/max98357a
281 register
"hid" = ""MX98360A
""
282 register
"sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
283 device generic
0 on
end