Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 1 | fw_config |
| 2 | field DB_SD 0 1 |
| 3 | option SD_ABSENT 0 |
| 4 | option SD_GL9755S 1 |
| 5 | end |
| 6 | field KB_BL 2 2 |
| 7 | option KB_BL_ABSENT 0 |
| 8 | option KB_BL_PRESENT 1 |
| 9 | end |
| 10 | field AUDIO 3 5 |
Wisley Chen | 4ca7b26 | 2021-09-17 14:37:59 +0600 | [diff] [blame] | 11 | option AUDIO_UNKNOWN 0 |
| 12 | option MAX98390_ALC5682I_I2S_4SPK 1 |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 13 | end |
| 14 | field DB_LTE 6 7 |
| 15 | option LTE_ABSENT 0 |
| 16 | option LTE_USB 1 |
Subrata Banik | 3d469fa | 2021-09-10 00:21:23 +0530 | [diff] [blame] | 17 | option LTE_PCIE 2 |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 18 | end |
Wisley Chen | d19d27a | 2021-08-31 19:07:19 +0600 | [diff] [blame] | 19 | field EPS 10 10 |
| 20 | option PRIVACY_SCREEN_ABSENT 0 |
| 21 | option PRIVACY_SCREEN 1 |
| 22 | end |
Arec Kao | 093ac93 | 2021-09-16 12:03:45 +0800 | [diff] [blame] | 23 | field CAMERA_UFC 38 39 |
| 24 | option CAMERA_NONE 0 |
| 25 | option CAMERA_OV5675 1 |
| 26 | option CAMERA_HI556 2 |
| 27 | end |
Wisley Chen | a398be9 | 2021-09-11 12:22:28 +0600 | [diff] [blame] | 28 | field TP_SOURCE 40 41 |
| 29 | option ELAN0000 0 |
| 30 | option ELAN2703 1 |
| 31 | end |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 32 | end |
Wisley Chen | 61cef57 | 2021-06-25 14:36:01 +0600 | [diff] [blame] | 33 | chip soc/intel/alderlake |
MAULIK V VAGHELA | 215a97e | 2022-03-07 18:39:17 +0530 | [diff] [blame] | 34 | register "sagv" = "SaGv_Enabled" |
| 35 | register "cnvi_bt_audio_offload" = "true" |
Wisley Chen | 90d79a7 | 2021-11-03 12:32:34 +0600 | [diff] [blame] | 36 | # FIVR RFI Spread Spectrum 6% |
MAULIK V VAGHELA | 215a97e | 2022-03-07 18:39:17 +0530 | [diff] [blame] | 37 | register "fivr_spread_spectrum" = "FIVR_SS_6" |
Mac Chiang | 3f13716 | 2021-10-13 15:21:22 +0800 | [diff] [blame] | 38 | |
Wisley Chen | e589ee3 | 2021-11-04 18:52:48 +0600 | [diff] [blame] | 39 | # Acoustic settings |
MAULIK V VAGHELA | 215a97e | 2022-03-07 18:39:17 +0530 | [diff] [blame] | 40 | register "acoustic_noise_mitigation" = "1" |
| 41 | register "slow_slew_rate[VR_DOMAIN_IA]" = "SLEW_FAST_8" |
| 42 | register "slow_slew_rate[VR_DOMAIN_GT]" = "SLEW_FAST_8" |
| 43 | register "fast_pkg_c_ramp_disable[VR_DOMAIN_IA]" = "1" |
| 44 | register "fast_pkg_c_ramp_disable[VR_DOMAIN_GT]" = "1" |
Wisley Chen | e589ee3 | 2021-11-04 18:52:48 +0600 | [diff] [blame] | 45 | |
Wisley Chen | 03c0853 | 2022-02-17 15:53:06 +0600 | [diff] [blame] | 46 | register "usb2_ports[1]" = "USB2_PORT_EMPTY" |
| 47 | register "usb2_ports[5]" = "USB2_PORT_EMPTY" |
Wisley Chen | 03c0853 | 2022-02-17 15:53:06 +0600 | [diff] [blame] | 48 | register "tcss_ports[1]" = "TCSS_PORT_EMPTY" |
| 49 | |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 50 | # Intel Common SoC Config |
| 51 | #+-------------------+---------------------------+ |
| 52 | #| Field | Value | |
| 53 | #+-------------------+---------------------------+ |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 54 | #| GSPI1 | Fingerprint MCU | |
| 55 | #| I2C0 | Audio | |
Wisley Chen | 7676fea | 2021-12-03 16:25:06 +0600 | [diff] [blame] | 56 | #| I2C1 | cr50 TPM. Early init is | |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 57 | #| | required to set up a BAR | |
| 58 | #| | for TPM communication | |
Wisley Chen | 7676fea | 2021-12-03 16:25:06 +0600 | [diff] [blame] | 59 | #| I2C3 | TouchScreen | |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 60 | #| I2C5 | Trackpad | |
| 61 | #+-------------------+---------------------------+ |
| 62 | register "common_soc_config" = "{ |
Wisley Chen | 8eedca3 | 2022-01-05 19:38:12 +0600 | [diff] [blame] | 63 | .i2c[0] = { |
| 64 | .speed = I2C_SPEED_FAST, |
| 65 | .rise_time_ns = 650, |
| 66 | .fall_time_ns = 400, |
| 67 | .data_hold_time_ns = 50, |
| 68 | }, |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 69 | .i2c[1] = { |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 70 | .early_init = 1, |
| 71 | .speed = I2C_SPEED_FAST, |
Wisley Chen | 7676fea | 2021-12-03 16:25:06 +0600 | [diff] [blame] | 72 | .rise_time_ns = 600, |
| 73 | .fall_time_ns = 400, |
| 74 | .data_hold_time_ns = 50, |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 75 | }, |
Wisley Chen | 8eedca3 | 2022-01-05 19:38:12 +0600 | [diff] [blame] | 76 | .i2c[2] = { |
| 77 | .speed = I2C_SPEED_FAST, |
| 78 | .rise_time_ns = 650, |
| 79 | .fall_time_ns = 400, |
| 80 | .data_hold_time_ns = 50, |
| 81 | }, |
Wisley Chen | 7676fea | 2021-12-03 16:25:06 +0600 | [diff] [blame] | 82 | .i2c[3] = { |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 83 | .speed = I2C_SPEED_FAST, |
Wisley Chen | 7676fea | 2021-12-03 16:25:06 +0600 | [diff] [blame] | 84 | .rise_time_ns = 650, |
| 85 | .fall_time_ns = 400, |
| 86 | .data_hold_time_ns = 50, |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 87 | }, |
Wisley Chen | 8eedca3 | 2022-01-05 19:38:12 +0600 | [diff] [blame] | 88 | .i2c[5] = { |
| 89 | .speed = I2C_SPEED_FAST, |
| 90 | .rise_time_ns = 650, |
| 91 | .fall_time_ns = 400, |
| 92 | .data_hold_time_ns = 50, |
| 93 | }, |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 94 | }" |
Wisley Chen | dc6071d | 2022-01-11 18:07:20 +0600 | [diff] [blame] | 95 | register "tcc_offset" = "3" # TCC of 97C |
Cliff Huang | 20ee22c | 2022-02-11 18:08:32 -0800 | [diff] [blame] | 96 | |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 97 | device domain 0 on |
Wisley Chen | d19d27a | 2021-08-31 19:07:19 +0600 | [diff] [blame] | 98 | device ref igpu on |
| 99 | chip drivers/gfx/generic |
Won Chung | 2c06ef9 | 2023-07-06 16:49:50 +0000 | [diff] [blame^] | 100 | register "device_count" = "6" |
Won Chung | d6a17e2 | 2023-05-31 20:47:02 +0000 | [diff] [blame] | 101 | # DDIA for eDP |
Wisley Chen | d19d27a | 2021-08-31 19:07:19 +0600 | [diff] [blame] | 102 | register "device[0].name" = ""LCD"" |
Jon Murphy | c4e9045 | 2022-06-28 10:36:23 -0600 | [diff] [blame] | 103 | # Use ChromeOS privacy screen _HID |
Tim Wawrzynczak | 0167f5a | 2021-11-29 13:21:10 -0700 | [diff] [blame] | 104 | register "device[0].hid" = ""GOOG0010"" |
Wisley Chen | d19d27a | 2021-08-31 19:07:19 +0600 | [diff] [blame] | 105 | # Internal panel on the first port of the graphics chip |
| 106 | register "device[0].addr" = "0x80010400" |
| 107 | register "device[0].privacy.enabled" = "1" |
| 108 | register "device[0].privacy.gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H21)" |
Won Chung | 2c06ef9 | 2023-07-06 16:49:50 +0000 | [diff] [blame^] | 109 | # DDIB for HDMI |
| 110 | register "device[1].name" = ""DD01"" |
| 111 | # TCP0 (DP-1) for port C0 |
| 112 | register "device[2].name" = ""DD02"" |
| 113 | register "device[2].use_pld" = "true" |
| 114 | register "device[2].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
| 115 | # TCP1 (DP-2) unused |
| 116 | register "device[3].name" = ""DD03"" |
| 117 | # TCP2 (DP-3) for port C2 |
| 118 | register "device[4].name" = ""DD04"" |
| 119 | register "device[4].use_pld" = "true" |
| 120 | register "device[4].pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))" |
| 121 | # TCP3 (DP-4) unused |
| 122 | register "device[5].name" = ""DD05"" |
Wisley Chen | d19d27a | 2021-08-31 19:07:19 +0600 | [diff] [blame] | 123 | device generic 0 on |
| 124 | probe EPS PRIVACY_SCREEN |
| 125 | end |
| 126 | end |
Won Chung | d6a17e2 | 2023-05-31 20:47:02 +0000 | [diff] [blame] | 127 | chip drivers/gfx/generic |
Won Chung | 2c06ef9 | 2023-07-06 16:49:50 +0000 | [diff] [blame^] | 128 | register "device_count" = "6" |
Won Chung | d6a17e2 | 2023-05-31 20:47:02 +0000 | [diff] [blame] | 129 | # DDIA for eDP |
| 130 | register "device[0].name" = ""LCD"" |
Won Chung | 2c06ef9 | 2023-07-06 16:49:50 +0000 | [diff] [blame^] | 131 | # DDIB for HDMI |
| 132 | register "device[1].name" = ""DD01"" |
| 133 | # TCP0 (DP-1) for port C0 |
| 134 | register "device[2].name" = ""DD02"" |
| 135 | register "device[2].use_pld" = "true" |
| 136 | register "device[2].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
| 137 | # TCP1 (DP-2) unused |
| 138 | register "device[3].name" = ""DD03"" |
| 139 | # TCP2 (DP-3) for port C2 |
| 140 | register "device[4].name" = ""DD04"" |
| 141 | register "device[4].use_pld" = "true" |
| 142 | register "device[4].pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))" |
| 143 | # TCP3 (DP-4) unused |
| 144 | register "device[5].name" = ""DD05"" |
Won Chung | d6a17e2 | 2023-05-31 20:47:02 +0000 | [diff] [blame] | 145 | device generic 0 on |
| 146 | probe EPS PRIVACY_SCREEN_ABSENT |
| 147 | end |
| 148 | end |
Wisley Chen | d19d27a | 2021-08-31 19:07:19 +0600 | [diff] [blame] | 149 | end # Integrated Graphics Device |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 150 | device ref dtt on |
| 151 | chip drivers/intel/dptf |
| 152 | ## sensor information |
| 153 | register "options.tsr[0].desc" = ""DRAM"" |
Wisley Chen | b8b833f | 2021-11-05 16:38:00 +0600 | [diff] [blame] | 154 | register "options.tsr[1].desc" = ""SOC"" |
| 155 | register "options.tsr[2].desc" = ""Charger"" |
| 156 | register "options.tsr[3].desc" = ""5V regulator"" |
| 157 | |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 158 | # TODO: below values are initial reference values only |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 159 | ## Passive Policy |
| 160 | register "policies.passive" = "{ |
Wisley Chen | 58d2943 | 2021-09-16 18:26:48 +0600 | [diff] [blame] | 161 | [0] = DPTF_PASSIVE(CPU, CPU, 55, 5000), |
| 162 | [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 45, 5000), |
Wisley Chen | b8b833f | 2021-11-05 16:38:00 +0600 | [diff] [blame] | 163 | [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 51, 5000), |
| 164 | [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 51, 5000), |
| 165 | [4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 51, 5000), |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 166 | }" |
| 167 | register "controls.power_limits" = "{ |
| 168 | .pl1 = { |
Wisley Chen | 58d2943 | 2021-09-16 18:26:48 +0600 | [diff] [blame] | 169 | .min_power = 13000, |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 170 | .max_power = 15000, |
Wisley Chen | 58d2943 | 2021-09-16 18:26:48 +0600 | [diff] [blame] | 171 | .time_window_min = 42 * MSECS_PER_SEC, |
| 172 | .time_window_max = 42 * MSECS_PER_SEC, |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 173 | .granularity = 200, |
| 174 | }, |
| 175 | .pl2 = { |
Wisley Chen | 58d2943 | 2021-09-16 18:26:48 +0600 | [diff] [blame] | 176 | .min_power = 35000, |
| 177 | .max_power = 35000, |
| 178 | .time_window_min = 42 * MSECS_PER_SEC, |
| 179 | .time_window_max = 42 * MSECS_PER_SEC, |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 180 | .granularity = 1000, |
| 181 | } |
| 182 | }" |
| 183 | ## Charger Performance Control (Control, mA) |
| 184 | register "controls.charger_perf" = "{ |
| 185 | [0] = { 255, 1700 }, |
| 186 | [1] = { 24, 1500 }, |
| 187 | [2] = { 16, 1000 }, |
| 188 | [3] = { 8, 500 } |
| 189 | }" |
Furquan Shaikh | 4aba739 | 2021-09-20 10:51:45 -0700 | [diff] [blame] | 190 | device generic 0 alias dptf_policy on end |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 191 | end |
| 192 | end |
Wisley Chen | 18972f8 | 2022-03-04 15:33:15 +0600 | [diff] [blame] | 193 | device ref tbt_pcie_rp1 off end |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 194 | device ref ipu on |
Subrata Banik | 3d469fa | 2021-09-10 00:21:23 +0530 | [diff] [blame] | 195 | chip drivers/intel/mipi_camera |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 196 | register "acpi_uid" = "0x50000" |
| 197 | register "acpi_name" = ""IPU0"" |
| 198 | register "device_type" = "INTEL_ACPI_CAMERA_CIO2" |
| 199 | |
| 200 | register "cio2_num_ports" = "1" |
| 201 | register "cio2_lanes_used" = "{2}" # 2 CSI Camera lanes are used |
| 202 | register "cio2_lane_endpoint[0]" = ""^I2C2.CAM0"" |
| 203 | register "cio2_prt[0]" = "2" |
| 204 | device generic 0 on end |
| 205 | end |
| 206 | end |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 207 | device ref cnvi_wifi on |
| 208 | chip drivers/wifi/generic |
| 209 | register "wake" = "GPE0_PME_B0" |
| 210 | device generic 0 on end |
| 211 | end |
| 212 | end |
Wisley Chen | 09a3286 | 2021-08-10 15:13:15 +0600 | [diff] [blame] | 213 | device ref pcie_rp6 on |
Cliff Huang | 2754787 | 2022-02-23 23:45:14 -0800 | [diff] [blame] | 214 | # Enable WWAN PCIE 6 using clk 5 |
| 215 | register "pch_pcie_rp[PCH_RP(6)]" = "{ |
| 216 | .clk_src = 5, |
| 217 | .clk_req = 5, |
| 218 | .flags = PCIE_RP_LTR | PCIE_RP_AER, |
| 219 | }" |
| 220 | chip soc/intel/common/block/pcie/rtd3 |
| 221 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)" |
| 222 | register "reset_off_delay_ms" = "20" |
| 223 | # register "reset_delay_ms" = "1000" |
| 224 | register "srcclk_pin" = "5" |
| 225 | register "ext_pm_support" = "ACPI_PCIE_RP_EMIT_ALL" |
| 226 | register "skip_on_off_support" = "true" |
Cliff Huang | daeb781 | 2023-03-02 10:17:50 -0800 | [diff] [blame] | 227 | register "use_rp_mutex" = "true" |
Cliff Huang | 2754787 | 2022-02-23 23:45:14 -0800 | [diff] [blame] | 228 | device generic 0 alias rp6_rtd3 on |
| 229 | probe DB_LTE LTE_PCIE |
| 230 | end |
| 231 | end |
Cliff Huang | 1ee6e4a | 2022-01-21 23:34:02 -0800 | [diff] [blame] | 232 | chip drivers/wwan/fm |
| 233 | register "fcpo_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F21)" |
| 234 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E16)" |
| 235 | register "perst_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)" |
| 236 | register "wake_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A7)" |
Tim Wawrzynczak | 8dc28c4 | 2022-02-28 08:59:10 -0700 | [diff] [blame] | 237 | register "add_acpi_dma_property" = "true" |
Cliff Huang | 1ee6e4a | 2022-01-21 23:34:02 -0800 | [diff] [blame] | 238 | use rp6_rtd3 as rtd3dev |
Tim Wawrzynczak | d85e5eb | 2022-04-11 13:04:14 -0600 | [diff] [blame] | 239 | device generic 0 alias rp6_wwan on |
Cliff Huang | 1ee6e4a | 2022-01-21 23:34:02 -0800 | [diff] [blame] | 240 | probe DB_LTE LTE_PCIE |
| 241 | end |
| 242 | end |
Cliff Huang | 2754787 | 2022-02-23 23:45:14 -0800 | [diff] [blame] | 243 | probe DB_LTE LTE_PCIE |
Wisley Chen | 09a3286 | 2021-08-10 15:13:15 +0600 | [diff] [blame] | 244 | end |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 245 | device ref tcss_dma0 on |
| 246 | chip drivers/intel/usb4/retimer |
| 247 | register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)" |
| 248 | use tcss_usb3_port1 as dfp[0].typec_port |
| 249 | device generic 0 on end |
| 250 | end |
| 251 | end |
| 252 | device ref tcss_dma1 on |
| 253 | chip drivers/intel/usb4/retimer |
| 254 | register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)" |
| 255 | use tcss_usb3_port3 as dfp[0].typec_port |
| 256 | device generic 0 on end |
| 257 | end |
| 258 | end |
| 259 | device ref pcie_rp8 on |
| 260 | chip soc/intel/common/block/pcie/rtd3 |
| 261 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)" |
| 262 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D18)" |
| 263 | register "srcclk_pin" = "3" |
| 264 | device generic 0 on end |
| 265 | end |
| 266 | end #PCIE8 SD card |
| 267 | device ref i2c0 on |
| 268 | chip drivers/i2c/generic |
Wisley Chen | 4ca7b26 | 2021-09-17 14:37:59 +0600 | [diff] [blame] | 269 | register "hid" = ""RTL5682"" |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 270 | register "name" = ""RT58"" |
| 271 | register "desc" = ""Headset Codec"" |
| 272 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" |
| 273 | # Set the jd_src to RT5668_JD1 for jack detection |
| 274 | register "property_count" = "1" |
| 275 | register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" |
| 276 | register "property_list[0].name" = ""realtek,jd-src"" |
| 277 | register "property_list[0].integer" = "1" |
| 278 | device i2c 1a on |
Wisley Chen | 4ca7b26 | 2021-09-17 14:37:59 +0600 | [diff] [blame] | 279 | probe AUDIO MAX98390_ALC5682I_I2S_4SPK |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 280 | end |
| 281 | end |
Wisley Chen | 9413f4e | 2021-08-24 16:51:44 +0600 | [diff] [blame] | 282 | chip drivers/i2c/max98390 |
| 283 | register "desc" = ""MAX98390 Speaker Amp 0"" |
| 284 | register "uid" = "0" |
| 285 | register "name" = ""MXW0"" |
| 286 | register "r0_calib_key" = ""dsm_calib_r0_0"" |
| 287 | register "temperature_calib_key" = ""dsm_calib_temp_0"" |
Wisley Chen | 88c0fad | 2021-11-12 13:19:07 +0600 | [diff] [blame] | 288 | register "dsm_param_file_name" = ""dsm_param_R"" |
Wisley Chen | 4ca7b26 | 2021-09-17 14:37:59 +0600 | [diff] [blame] | 289 | register "vmon_slot_no" = "0" |
| 290 | register "imon_slot_no" = "1" |
| 291 | device i2c 0x3a on |
| 292 | probe AUDIO MAX98390_ALC5682I_I2S_4SPK |
| 293 | end |
Wisley Chen | 9413f4e | 2021-08-24 16:51:44 +0600 | [diff] [blame] | 294 | end |
| 295 | chip drivers/i2c/max98390 |
| 296 | register "desc" = ""MAX98390 Speaker Amp 1"" |
| 297 | register "uid" = "1" |
| 298 | register "name" = ""MXW1"" |
| 299 | register "r0_calib_key" = ""dsm_calib_r0_1"" |
| 300 | register "temperature_calib_key" = ""dsm_calib_temp_1"" |
Wisley Chen | 88c0fad | 2021-11-12 13:19:07 +0600 | [diff] [blame] | 301 | register "dsm_param_file_name" = ""dsm_param_L"" |
Wisley Chen | 4ca7b26 | 2021-09-17 14:37:59 +0600 | [diff] [blame] | 302 | register "vmon_slot_no" = "1" |
| 303 | register "imon_slot_no" = "0" |
| 304 | device i2c 0x3b on |
| 305 | probe AUDIO MAX98390_ALC5682I_I2S_4SPK |
| 306 | end |
Wisley Chen | 9413f4e | 2021-08-24 16:51:44 +0600 | [diff] [blame] | 307 | end |
| 308 | chip drivers/i2c/max98390 |
| 309 | register "desc" = ""MAX98390 Speaker Amp 2"" |
| 310 | register "uid" = "2" |
| 311 | register "name" = ""MXW2"" |
| 312 | register "r0_calib_key" = ""dsm_calib_r0_2"" |
| 313 | register "temperature_calib_key" = ""dsm_calib_temp_2"" |
Wisley Chen | 88c0fad | 2021-11-12 13:19:07 +0600 | [diff] [blame] | 314 | register "dsm_param_file_name" = ""dsm_param_tt_R"" |
Wisley Chen | 4ca7b26 | 2021-09-17 14:37:59 +0600 | [diff] [blame] | 315 | register "vmon_slot_no" = "2" |
| 316 | register "imon_slot_no" = "3" |
| 317 | device i2c 0x38 on |
| 318 | probe AUDIO MAX98390_ALC5682I_I2S_4SPK |
| 319 | end |
Wisley Chen | 9413f4e | 2021-08-24 16:51:44 +0600 | [diff] [blame] | 320 | end |
| 321 | chip drivers/i2c/max98390 |
| 322 | register "desc" = ""MAX98390 Speaker Amp 3"" |
| 323 | register "uid" = "3" |
| 324 | register "name" = ""MXW3"" |
| 325 | register "r0_calib_key" = ""dsm_calib_r0_3"" |
| 326 | register "temperature_calib_key" = ""dsm_calib_temp_3"" |
Wisley Chen | 88c0fad | 2021-11-12 13:19:07 +0600 | [diff] [blame] | 327 | register "dsm_param_file_name" = ""dsm_param_tt_L"" |
Wisley Chen | 4ca7b26 | 2021-09-17 14:37:59 +0600 | [diff] [blame] | 328 | register "vmon_slot_no" = "3" |
| 329 | register "imon_slot_no" = "2" |
| 330 | device i2c 0x39 on |
| 331 | probe AUDIO MAX98390_ALC5682I_I2S_4SPK |
| 332 | end |
Wisley Chen | 9413f4e | 2021-08-24 16:51:44 +0600 | [diff] [blame] | 333 | end |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 334 | end #I2C0 |
| 335 | device ref i2c1 on |
Wisley Chen | 7676fea | 2021-12-03 16:25:06 +0600 | [diff] [blame] | 336 | chip drivers/i2c/tpm |
| 337 | register "hid" = ""GOOG0005"" |
| 338 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)" |
| 339 | device i2c 50 on end |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 340 | end |
| 341 | end |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 342 | device ref i2c2 on |
| 343 | chip drivers/intel/mipi_camera |
| 344 | register "acpi_hid" = ""OVTI5675"" |
| 345 | register "acpi_uid" = "0" |
| 346 | register "acpi_name" = ""CAM0"" |
| 347 | register "chip_name" = ""Ov 5675 Camera"" |
| 348 | register "device_type" = "INTEL_ACPI_CAMERA_SENSOR" |
| 349 | |
| 350 | register "ssdb.lanes_used" = "2" |
| 351 | register "ssdb.link_used" = "1" |
| 352 | register "num_freq_entries" = "1" |
| 353 | register "link_freq[0]" = "DEFAULT_LINK_FREQ" |
| 354 | register "remote_name" = ""IPU0"" |
Varshit B Pandya | f0e7210 | 2021-11-10 19:16:45 +0530 | [diff] [blame] | 355 | register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D3_COLD" |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 356 | |
| 357 | register "has_power_resource" = "1" |
| 358 | #Controls |
| 359 | register "clk_panel.clks[0].clknum" = "IMGCLKOUT_3" |
| 360 | register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ" |
| 361 | |
Arec Kao | 093ac93 | 2021-09-16 12:03:45 +0800 | [diff] [blame] | 362 | register "gpio_panel.gpio[0].gpio_num" = "GPP_D15" #EN_UCAM_LED_PWR |
Arec Kao | 8e304fe | 2022-05-17 15:42:41 +0800 | [diff] [blame] | 363 | register "gpio_panel.gpio[1].gpio_num" = "GPP_D3" #reset |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 364 | |
Subrata Banik | 3d469fa | 2021-09-10 00:21:23 +0530 | [diff] [blame] | 365 | #_ON |
Arec Kao | 8e304fe | 2022-05-17 15:42:41 +0800 | [diff] [blame] | 366 | register "on_seq.ops_cnt" = "4" |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 367 | register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)" |
| 368 | register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)" |
Arec Kao | 8e304fe | 2022-05-17 15:42:41 +0800 | [diff] [blame] | 369 | register "on_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 5)" |
| 370 | register "on_seq.ops[3]" = "SEQ_OPS_GPIO_ENABLE(1, 5)" |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 371 | |
| 372 | #_OFF |
Arec Kao | 8e304fe | 2022-05-17 15:42:41 +0800 | [diff] [blame] | 373 | register "off_seq.ops_cnt" = "3" |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 374 | register "off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)" |
Arec Kao | 8e304fe | 2022-05-17 15:42:41 +0800 | [diff] [blame] | 375 | register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(1, 0)" |
| 376 | register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(0, 0)" |
Arec Kao | 093ac93 | 2021-09-16 12:03:45 +0800 | [diff] [blame] | 377 | device i2c 36 on |
| 378 | probe CAMERA_UFC CAMERA_NONE |
| 379 | probe CAMERA_UFC CAMERA_OV5675 |
| 380 | end |
| 381 | end |
| 382 | chip drivers/intel/mipi_camera |
| 383 | register "acpi_hid" = ""INT3537"" |
| 384 | register "acpi_uid" = "0" |
| 385 | register "acpi_name" = ""CAM0"" |
| 386 | register "chip_name" = ""Hi-556 Camera"" |
| 387 | register "device_type" = "INTEL_ACPI_CAMERA_SENSOR" |
Varshit B Pandya | f0e7210 | 2021-11-10 19:16:45 +0530 | [diff] [blame] | 388 | register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D3_COLD" |
Arec Kao | 093ac93 | 2021-09-16 12:03:45 +0800 | [diff] [blame] | 389 | |
| 390 | register "ssdb.lanes_used" = "2" |
| 391 | register "ssdb.link_used" = "1" |
| 392 | register "num_freq_entries" = "1" |
| 393 | register "link_freq[0]" = "437000000" |
| 394 | register "remote_name" = ""IPU0"" |
| 395 | |
| 396 | register "has_power_resource" = "1" |
| 397 | #Controls |
| 398 | register "clk_panel.clks[0].clknum" = "IMGCLKOUT_3" |
| 399 | register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ" |
| 400 | |
| 401 | register "gpio_panel.gpio[0].gpio_num" = "GPP_D15" #EN_UCAM_LED_PWR |
Arec Kao | 8e304fe | 2022-05-17 15:42:41 +0800 | [diff] [blame] | 402 | register "gpio_panel.gpio[1].gpio_num" = "GPP_D3" #reset |
Arec Kao | 093ac93 | 2021-09-16 12:03:45 +0800 | [diff] [blame] | 403 | |
| 404 | #_ON |
Arec Kao | 8e304fe | 2022-05-17 15:42:41 +0800 | [diff] [blame] | 405 | register "on_seq.ops_cnt" = "4" |
Arec Kao | 093ac93 | 2021-09-16 12:03:45 +0800 | [diff] [blame] | 406 | register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)" |
| 407 | register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)" |
Arec Kao | 8e304fe | 2022-05-17 15:42:41 +0800 | [diff] [blame] | 408 | register "on_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 5)" |
| 409 | register "on_seq.ops[3]" = "SEQ_OPS_GPIO_ENABLE(1, 5)" |
Arec Kao | 093ac93 | 2021-09-16 12:03:45 +0800 | [diff] [blame] | 410 | |
| 411 | #_OFF |
Arec Kao | 8e304fe | 2022-05-17 15:42:41 +0800 | [diff] [blame] | 412 | register "off_seq.ops_cnt" = "3" |
Arec Kao | 093ac93 | 2021-09-16 12:03:45 +0800 | [diff] [blame] | 413 | register "off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)" |
Arec Kao | 8e304fe | 2022-05-17 15:42:41 +0800 | [diff] [blame] | 414 | register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(1, 0)" |
| 415 | register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(0, 0)" |
Arec Kao | 093ac93 | 2021-09-16 12:03:45 +0800 | [diff] [blame] | 416 | device i2c 20 on |
| 417 | probe CAMERA_UFC CAMERA_HI556 |
| 418 | end |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 419 | end |
| 420 | chip drivers/intel/mipi_camera |
| 421 | register "acpi_hid" = "ACPI_DT_NAMESPACE_HID" |
| 422 | register "acpi_uid" = "1" |
| 423 | register "acpi_name" = ""NVM0"" |
| 424 | register "chip_name" = ""M24C64X"" |
| 425 | register "device_type" = "INTEL_ACPI_CAMERA_NVM" |
Varshit B Pandya | f0e7210 | 2021-11-10 19:16:45 +0530 | [diff] [blame] | 426 | register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D0" |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 427 | |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 428 | register "nvm_size" = "0x2000" |
| 429 | register "nvm_pagesize" = "1" |
| 430 | register "nvm_readonly" = "1" |
| 431 | register "nvm_width" = "0x10" |
| 432 | register "nvm_compat" = ""atmel,24c64"" |
Subrata Banik | 3d469fa | 2021-09-10 00:21:23 +0530 | [diff] [blame] | 433 | device i2c 50 on end |
| 434 | end |
Wisley Chen | 155ae1b | 2021-08-10 15:01:51 +0600 | [diff] [blame] | 435 | |
| 436 | end |
David Wu | 6de4898 | 2021-11-18 21:22:33 +0800 | [diff] [blame] | 437 | device ref i2c3 on |
Wisley Chen | 7676fea | 2021-12-03 16:25:06 +0600 | [diff] [blame] | 438 | chip drivers/i2c/hid |
| 439 | register "generic.hid" = ""ELAN2513"" |
| 440 | register "generic.desc" = ""ELAN Touchscreen"" |
| 441 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)" |
| 442 | register "generic.probed" = "1" |
| 443 | register "generic.reset_gpio" = |
| 444 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)" |
| 445 | register "generic.reset_delay_ms" = "300" |
| 446 | register "generic.reset_off_delay_ms" = "1" |
| 447 | register "generic.enable_gpio" = |
| 448 | "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" |
| 449 | register "generic.enable_delay_ms" = "6" |
| 450 | register "generic.stop_gpio" = |
| 451 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)" |
| 452 | register "generic.stop_off_delay_ms" = "1" |
| 453 | register "generic.has_power_resource" = "1" |
| 454 | register "hid_desc_reg_offset" = "0x01" |
| 455 | device i2c 0x15 on end |
David Wu | 6de4898 | 2021-11-18 21:22:33 +0800 | [diff] [blame] | 456 | end |
| 457 | end |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 458 | device ref i2c5 on |
| 459 | chip drivers/i2c/generic |
| 460 | register "hid" = ""ELAN0000"" |
| 461 | register "desc" = ""ELAN Touchpad"" |
| 462 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 463 | register "wake" = "GPE0_DW2_14" |
Matt DeVillier | 2cf52d8 | 2022-09-01 15:09:24 -0500 | [diff] [blame] | 464 | register "detect" = "1" |
Wisley Chen | a398be9 | 2021-09-11 12:22:28 +0600 | [diff] [blame] | 465 | device i2c 15 on |
| 466 | probe TP_SOURCE ELAN0000 |
| 467 | end |
| 468 | end |
| 469 | chip drivers/i2c/hid |
| 470 | register "generic.hid" = ""ELAN2703"" |
| 471 | register "generic.desc" = ""ELAN Touchpad"" |
| 472 | register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 473 | register "generic.wake" = "GPE0_DW2_14" |
Matt DeVillier | 2cf52d8 | 2022-09-01 15:09:24 -0500 | [diff] [blame] | 474 | register "generic.detect" = "1" |
Wisley Chen | a398be9 | 2021-09-11 12:22:28 +0600 | [diff] [blame] | 475 | register "hid_desc_reg_offset" = "0x01" |
| 476 | device i2c 15 on |
| 477 | probe TP_SOURCE ELAN2703 |
| 478 | end |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 479 | end |
| 480 | end |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 481 | device ref gspi1 on |
| 482 | chip drivers/spi/acpi |
| 483 | register "name" = ""CRFP"" |
| 484 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 485 | register "uid" = "1" |
| 486 | register "compat_string" = ""google,cros-ec-spi"" |
| 487 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F15_IRQ)" |
| 488 | register "wake" = "GPE0_DW2_15" |
Tarun Tuli | 2b523ce | 2022-08-29 13:39:58 -0400 | [diff] [blame] | 489 | register "has_power_resource" = "1" |
| 490 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D1)" |
| 491 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D2)" |
| 492 | register "enable_delay_ms" = "3" |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 493 | device spi 0 on end |
| 494 | end # FPMCU |
| 495 | end |
| 496 | device ref pch_espi on |
| 497 | chip ec/google/chromeec |
| 498 | use conn0 as mux_conn[0] |
| 499 | use conn1 as mux_conn[1] |
| 500 | device pnp 0c09.0 on end |
| 501 | end |
| 502 | end |
| 503 | device ref pmc hidden |
| 504 | chip drivers/intel/pmc_mux |
| 505 | device generic 0 on |
| 506 | chip drivers/intel/pmc_mux/conn |
Reka Norman | d448f8c | 2021-12-09 12:09:27 +1100 | [diff] [blame] | 507 | use usb2_port1 as usb2_port |
| 508 | use tcss_usb3_port1 as usb3_port |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 509 | device generic 0 alias conn0 on end |
| 510 | end |
| 511 | chip drivers/intel/pmc_mux/conn |
Reka Norman | d448f8c | 2021-12-09 12:09:27 +1100 | [diff] [blame] | 512 | use usb2_port3 as usb2_port |
| 513 | use tcss_usb3_port3 as usb3_port |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 514 | device generic 1 alias conn1 on end |
| 515 | end |
| 516 | end |
| 517 | end |
| 518 | end |
| 519 | device ref tcss_xhci on |
| 520 | chip drivers/usb/acpi |
| 521 | device ref tcss_root_hub on |
| 522 | chip drivers/usb/acpi |
| 523 | register "desc" = ""USB3 Type-C Port C0 (MLB)"" |
| 524 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 525 | register "use_custom_pld" = "true" |
Subrata Banik | ef47212 | 2022-02-16 18:44:09 +0530 | [diff] [blame] | 526 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 527 | device ref tcss_usb3_port1 on end |
| 528 | end |
| 529 | chip drivers/usb/acpi |
| 530 | register "desc" = ""USB3 Type-C Port C2 (MLB)"" |
| 531 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 532 | register "use_custom_pld" = "true" |
Subrata Banik | ef47212 | 2022-02-16 18:44:09 +0530 | [diff] [blame] | 533 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))" |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 534 | device ref tcss_usb3_port3 on end |
| 535 | end |
| 536 | end |
| 537 | end |
| 538 | end |
| 539 | device ref xhci on |
| 540 | chip drivers/usb/acpi |
| 541 | device ref xhci_root_hub on |
| 542 | chip drivers/usb/acpi |
| 543 | register "desc" = ""USB2 Type-C Port C0 (MLB)"" |
| 544 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 545 | register "use_custom_pld" = "true" |
Subrata Banik | ef47212 | 2022-02-16 18:44:09 +0530 | [diff] [blame] | 546 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 547 | device ref usb2_port1 on end |
| 548 | end |
| 549 | chip drivers/usb/acpi |
| 550 | register "desc" = ""USB2 Type-C Port C2 (MLB)"" |
| 551 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 552 | register "use_custom_pld" = "true" |
Subrata Banik | ef47212 | 2022-02-16 18:44:09 +0530 | [diff] [blame] | 553 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))" |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 554 | device ref usb2_port3 on end |
| 555 | end |
| 556 | chip drivers/usb/acpi |
| 557 | register "desc" = ""USB2 WWAN"" |
| 558 | register "type" = "UPC_TYPE_INTERNAL" |
| 559 | device ref usb2_port4 on end |
| 560 | end |
| 561 | chip drivers/usb/acpi |
| 562 | register "desc" = ""USB2 Camera"" |
| 563 | register "type" = "UPC_TYPE_INTERNAL" |
| 564 | device ref usb2_port6 on end |
| 565 | end |
| 566 | chip drivers/usb/acpi |
| 567 | register "desc" = ""USB2 Type-A Port (MLB)"" |
| 568 | register "type" = "UPC_TYPE_A" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 569 | register "use_custom_pld" = "true" |
Subrata Banik | ef47212 | 2022-02-16 18:44:09 +0530 | [diff] [blame] | 570 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 571 | device ref usb2_port9 on end |
| 572 | end |
| 573 | chip drivers/usb/acpi |
| 574 | register "desc" = ""USB2 Bluetooth"" |
| 575 | register "type" = "UPC_TYPE_INTERNAL" |
| 576 | register "reset_gpio" = |
| 577 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)" |
| 578 | device ref usb2_port10 on end |
| 579 | end |
| 580 | chip drivers/usb/acpi |
| 581 | register "desc" = ""USB3 Type-A Port (MLB)"" |
| 582 | register "type" = "UPC_TYPE_USB3_A" |
Won Chung | 9c5a107 | 2022-02-02 22:30:53 +0000 | [diff] [blame] | 583 | register "use_custom_pld" = "true" |
Subrata Banik | ef47212 | 2022-02-16 18:44:09 +0530 | [diff] [blame] | 584 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
Wisley Chen | 5d74ccf | 2021-07-28 17:53:19 +0600 | [diff] [blame] | 585 | device ref usb3_port1 on end |
| 586 | end |
| 587 | chip drivers/usb/acpi |
| 588 | register "desc" = ""USB3 WWAN"" |
| 589 | register "type" = "UPC_TYPE_INTERNAL" |
| 590 | device ref usb3_port4 on end |
| 591 | end |
| 592 | end |
| 593 | end |
| 594 | end |
| 595 | end |
Wisley Chen | 61cef57 | 2021-06-25 14:36:01 +0600 | [diff] [blame] | 596 | end |