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