Van Chen | bbb6d5d | 2023-11-20 12:05:20 +0800 | [diff] [blame] | 1 | fw_config |
| 2 | field THERMAL_SOLUTION 0 0 |
| 3 | option THERMAL_SOLUTION_6W 0 |
| 4 | option THERMAL_SOLUTION_15W 1 |
| 5 | end |
| 6 | end |
| 7 | |
Rex Chou | 50d3a64 | 2023-07-11 13:26:08 +0800 | [diff] [blame] | 8 | chip soc/intel/alderlake |
Rex Chou | f232b19 | 2023-07-21 15:40:34 +0800 | [diff] [blame] | 9 | register "sagv" = "SaGv_Enabled" |
Rex Chou | 50d3a64 | 2023-07-11 13:26:08 +0800 | [diff] [blame] | 10 | |
Ian Feng | d714ab6 | 2024-03-18 11:04:36 +0800 | [diff] [blame^] | 11 | # EMMC Tx CMD Delay |
| 12 | # Refer to EDS-Vol2-42.3.7. |
| 13 | # [14:8] steps of delay for DDR mode, each 125ps, range: 0 - 39. |
| 14 | # [6:0] steps of delay for SDR mode, each 125ps, range: 0 - 39. |
| 15 | register "common_soc_config.emmc_dll.emmc_tx_cmd_cntl" = "0x505" |
| 16 | |
| 17 | # EMMC TX DATA Delay 1 |
| 18 | # Refer to EDS-Vol2-42.3.8. |
| 19 | # [14:8] steps of delay for HS400, each 125ps, range: 0 - 78. |
| 20 | # [6:0] steps of delay for SDR104/HS200, each 125ps, range: 0 - 79. |
| 21 | register "common_soc_config.emmc_dll.emmc_tx_data_cntl1" = "0x909" |
| 22 | |
| 23 | # EMMC TX DATA Delay 2 |
| 24 | # Refer to EDS-Vol2-42.3.9. |
| 25 | # [30:24] steps of delay for SDR50, each 125ps, range: 0 - 79. |
| 26 | # [22:16] steps of delay for DDR50, each 125ps, range: 0 - 78. |
| 27 | # [14:8] steps of delay for SDR25/HS50, each 125ps, range: 0 -79. |
| 28 | # [6:0] steps of delay for SDR12, each 125ps. Range: 0 - 79. |
| 29 | register "common_soc_config.emmc_dll.emmc_tx_data_cntl2" = "0x1C2A2828" |
| 30 | |
| 31 | # EMMC RX CMD/DATA Delay 1 |
| 32 | # Refer to EDS-Vol2-42.3.10. |
| 33 | # [30:24] steps of delay for SDR50, each 125ps, range: 0 - 119. |
| 34 | # [22:16] steps of delay for DDR50, each 125ps, range: 0 - 78. |
| 35 | # [14:8] steps of delay for SDR25/HS50, each 125ps, range: 0 - 119. |
| 36 | # [6:0] steps of delay for SDR12, each 125ps, range: 0 - 119. |
| 37 | register "common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl1" = "0x1C1B4F1B" |
| 38 | |
| 39 | # EMMC RX CMD/DATA Delay 2 |
| 40 | # Refer to EDS-Vol2-42.3.12. |
| 41 | # [17:16] stands for Rx Clock before Output Buffer, |
| 42 | # 00: Rx clock after output buffer, |
| 43 | # 01: Rx clock before output buffer, |
| 44 | # 10: Automatic selection based on working mode. |
| 45 | # 11: Reserved |
| 46 | # [14:8] steps of delay for Auto Tuning Mode, each 125ps, range: 0 - 39. |
| 47 | # [6:0] steps of delay for HS200, each 125ps, range: 0 - 79. |
| 48 | register "common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl2" = "0x1004E" |
| 49 | |
| 50 | # EMMC Rx Strobe Delay |
| 51 | # Refer to EDS-Vol2-42.3.11. |
| 52 | # [14:8] Rx Strobe Delay DLL 1(HS400 Mode), each 125ps, range: 0 - 39. |
| 53 | # [6:0] Rx Strobe Delay DLL 2(HS400 Mode), each 125ps, range: 0 - 39. |
| 54 | register "common_soc_config.emmc_dll.emmc_rx_strobe_cntl" = "0x01515" |
| 55 | |
Rex Chou | f232b19 | 2023-07-21 15:40:34 +0800 | [diff] [blame] | 56 | # Bit 0 - C0 has no redriver, so enable SBU muxing in the SoC. |
| 57 | # Bit 2 - C1 has a redriver which does SBU muxing. |
| 58 | # Bit 1,3 - AUX lines are not swapped on the motherboard for either C0 or C1. |
| 59 | register "tcss_aux_ori" = "1" |
| 60 | |
| 61 | register "typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}" |
| 62 | |
Rex Chou | 684eca7 | 2023-08-04 15:29:59 +0800 | [diff] [blame] | 63 | # Configure external V1P05/Vnn/VnnSx Rails |
| 64 | register "ext_fivr_settings" = "{ |
| 65 | .configure_ext_fivr = 1, |
| 66 | .v1p05_enable_bitmap = FIVR_ENABLE_ALL_SX & ~FIVR_ENABLE_S0, |
| 67 | .vnn_enable_bitmap = FIVR_ENABLE_ALL_SX, |
| 68 | .vnn_sx_enable_bitmap = FIVR_ENABLE_ALL_SX, |
| 69 | .v1p05_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL, |
| 70 | .vnn_supported_voltage_bitmap = FIVR_VOLTAGE_MIN_ACTIVE, |
| 71 | .v1p05_voltage_mv = 1050, |
| 72 | .vnn_voltage_mv = 780, |
| 73 | .vnn_sx_voltage_mv = 1050, |
| 74 | .v1p05_icc_max_ma = 500, |
| 75 | .vnn_icc_max_ma = 500, |
| 76 | }" |
| 77 | |
Rex Chou | 24502f4 | 2023-10-06 13:25:02 +0800 | [diff] [blame] | 78 | register "serial_io_i2c_mode" = "{ |
| 79 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 80 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 81 | [PchSerialIoIndexI2C2] = PchSerialIoDisabled, |
| 82 | [PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 83 | [PchSerialIoIndexI2C4] = PchSerialIoDisabled, |
| 84 | [PchSerialIoIndexI2C5] = PchSerialIoPci, |
| 85 | }" |
| 86 | |
Rex Chou | f232b19 | 2023-07-21 15:40:34 +0800 | [diff] [blame] | 87 | # Intel Common SoC Config |
| 88 | #+-------------------+---------------------------+ |
| 89 | #| Field | Value | |
| 90 | #+-------------------+---------------------------+ |
| 91 | #| I2C0 | TPM. Early init is | |
| 92 | #| | required to set up a BAR | |
| 93 | #| | for TPM communication | |
| 94 | #| I2C1 | Touchscreen | |
Rex Chou | f232b19 | 2023-07-21 15:40:34 +0800 | [diff] [blame] | 95 | #| I2C3 | Audio | |
| 96 | #| I2C5 | Trackpad | |
| 97 | #+-------------------+---------------------------+ |
| 98 | register "common_soc_config" = "{ |
| 99 | .i2c[0] = { |
| 100 | .early_init = 1, |
| 101 | .speed = I2C_SPEED_FAST_PLUS, |
| 102 | .speed_config[0] = { |
| 103 | .speed = I2C_SPEED_FAST_PLUS, |
| 104 | .scl_lcnt = 55, |
| 105 | .scl_hcnt = 30, |
| 106 | .sda_hold = 7, |
| 107 | } |
| 108 | }, |
| 109 | .i2c[1] = { |
| 110 | .speed = I2C_SPEED_FAST, |
| 111 | .speed_config[0] = { |
| 112 | .speed = I2C_SPEED_FAST, |
| 113 | .scl_lcnt = 158, |
| 114 | .scl_hcnt = 79, |
| 115 | .sda_hold = 7, |
| 116 | } |
| 117 | }, |
Rex Chou | f232b19 | 2023-07-21 15:40:34 +0800 | [diff] [blame] | 118 | .i2c[3] = { |
| 119 | .speed = I2C_SPEED_FAST, |
| 120 | .speed_config[0] = { |
| 121 | .speed = I2C_SPEED_FAST, |
| 122 | .scl_lcnt = 158, |
| 123 | .scl_hcnt = 79, |
| 124 | .sda_hold = 7, |
| 125 | } |
| 126 | }, |
| 127 | .i2c[5] = { |
| 128 | .speed = I2C_SPEED_FAST, |
| 129 | .speed_config[0] = { |
| 130 | .speed = I2C_SPEED_FAST, |
| 131 | .scl_lcnt = 158, |
| 132 | .scl_hcnt = 79, |
| 133 | .sda_hold = 7, |
| 134 | } |
| 135 | }, |
| 136 | }" |
| 137 | |
| 138 | register "usb2_ports[1]" = "USB2_PORT_EMPTY" # Disable USB2 Port 2 |
| 139 | register "usb2_ports[4]" = "USB2_PORT_EMPTY" # Disable USB2 Port 5 |
| 140 | register "usb2_ports[6]" = "USB2_PORT_EMPTY" # Disable USB2 Port 7 |
| 141 | register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port for CNVi WLAN |
| 142 | register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port for CNVi WLAN |
| 143 | |
Van Chen | 8c77e58 | 2023-07-24 15:14:16 +0800 | [diff] [blame] | 144 | register "tcc_offset" = "8" |
| 145 | |
Rex Chou | 7f176f2 | 2024-01-10 15:05:44 +0800 | [diff] [blame] | 146 | register "power_limits_config[ADL_N_041_6W_CORE]" = "{ |
| 147 | .tdp_pl1_override = 20, |
| 148 | .tdp_pl2_override = 25, |
| 149 | .tdp_pl4 = 78, |
| 150 | }" |
| 151 | |
| 152 | register "power_limits_config[ADL_N_081_15W_CORE]" = "{ |
| 153 | .tdp_pl1_override = 20, |
| 154 | .tdp_pl2_override = 35, |
| 155 | .tdp_pl4 = 83, |
| 156 | }" |
| 157 | |
Rex Chou | f232b19 | 2023-07-21 15:40:34 +0800 | [diff] [blame] | 158 | device domain 0 on |
Van Chen | 8c77e58 | 2023-07-24 15:14:16 +0800 | [diff] [blame] | 159 | device ref dtt on |
| 160 | chip drivers/intel/dptf |
| 161 | ## sensor information |
| 162 | register "options.tsr[0].desc" = ""DDR"" |
| 163 | register "options.tsr[1].desc" = ""charger"" |
| 164 | register "options.tsr[2].desc" = ""ambient"" |
| 165 | |
Van Chen | bbb6d5d | 2023-11-20 12:05:20 +0800 | [diff] [blame] | 166 | ## Active Policy |
| 167 | register "policies.active" = "{ |
| 168 | [0] = { |
| 169 | .target = DPTF_CPU, |
| 170 | .thresholds = { |
Van Chen | bbb6d5d | 2023-11-20 12:05:20 +0800 | [diff] [blame] | 171 | TEMP_PCT(70, 100), |
Rex Chou | 7f176f2 | 2024-01-10 15:05:44 +0800 | [diff] [blame] | 172 | TEMP_PCT(60, 65), |
| 173 | TEMP_PCT(42, 60), |
| 174 | TEMP_PCT(39, 55), |
| 175 | TEMP_PCT(38, 50), |
| 176 | TEMP_PCT(35, 43), |
| 177 | TEMP_PCT(31, 30), |
| 178 | } |
| 179 | }, |
| 180 | [1] = { |
| 181 | .target = DPTF_TEMP_SENSOR_0, |
| 182 | .thresholds = { |
| 183 | TEMP_PCT(60, 100), |
| 184 | TEMP_PCT(55, 65), |
| 185 | TEMP_PCT(52, 60), |
| 186 | TEMP_PCT(50, 55), |
| 187 | TEMP_PCT(48, 50), |
| 188 | TEMP_PCT(45, 43), |
| 189 | TEMP_PCT(41, 30), |
Van Chen | bbb6d5d | 2023-11-20 12:05:20 +0800 | [diff] [blame] | 190 | } |
| 191 | } |
| 192 | }" |
| 193 | |
Van Chen | 8c77e58 | 2023-07-24 15:14:16 +0800 | [diff] [blame] | 194 | ## Passive Policy |
| 195 | register "policies.passive" = "{ |
| 196 | [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000), |
| 197 | [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 70, 5000), |
| 198 | [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 70, 5000), |
| 199 | [3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 70, 5000), |
| 200 | }" |
| 201 | |
| 202 | ## Critical Policy |
| 203 | register "policies.critical" = "{ |
| 204 | [0] = DPTF_CRITICAL(CPU, 100, SHUTDOWN), |
| 205 | [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 95, SHUTDOWN), |
| 206 | [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 95, SHUTDOWN), |
| 207 | [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 95, SHUTDOWN), |
| 208 | }" |
| 209 | |
| 210 | register "controls.power_limits" = "{ |
| 211 | .pl1 = { |
Van Chen | bbb6d5d | 2023-11-20 12:05:20 +0800 | [diff] [blame] | 212 | .min_power = 6000, |
| 213 | .max_power = 20000, |
Van Chen | 8c77e58 | 2023-07-24 15:14:16 +0800 | [diff] [blame] | 214 | .time_window_min = 28 * MSECS_PER_SEC, |
| 215 | .time_window_max = 28 * MSECS_PER_SEC, |
| 216 | .granularity = 500 |
| 217 | }, |
| 218 | .pl2 = { |
| 219 | .min_power = 25000, |
| 220 | .max_power = 25000, |
| 221 | .time_window_min = 32 * MSECS_PER_SEC, |
| 222 | .time_window_max = 32 * MSECS_PER_SEC, |
| 223 | .granularity = 500 |
| 224 | } |
| 225 | }" |
| 226 | |
| 227 | ## Charger Performance Control (Control, mA) |
| 228 | register "controls.charger_perf" = "{ |
| 229 | [0] = { 255, 1700 }, |
| 230 | [1] = { 24, 1500 }, |
| 231 | [2] = { 16, 1000 }, |
| 232 | [3] = { 8, 500 } |
| 233 | }" |
Rex Chou | 7f176f2 | 2024-01-10 15:05:44 +0800 | [diff] [blame] | 234 | |
Rex Chou | 01522a0 | 2024-01-16 14:52:31 +0800 | [diff] [blame] | 235 | ## Fan Performance Control (Percent, Speed, Noise, Power) |
| 236 | register "controls.fan_perf" = "{ |
| 237 | [0] = { 100, 6000, 220, 2200, }, |
| 238 | [1] = { 92, 5500, 180, 1800, }, |
| 239 | [2] = { 85, 5000, 145, 1450, }, |
| 240 | [3] = { 70, 4400, 115, 1150, }, |
| 241 | [4] = { 56, 3900, 90, 900, }, |
| 242 | [5] = { 45, 3300, 55, 550, }, |
| 243 | [6] = { 38, 3000, 30, 300, }, |
| 244 | [7] = { 33, 2900, 15, 150, }, |
| 245 | [8] = { 10, 800, 10, 100, }, |
| 246 | [9] = { 0, 0, 0, 50, } |
| 247 | }" |
| 248 | |
| 249 | ## Fan options |
| 250 | register "options.fan.fine_grained_control" = "1" |
| 251 | register "options.fan.step_size" = "2" |
| 252 | |
Van Chen | bbb6d5d | 2023-11-20 12:05:20 +0800 | [diff] [blame] | 253 | device generic 0 on |
| 254 | probe THERMAL_SOLUTION THERMAL_SOLUTION_6W |
| 255 | end |
| 256 | end |
| 257 | chip drivers/intel/dptf |
| 258 | ## sensor information |
| 259 | register "options.tsr[0].desc" = ""DDR"" |
| 260 | register "options.tsr[1].desc" = ""charger"" |
| 261 | register "options.tsr[2].desc" = ""ambient"" |
| 262 | |
| 263 | ## Active Policy |
| 264 | register "policies.active" = "{ |
| 265 | [0] = { |
| 266 | .target = DPTF_CPU, |
| 267 | .thresholds = { |
Van Chen | bbb6d5d | 2023-11-20 12:05:20 +0800 | [diff] [blame] | 268 | TEMP_PCT(70, 100), |
Rex Chou | 7f176f2 | 2024-01-10 15:05:44 +0800 | [diff] [blame] | 269 | TEMP_PCT(60, 65), |
| 270 | TEMP_PCT(42, 58), |
| 271 | TEMP_PCT(39, 53), |
| 272 | TEMP_PCT(38, 47), |
| 273 | TEMP_PCT(35, 43), |
| 274 | TEMP_PCT(31, 30), |
| 275 | } |
| 276 | }, |
| 277 | [1] = { |
| 278 | .target = DPTF_TEMP_SENSOR_0, |
| 279 | .thresholds = { |
| 280 | TEMP_PCT(60, 100), |
| 281 | TEMP_PCT(55, 65), |
| 282 | TEMP_PCT(52, 58), |
| 283 | TEMP_PCT(50, 53), |
| 284 | TEMP_PCT(48, 47), |
| 285 | TEMP_PCT(45, 43), |
| 286 | TEMP_PCT(41, 30), |
Van Chen | bbb6d5d | 2023-11-20 12:05:20 +0800 | [diff] [blame] | 287 | } |
| 288 | } |
| 289 | }" |
| 290 | |
| 291 | ## Passive Policy |
| 292 | register "policies.passive" = "{ |
| 293 | [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000), |
| 294 | [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 70, 5000), |
| 295 | [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 70, 5000), |
| 296 | [3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 70, 5000), |
| 297 | }" |
| 298 | |
| 299 | ## Critical Policy |
| 300 | register "policies.critical" = "{ |
| 301 | [0] = DPTF_CRITICAL(CPU, 100, SHUTDOWN), |
| 302 | [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 95, SHUTDOWN), |
| 303 | [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 95, SHUTDOWN), |
| 304 | [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 95, SHUTDOWN), |
| 305 | }" |
| 306 | |
| 307 | register "controls.power_limits" = "{ |
| 308 | .pl1 = { |
| 309 | .min_power = 15000, |
| 310 | .max_power = 20000, |
| 311 | .time_window_min = 28 * MSECS_PER_SEC, |
| 312 | .time_window_max = 28 * MSECS_PER_SEC, |
| 313 | .granularity = 500 |
| 314 | }, |
| 315 | .pl2 = { |
| 316 | .min_power = 35000, |
| 317 | .max_power = 35000, |
| 318 | .time_window_min = 32 * MSECS_PER_SEC, |
| 319 | .time_window_max = 32 * MSECS_PER_SEC, |
| 320 | .granularity = 500 |
| 321 | } |
| 322 | }" |
| 323 | |
| 324 | ## Charger Performance Control (Control, mA) |
| 325 | register "controls.charger_perf" = "{ |
| 326 | [0] = { 255, 1700 }, |
| 327 | [1] = { 24, 1500 }, |
| 328 | [2] = { 16, 1000 }, |
| 329 | [3] = { 8, 500 } |
| 330 | }" |
Rex Chou | 7f176f2 | 2024-01-10 15:05:44 +0800 | [diff] [blame] | 331 | |
Rex Chou | 01522a0 | 2024-01-16 14:52:31 +0800 | [diff] [blame] | 332 | ## Fan Performance Control (Percent, Speed, Noise, Power) |
| 333 | register "controls.fan_perf" = "{ |
| 334 | [0] = { 100, 6000, 220, 2200, }, |
| 335 | [1] = { 92, 5500, 180, 1800, }, |
| 336 | [2] = { 85, 5000, 145, 1450, }, |
| 337 | [3] = { 70, 4400, 115, 1150, }, |
| 338 | [4] = { 56, 3900, 90, 900, }, |
| 339 | [5] = { 45, 3300, 55, 550, }, |
| 340 | [6] = { 38, 3000, 30, 300, }, |
| 341 | [7] = { 33, 2900, 15, 150, }, |
| 342 | [8] = { 10, 800, 10, 100, }, |
| 343 | [9] = { 0, 0, 0, 50, } |
| 344 | }" |
| 345 | |
| 346 | ## Fan options |
| 347 | register "options.fan.fine_grained_control" = "1" |
| 348 | register "options.fan.step_size" = "2" |
| 349 | |
Van Chen | bbb6d5d | 2023-11-20 12:05:20 +0800 | [diff] [blame] | 350 | device generic 1 on |
| 351 | probe THERMAL_SOLUTION THERMAL_SOLUTION_15W |
| 352 | end |
Van Chen | 8c77e58 | 2023-07-24 15:14:16 +0800 | [diff] [blame] | 353 | end |
| 354 | end |
Rex Chou | f232b19 | 2023-07-21 15:40:34 +0800 | [diff] [blame] | 355 | device ref i2c1 on |
| 356 | chip drivers/i2c/hid |
| 357 | register "generic.hid" = ""ELAN9004"" |
| 358 | register "generic.desc" = ""ELAN Touchscreen"" |
| 359 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)" |
Rex Chou | 69892ee | 2023-10-13 15:15:55 +0800 | [diff] [blame] | 360 | register "generic.detect" = "1" |
Rex Chou | f232b19 | 2023-07-21 15:40:34 +0800 | [diff] [blame] | 361 | register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)" |
| 362 | register "generic.reset_delay_ms" = "20" |
| 363 | register "generic.reset_off_delay_ms" = "2" |
| 364 | register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" |
Rex Chou | d5ed888 | 2024-01-15 14:49:20 +0800 | [diff] [blame] | 365 | register "generic.enable_delay_ms" = "6" |
Rex Chou | f232b19 | 2023-07-21 15:40:34 +0800 | [diff] [blame] | 366 | register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)" |
| 367 | register "generic.stop_delay_ms" = "150" |
| 368 | register "generic.stop_off_delay_ms" = "2" |
| 369 | register "generic.has_power_resource" = "1" |
| 370 | register "hid_desc_reg_offset" = "0x01" |
| 371 | device i2c 10 on end |
| 372 | end |
| 373 | end #I2C1 |
| 374 | device ref i2c3 on |
| 375 | chip drivers/i2c/generic |
| 376 | register "hid" = ""10EC5650"" |
| 377 | register "name" = ""RT58"" |
| 378 | register "desc" = ""Realtek RT5650"" |
| 379 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" |
| 380 | register "property_count" = "1" |
| 381 | register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" |
| 382 | register "property_list[0].name" = ""realtek,jd-mode"" |
| 383 | register "property_list[0].integer" = "2" |
| 384 | device i2c 1a on end |
| 385 | end |
| 386 | end #I2C3 |
| 387 | device ref i2c5 on |
| 388 | chip drivers/i2c/generic |
| 389 | register "hid" = ""ELAN0000"" |
| 390 | register "desc" = ""ELAN Touchpad"" |
| 391 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 392 | register "wake" = "GPE0_DW2_14" |
| 393 | register "detect" = "1" |
| 394 | device i2c 15 on end |
| 395 | end |
| 396 | chip drivers/i2c/hid |
| 397 | register "generic.hid" = ""SYNA0000"" |
| 398 | register "generic.cid" = ""ACPI0C50"" |
| 399 | register "generic.desc" = ""Synaptics Touchpad"" |
| 400 | register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 401 | register "generic.wake" = "GPE0_DW2_14" |
| 402 | register "generic.detect" = "1" |
| 403 | register "hid_desc_reg_offset" = "0x20" |
| 404 | device i2c 2c on end |
| 405 | end |
Ian Feng | 2fb1928 | 2024-01-10 11:26:33 +0800 | [diff] [blame] | 406 | chip drivers/i2c/hid |
| 407 | register "generic.hid" = ""PIXA2303"" |
| 408 | register "generic.desc" = ""PIXA Touchpad"" |
| 409 | register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 410 | register "generic.wake" = "GPE0_DW2_14" |
| 411 | register "generic.detect" = "1" |
| 412 | register "hid_desc_reg_offset" = "0x20" |
| 413 | device i2c 0x68 on end |
| 414 | end |
Rex Chou | f232b19 | 2023-07-21 15:40:34 +0800 | [diff] [blame] | 415 | end |
| 416 | device ref pcie_rp7 off end |
Rex Chou | 3c83995 | 2023-10-31 15:01:28 +0800 | [diff] [blame] | 417 | device ref emmc on end |
| 418 | device ref ish on |
| 419 | chip drivers/intel/ish |
| 420 | register "add_acpi_dma_property" = "true" |
| 421 | device generic 0 on end |
| 422 | end |
| 423 | end |
| 424 | device ref ufs on end |
Rex Chou | f232b19 | 2023-07-21 15:40:34 +0800 | [diff] [blame] | 425 | device ref cnvi_wifi on |
| 426 | chip drivers/wifi/generic |
| 427 | register "wake" = "GPE0_PME_B0" |
| 428 | register "enable_cnvi_ddr_rfim" = "true" |
| 429 | register "add_acpi_dma_property" = "true" |
| 430 | device generic 0 on end |
| 431 | end |
| 432 | end |
| 433 | device ref pch_espi on |
| 434 | chip ec/google/chromeec |
| 435 | use conn0 as mux_conn[0] |
| 436 | device pnp 0c09.0 on end |
| 437 | end |
| 438 | end |
| 439 | device ref pmc hidden |
| 440 | chip drivers/intel/pmc_mux |
| 441 | device generic 0 on |
| 442 | chip drivers/intel/pmc_mux/conn |
| 443 | use usb2_port1 as usb2_port |
| 444 | use tcss_usb3_port1 as usb3_port |
| 445 | device generic 0 alias conn0 on end |
| 446 | end |
| 447 | end |
| 448 | end |
| 449 | end |
| 450 | device ref tcss_xhci on |
| 451 | chip drivers/usb/acpi |
| 452 | device ref tcss_root_hub on |
| 453 | chip drivers/usb/acpi |
| 454 | register "desc" = ""USB3 Type-C Port C0 (MLB)"" |
| 455 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 456 | register "use_custom_pld" = "true" |
| 457 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
| 458 | device ref tcss_usb3_port1 on end |
| 459 | end |
| 460 | end |
| 461 | end |
| 462 | end |
| 463 | device ref xhci on |
| 464 | chip drivers/usb/acpi |
| 465 | device ref xhci_root_hub on |
| 466 | chip drivers/usb/acpi |
| 467 | register "desc" = ""USB2 Type-C Port C0 (MLB)"" |
| 468 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 469 | register "use_custom_pld" = "true" |
| 470 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
| 471 | device ref usb2_port1 on end |
| 472 | end |
| 473 | chip drivers/usb/acpi |
| 474 | register "desc" = ""USB2 Type-A Port A0 (DB)"" |
| 475 | register "type" = "UPC_TYPE_A" |
| 476 | register "use_custom_pld" = "true" |
| 477 | register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
| 478 | device ref usb2_port3 on end |
| 479 | end |
| 480 | chip drivers/usb/acpi |
| 481 | register "desc" = ""USB2 Type-A Port A1 (DB)"" |
| 482 | register "type" = "UPC_TYPE_A" |
| 483 | register "use_custom_pld" = "true" |
| 484 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))" |
| 485 | device ref usb2_port4 on end |
| 486 | end |
| 487 | chip drivers/usb/acpi |
| 488 | register "desc" = ""USB2 Camera"" |
| 489 | register "type" = "UPC_TYPE_INTERNAL" |
| 490 | device ref usb2_port6 on end |
| 491 | end |
| 492 | chip drivers/usb/acpi |
| 493 | register "desc" = ""USB2 Bluetooth"" |
| 494 | register "type" = "UPC_TYPE_INTERNAL" |
| 495 | register "reset_gpio" = |
| 496 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)" |
| 497 | device ref usb2_port8 on end |
| 498 | end |
| 499 | chip drivers/usb/acpi |
| 500 | register "desc" = ""USB2 Bluetooth"" |
| 501 | register "type" = "UPC_TYPE_INTERNAL" |
| 502 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)" |
| 503 | device ref usb2_port10 on end |
| 504 | end |
| 505 | chip drivers/usb/acpi |
| 506 | register "desc" = ""USB3 Type-A Port A0 (MLB)"" |
| 507 | register "type" = "UPC_TYPE_USB3_A" |
| 508 | register "use_custom_pld" = "true" |
| 509 | register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
| 510 | device ref usb3_port1 on end |
| 511 | end |
| 512 | chip drivers/usb/acpi |
| 513 | register "desc" = ""USB3 Type-A Port A1 (DB)"" |
| 514 | register "type" = "UPC_TYPE_USB3_A" |
| 515 | register "use_custom_pld" = "true" |
| 516 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))" |
| 517 | device ref usb3_port2 on end |
| 518 | end |
| 519 | end |
| 520 | end |
| 521 | end |
Matt DeVillier | 189da31 | 2023-09-08 20:57:55 -0500 | [diff] [blame] | 522 | device ref hda on |
| 523 | chip drivers/sof |
| 524 | register "spkr_tplg" = "rt5650_sp" |
| 525 | register "jack_tplg" = "rt5650_hp" |
| 526 | register "mic_tplg" = "_2ch_pdm0" |
| 527 | device generic 0 on end |
| 528 | end |
| 529 | end |
| 530 | end |
Rex Chou | 50d3a64 | 2023-07-11 13:26:08 +0800 | [diff] [blame] | 531 | |
| 532 | end |