Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 1 | fw_config |
| 2 | field DB_USB 0 3 |
Mark Hsieh | 28d1550 | 2021-09-09 22:07:41 +0800 | [diff] [blame] | 3 | option USB_ABSENT 0 |
| 4 | option USB3_PS8815 1 |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 5 | end |
| 6 | field DB_SD 4 5 |
Mark Hsieh | 28d1550 | 2021-09-09 22:07:41 +0800 | [diff] [blame] | 7 | option SD_ABSENT 0 |
| 8 | option SD_GL9750H 1 |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 9 | end |
| 10 | field KB_BL 7 7 |
Mark Hsieh | 28d1550 | 2021-09-09 22:07:41 +0800 | [diff] [blame] | 11 | option KB_BL_ABSENT 0 |
| 12 | option KB_BL_PRESENT 1 |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 13 | end |
| 14 | field AUDIO 8 10 |
Mark Hsieh | 28d1550 | 2021-09-09 22:07:41 +0800 | [diff] [blame] | 15 | option AUDIO_UNKNOWN 0 |
| 16 | option MAX98390_ALC5682I_I2S 1 |
| 17 | option MAX98390_ALC5682I_I2S_SSP1 2 |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 18 | end |
| 19 | field DB_LTE 11 12 |
Mark Hsieh | 28d1550 | 2021-09-09 22:07:41 +0800 | [diff] [blame] | 20 | option LTE_ABSENT 0 |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 21 | end |
| 22 | end |
Mark Hsieh | 352042f | 2021-06-08 09:12:15 +0800 | [diff] [blame] | 23 | chip soc/intel/alderlake |
MAULIK V VAGHELA | 215a97e | 2022-03-07 18:39:17 +0530 | [diff] [blame] | 24 | register "sagv" = "SaGv_Enabled" |
| 25 | register "platform_pmax" = "143" |
| 26 | register "tcss_aux_ori" = "1" |
Mark Hsieh | eb3260b | 2021-11-22 15:26:15 +0800 | [diff] [blame] | 27 | # Acoustic settings |
MAULIK V VAGHELA | 215a97e | 2022-03-07 18:39:17 +0530 | [diff] [blame] | 28 | register "acoustic_noise_mitigation" = "1" |
| 29 | register "slow_slew_rate[VR_DOMAIN_IA]" = "SLEW_FAST_8" |
| 30 | register "slow_slew_rate[VR_DOMAIN_GT]" = "SLEW_FAST_8" |
| 31 | register "fast_pkg_c_ramp_disable[VR_DOMAIN_IA]" = "1" |
| 32 | register "fast_pkg_c_ramp_disable[VR_DOMAIN_GT]" = "1" |
Mark Hsieh | eb3260b | 2021-11-22 15:26:15 +0800 | [diff] [blame] | 33 | |
Mark Hsieh | 1cb77d1 | 2022-06-28 18:26:37 +0800 | [diff] [blame] | 34 | # As per Intel Advisory doc#723158, the change is required to prevent possible |
| 35 | # display flickering issue. |
| 36 | register "usb2_phy_sus_pg_disable" = "1" |
| 37 | |
Scott Chao | 6db97a3 | 2021-07-30 17:25:38 +0800 | [diff] [blame] | 38 | register "typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}" |
Sridhar Siricilla | b25261f | 2022-02-05 19:40:01 +0530 | [diff] [blame] | 39 | register "usb2_ports[1]" = "USB2_PORT_MAX_TYPE_C(OC1)" # set MAX to USB2_C1 for eye diagram |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 40 | register "usb2_ports[2]" = "USB2_PORT_EMPTY" # Disable USB2_C2 |
| 41 | register "usb2_ports[3]" = "USB2_PORT_EMPTY" # M.2 WWAN |
| 42 | register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Type-A MLB Port |
| 43 | register "usb2_ports[8]" = "USB2_PORT_EMPTY" # Type-A DB Port |
| 44 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3/2 Type A MLB port |
Meera Ravindranath | 1d88663 | 2022-01-20 14:01:34 +0530 | [diff] [blame] | 45 | register "tcss_ports[1]" = "TCSS_PORT_EMPTY" |
Mark Hsieh | 4457768 | 2021-11-23 22:54:01 +0800 | [diff] [blame] | 46 | # Intel Common SoC Config |
| 47 | #+-------------------+---------------------------+ |
| 48 | #| Field | Value | |
| 49 | #+-------------------+---------------------------+ |
| 50 | #| GSPI1 | Fingerprint MCU | |
| 51 | #| I2C0 | Audio and WFC | |
| 52 | #| I2C1 | cr50 TPM. Early init is | |
| 53 | #| | required to set up a BAR | |
| 54 | #| | for TPM communication | |
| 55 | #| I2C2 | SAR0 | |
| 56 | #| I2C3 | Touchscreen | |
| 57 | #| | | |
| 58 | #| | | |
| 59 | #| I2C5 | Trackpad | |
| 60 | #+-------------------+---------------------------+ |
| 61 | register "common_soc_config" = "{ |
| 62 | .i2c[1] = { |
| 63 | .early_init = 1, |
| 64 | .speed = I2C_SPEED_FAST, |
| 65 | .rise_time_ns = 600, |
| 66 | .fall_time_ns = 400, |
| 67 | .data_hold_time_ns = 50, |
| 68 | }, |
| 69 | .i2c[3] = { |
| 70 | .speed = I2C_SPEED_FAST, |
| 71 | .rise_time_ns = 650, |
| 72 | .fall_time_ns = 400, |
| 73 | .data_hold_time_ns = 50, |
| 74 | }, |
| 75 | }" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 76 | device domain 0 on |
Won Chung | 1c8f5c7 | 2023-07-31 22:17:44 +0000 | [diff] [blame] | 77 | device ref igpu on |
| 78 | chip drivers/gfx/generic |
| 79 | register "device_count" = "6" |
| 80 | # DDIA for eDP |
| 81 | register "device[0].name" = ""LCD"" |
| 82 | # DDIB for HDMI |
| 83 | register "device[1].name" = ""DD01"" |
| 84 | # TCP0 (DP-1) for port C0 |
| 85 | register "device[2].name" = ""DD02"" |
| 86 | register "device[2].use_pld" = "true" |
| 87 | register "device[2].pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))" |
| 88 | # TCP1 (DP-2) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP1 |
| 89 | register "device[3].name" = ""DD03"" |
| 90 | # TCP2 (DP-3) for port C1 |
| 91 | register "device[4].name" = ""DD04"" |
| 92 | register "device[4].use_pld" = "true" |
| 93 | register "device[4].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))" |
| 94 | # TCP3 (DP-4) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP3 |
| 95 | register "device[5].name" = ""DD05"" |
| 96 | device generic 0 on end |
| 97 | end |
| 98 | end # Integrated Graphics Device |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 99 | device ref dtt on |
| 100 | chip drivers/intel/dptf |
| 101 | ## sensor information |
| 102 | register "options.tsr[0].desc" = ""DRAM"" |
Mark Hsieh | a9a0b33 | 2021-09-22 21:25:00 +0800 | [diff] [blame] | 103 | register "options.tsr[1].desc" = ""Fan"" |
| 104 | register "options.tsr[2].desc" = ""Charger"" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 105 | # TODO: below values are initial reference values only |
Scott Chao | f2be7d6 | 2021-08-03 16:23:08 +0800 | [diff] [blame] | 106 | |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 107 | ## Passive Policy |
| 108 | register "policies.passive" = "{ |
| 109 | [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000), |
| 110 | [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000), |
Mark Hsieh | a9a0b33 | 2021-09-22 21:25:00 +0800 | [diff] [blame] | 111 | [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 5000), |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 112 | }" |
| 113 | ## Critical Policy |
| 114 | register "policies.critical" = "{ |
| 115 | [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN), |
| 116 | [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN), |
Mark Hsieh | a9a0b33 | 2021-09-22 21:25:00 +0800 | [diff] [blame] | 117 | [2] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN), |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 118 | }" |
| 119 | register "controls.power_limits" = "{ |
| 120 | .pl1 = { |
Sumeet Pawnikar | f1d0c82 | 2021-10-27 16:42:10 +0530 | [diff] [blame] | 121 | .min_power = 12000, |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 122 | .max_power = 15000, |
| 123 | .time_window_min = 28 * MSECS_PER_SEC, |
| 124 | .time_window_max = 32 * MSECS_PER_SEC, |
| 125 | .granularity = 200, |
| 126 | }, |
| 127 | .pl2 = { |
| 128 | .min_power = 55000, |
| 129 | .max_power = 55000, |
| 130 | .time_window_min = 28 * MSECS_PER_SEC, |
| 131 | .time_window_max = 32 * MSECS_PER_SEC, |
| 132 | .granularity = 1000, |
| 133 | } |
| 134 | }" |
| 135 | ## Charger Performance Control (Control, mA) |
| 136 | register "controls.charger_perf" = "{ |
| 137 | [0] = { 255, 1700 }, |
| 138 | [1] = { 24, 1500 }, |
| 139 | [2] = { 16, 1000 }, |
| 140 | [3] = { 8, 500 } |
| 141 | }" |
Furquan Shaikh | 4aba739 | 2021-09-20 10:51:45 -0700 | [diff] [blame] | 142 | device generic 0 alias dptf_policy on end |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 143 | end |
| 144 | end |
| 145 | device ref cnvi_wifi on |
| 146 | chip drivers/wifi/generic |
| 147 | register "wake" = "GPE0_PME_B0" |
| 148 | device generic 0 on end |
| 149 | end |
| 150 | end |
Meera Ravindranath | 1d88663 | 2022-01-20 14:01:34 +0530 | [diff] [blame] | 151 | device ref pcie_rp6 off end |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 152 | device ref pcie_rp8 on |
| 153 | chip soc/intel/common/block/pcie/rtd3 |
| 154 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)" |
| 155 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D18)" |
| 156 | register "srcclk_pin" = "3" |
| 157 | device generic 0 on end |
| 158 | end |
| 159 | end #PCIE8 SD card |
| 160 | device ref i2c0 on |
| 161 | chip drivers/i2c/generic |
| 162 | register "hid" = ""10EC5682"" |
| 163 | register "name" = ""RT58"" |
| 164 | register "desc" = ""Headset Codec"" |
| 165 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" |
| 166 | # Set the jd_src to RT5668_JD1 for jack detection |
| 167 | register "property_count" = "1" |
| 168 | register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" |
| 169 | register "property_list[0].name" = ""realtek,jd-src"" |
| 170 | register "property_list[0].integer" = "1" |
| 171 | device i2c 1a on |
Mark Hsieh | 9ed8e38 | 2021-09-15 21:23:17 +0800 | [diff] [blame] | 172 | probe AUDIO MAX98390_ALC5682I_I2S |
| 173 | end |
| 174 | end |
| 175 | chip drivers/i2c/generic |
| 176 | register "hid" = ""RTL5682"" |
| 177 | register "name" = ""RT58"" |
| 178 | register "desc" = ""Headset Codec"" |
| 179 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" |
| 180 | # Set the jd_src to RT5668_JD1 for jack detection |
| 181 | register "property_count" = "1" |
| 182 | register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" |
| 183 | register "property_list[0].name" = ""realtek,jd-src"" |
| 184 | register "property_list[0].integer" = "1" |
| 185 | device i2c 1a on |
| 186 | probe AUDIO MAX98390_ALC5682I_I2S_SSP1 |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 187 | end |
| 188 | end |
Mark Hsieh | f41da47 | 2021-08-02 18:36:39 +0800 | [diff] [blame] | 189 | chip drivers/i2c/max98390 |
| 190 | register "desc" = ""MAX98390 Speaker Amp 0"" |
| 191 | register "uid" = "0" |
| 192 | register "name" = ""MXW0"" |
| 193 | register "r0_calib_key" = ""dsm_calib_r0_0"" |
| 194 | register "temperature_calib_key" = ""dsm_calib_temp_0"" |
Mark Hsieh | b11de6f | 2021-11-09 21:45:08 +0800 | [diff] [blame] | 195 | register "dsm_param_file_name" = ""dsm_param_R"" |
Mark Hsieh | 3673a16 | 2021-09-22 20:50:33 +0800 | [diff] [blame] | 196 | register "vmon_slot_no" = "0" |
| 197 | register "imon_slot_no" = "1" |
Mark Hsieh | 111bc43 | 2021-08-20 16:59:57 +0800 | [diff] [blame] | 198 | device i2c 0x38 on |
Mark Hsieh | f41da47 | 2021-08-02 18:36:39 +0800 | [diff] [blame] | 199 | end |
| 200 | end |
| 201 | chip drivers/i2c/max98390 |
| 202 | register "desc" = ""MAX98390 Speaker Amp 1"" |
| 203 | register "uid" = "1" |
| 204 | register "name" = ""MXW1"" |
| 205 | register "r0_calib_key" = ""dsm_calib_r0_1"" |
| 206 | register "temperature_calib_key" = ""dsm_calib_temp_1"" |
Mark Hsieh | b11de6f | 2021-11-09 21:45:08 +0800 | [diff] [blame] | 207 | register "dsm_param_file_name" = ""dsm_param_L"" |
Mark Hsieh | 3673a16 | 2021-09-22 20:50:33 +0800 | [diff] [blame] | 208 | register "vmon_slot_no" = "1" |
| 209 | register "imon_slot_no" = "0" |
Mark Hsieh | 111bc43 | 2021-08-20 16:59:57 +0800 | [diff] [blame] | 210 | device i2c 0x3c on |
Mark Hsieh | f41da47 | 2021-08-02 18:36:39 +0800 | [diff] [blame] | 211 | end |
| 212 | end |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 213 | end #I2C0 |
| 214 | device ref i2c1 on |
Mark Hsieh | 4457768 | 2021-11-23 22:54:01 +0800 | [diff] [blame] | 215 | chip drivers/i2c/tpm |
| 216 | register "hid" = ""GOOG0005"" |
| 217 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)" |
| 218 | device i2c 50 on end |
| 219 | end |
| 220 | end |
| 221 | device ref i2c3 on |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 222 | chip drivers/i2c/hid |
Scott Chao | cc1a9b5 | 2021-08-04 17:34:17 +0800 | [diff] [blame] | 223 | register "generic.hid" = ""ELAN9050"" |
| 224 | register "generic.desc" = ""ELAN Touchscreen"" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 225 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)" |
Matt DeVillier | 8a0e6b5 | 2023-04-27 10:04:27 -0500 | [diff] [blame] | 226 | register "generic.detect" = "1" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 227 | register "generic.reset_gpio" = |
| 228 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)" |
Scott Chao | e24b006 | 2021-12-21 14:18:31 +0800 | [diff] [blame] | 229 | register "generic.reset_delay_ms" = "200" |
Scott Chao | cc1a9b5 | 2021-08-04 17:34:17 +0800 | [diff] [blame] | 230 | register "generic.reset_off_delay_ms" = "1" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 231 | register "generic.enable_gpio" = |
| 232 | "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" |
Scott Chao | cc1a9b5 | 2021-08-04 17:34:17 +0800 | [diff] [blame] | 233 | register "generic.enable_delay_ms" = "6" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 234 | register "generic.stop_gpio" = |
| 235 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)" |
| 236 | register "generic.stop_off_delay_ms" = "1" |
| 237 | register "generic.has_power_resource" = "1" |
| 238 | register "hid_desc_reg_offset" = "0x01" |
Scott Chao | cc1a9b5 | 2021-08-04 17:34:17 +0800 | [diff] [blame] | 239 | device i2c 0x15 on end |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 240 | end |
| 241 | end |
| 242 | device ref i2c5 on |
| 243 | chip drivers/i2c/generic |
| 244 | register "hid" = ""ELAN0000"" |
| 245 | register "desc" = ""ELAN Touchpad"" |
| 246 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 247 | register "wake" = "GPE0_DW2_14" |
Matt DeVillier | 2cf52d8 | 2022-09-01 15:09:24 -0500 | [diff] [blame] | 248 | register "detect" = "1" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 249 | device i2c 0x15 on end |
| 250 | end |
| 251 | end |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 252 | device ref gspi1 on |
| 253 | chip drivers/spi/acpi |
| 254 | register "name" = ""CRFP"" |
| 255 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 256 | register "uid" = "1" |
| 257 | register "compat_string" = ""google,cros-ec-spi"" |
| 258 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F15_IRQ)" |
| 259 | register "wake" = "GPE0_DW2_15" |
Tarun Tuli | 2b523ce | 2022-08-29 13:39:58 -0400 | [diff] [blame] | 260 | register "has_power_resource" = "1" |
| 261 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D1)" |
| 262 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D2)" |
| 263 | register "enable_delay_ms" = "3" |
Matt DeVillier | af46b47 | 2023-10-28 11:16:14 -0500 | [diff] [blame^] | 264 | device spi 0 hidden end |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 265 | end # FPMCU |
| 266 | end |
| 267 | device ref pch_espi on |
| 268 | chip ec/google/chromeec |
| 269 | use conn0 as mux_conn[0] |
| 270 | use conn1 as mux_conn[1] |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 271 | device pnp 0c09.0 on end |
| 272 | end |
| 273 | end |
| 274 | device ref pmc hidden |
| 275 | chip drivers/intel/pmc_mux |
| 276 | device generic 0 on |
| 277 | chip drivers/intel/pmc_mux/conn |
Reka Norman | d448f8c | 2021-12-09 12:09:27 +1100 | [diff] [blame] | 278 | use usb2_port1 as usb2_port |
| 279 | use tcss_usb3_port1 as usb3_port |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 280 | device generic 0 alias conn0 on end |
| 281 | end |
| 282 | chip drivers/intel/pmc_mux/conn |
Reka Norman | d448f8c | 2021-12-09 12:09:27 +1100 | [diff] [blame] | 283 | use usb2_port2 as usb2_port |
| 284 | use tcss_usb3_port3 as usb3_port |
Scott Chao | 37d14cf | 2021-07-23 16:41:48 +0800 | [diff] [blame] | 285 | device generic 1 alias conn1 on end |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 286 | end |
| 287 | end |
| 288 | end |
| 289 | end |
| 290 | device ref tcss_xhci on |
| 291 | chip drivers/usb/acpi |
| 292 | device ref tcss_root_hub on |
| 293 | chip drivers/usb/acpi |
| 294 | register "desc" = ""USB3 Type-C Port C0 (MLB)"" |
| 295 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 296 | register "use_custom_pld" = "true" |
Subrata Banik | 11fb6a8 | 2022-02-16 17:20:53 +0530 | [diff] [blame] | 297 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 298 | device ref tcss_usb3_port1 on end |
| 299 | end |
| 300 | chip drivers/usb/acpi |
| 301 | register "desc" = ""USB3 Type-C Port C1 (DB)"" |
| 302 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 303 | register "use_custom_pld" = "true" |
Subrata Banik | 11fb6a8 | 2022-02-16 17:20:53 +0530 | [diff] [blame] | 304 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))" |
Ron Lee | 558952a | 2022-12-13 19:48:59 +0800 | [diff] [blame] | 305 | register "usb_lpm_incapable" = "true" |
Scott Chao | 37d14cf | 2021-07-23 16:41:48 +0800 | [diff] [blame] | 306 | device ref tcss_usb3_port3 on end |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 307 | end |
| 308 | end |
| 309 | end |
| 310 | end |
| 311 | device ref xhci on |
| 312 | chip drivers/usb/acpi |
| 313 | device ref xhci_root_hub on |
| 314 | chip drivers/usb/acpi |
| 315 | register "desc" = ""USB2 Type-C Port C0 (MLB)"" |
| 316 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 317 | register "use_custom_pld" = "true" |
Subrata Banik | 11fb6a8 | 2022-02-16 17:20:53 +0530 | [diff] [blame] | 318 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 319 | device ref usb2_port1 on end |
| 320 | end |
| 321 | chip drivers/usb/acpi |
| 322 | register "desc" = ""USB2 Type-C Port C1 (DB)"" |
| 323 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 324 | register "use_custom_pld" = "true" |
Subrata Banik | 11fb6a8 | 2022-02-16 17:20:53 +0530 | [diff] [blame] | 325 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 326 | device ref usb2_port2 on end |
| 327 | end |
| 328 | chip drivers/usb/acpi |
| 329 | register "desc" = ""USB2 Camera"" |
| 330 | register "type" = "UPC_TYPE_INTERNAL" |
| 331 | register "privacy_gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_D13)" |
| 332 | device ref usb2_port6 on end |
| 333 | end |
| 334 | chip drivers/usb/acpi |
| 335 | register "desc" = ""USB2 Type-A Port (MLB)"" |
| 336 | register "type" = "UPC_TYPE_A" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 337 | register "use_custom_pld" = "true" |
Subrata Banik | 11fb6a8 | 2022-02-16 17:20:53 +0530 | [diff] [blame] | 338 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 339 | device ref usb2_port8 on end |
| 340 | end |
| 341 | chip drivers/usb/acpi |
| 342 | register "desc" = ""USB2 Bluetooth"" |
| 343 | register "type" = "UPC_TYPE_INTERNAL" |
| 344 | register "reset_gpio" = |
| 345 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)" |
| 346 | device ref usb2_port10 on end |
| 347 | end |
| 348 | chip drivers/usb/acpi |
| 349 | register "desc" = ""USB3 Type-A Port (MLB)"" |
| 350 | register "type" = "UPC_TYPE_USB3_A" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 351 | register "use_custom_pld" = "true" |
Subrata Banik | 11fb6a8 | 2022-02-16 17:20:53 +0530 | [diff] [blame] | 352 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
Mark Hsieh | a96e9cb | 2021-06-23 16:23:44 +0800 | [diff] [blame] | 353 | device ref usb3_port2 on end |
| 354 | end |
| 355 | end |
| 356 | end |
| 357 | end |
| 358 | end |
Mark Hsieh | 352042f | 2021-06-08 09:12:15 +0800 | [diff] [blame] | 359 | end |