Tim Wawrzynczak | 1a9c627 | 2021-04-23 15:11:48 -0600 | [diff] [blame] | 1 | fw_config |
| 2 | field DB_USB 0 3 |
| 3 | option USB_ABSENT 0 |
| 4 | option USB3_PS8815 1 |
| 5 | end |
| 6 | field DB_SD 4 5 |
| 7 | option SD_ABSENT 0 |
| 8 | option SD_GL9755S 1 |
| 9 | end |
Tim Wawrzynczak | 1a9c627 | 2021-04-23 15:11:48 -0600 | [diff] [blame] | 10 | field KB_BL 7 7 |
| 11 | option KB_BL_ABSENT 0 |
| 12 | option KB_BL_PRESENT 1 |
| 13 | end |
| 14 | field AUDIO 8 10 |
| 15 | option AUDIO_UNKNOWN 0 |
| 16 | option MAX98357_ALC5682I_I2S 1 |
| 17 | option MAX98373_ALC5682_SNDW 2 |
| 18 | option MAX98373_NAU88L25B_I2S 3 |
| 19 | option ALC1019_NAU88L25B_I2S 4 |
| 20 | end |
| 21 | field DB_LTE 11 12 |
| 22 | option LTE_ABSENT 0 |
| 23 | option LTE_USB 1 |
| 24 | option LTE_PCIE 2 |
| 25 | end |
Varshit B Pandya | 70d0795 | 2021-06-23 12:13:16 +0530 | [diff] [blame] | 26 | field UFC 13 14 |
| 27 | option UFC_USB 0 |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 28 | option UFC_MIPI_IMX208 1 |
Varshit B Pandya | 70d0795 | 2021-06-23 12:13:16 +0530 | [diff] [blame] | 29 | end |
Dan Callaghan | 4e6c915 | 2021-10-28 21:22:22 +1100 | [diff] [blame] | 30 | # Bits 15 and 16 were intended for WFC but never declared here |
| 31 | field HPS 17 17 |
| 32 | option HPS_ABSENT 0 |
| 33 | option HPS_PRESENT 1 |
| 34 | end |
Tim Wawrzynczak | 1a9c627 | 2021-04-23 15:11:48 -0600 | [diff] [blame] | 35 | end |
| 36 | |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 37 | chip soc/intel/alderlake |
V Sowmya | a56fffd | 2021-05-19 09:39:16 +0530 | [diff] [blame] | 38 | register "SaGv" = "SaGv_Enabled" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 39 | |
Ryan Lin | a45377e | 2021-10-05 11:38:22 +0800 | [diff] [blame] | 40 | register "PsysPmax" = "145" |
| 41 | |
Tim Wawrzynczak | 2091965 | 2021-02-16 15:17:48 -0700 | [diff] [blame] | 42 | register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Type-A MLB Port |
| 43 | |
| 44 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3/2 Type A MLB port |
| 45 | |
Eric Lai | 6296ae0 | 2021-11-15 12:24:12 +0800 | [diff] [blame] | 46 | register "typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}" |
| 47 | |
Ronak Kanabar | 4503a0c | 2022-01-04 15:46:15 +0530 | [diff] [blame] | 48 | # Enable CNVi DDR RFIM |
| 49 | register "CnviDdrRfim" = "1" |
| 50 | |
V Sowmya | d5ab163 | 2021-06-21 09:50:47 +0530 | [diff] [blame] | 51 | # FIVR configurations for brya are disabled since the board doesn't have V1p05 and Vnn |
| 52 | # bypass rails implemented. |
| 53 | register "ext_fivr_settings" = "{ |
| 54 | .configure_ext_fivr = 1, |
| 55 | }" |
| 56 | |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 57 | device domain 0 on |
Sumeet R Pawnikar | 0d37fcb | 2021-05-03 22:46:34 +0530 | [diff] [blame] | 58 | device ref dtt on |
| 59 | chip drivers/intel/dptf |
| 60 | ## sensor information |
Sumeet Pawnikar | f032221 | 2021-05-20 18:16:34 +0530 | [diff] [blame] | 61 | register "options.tsr[0].desc" = ""DRAM_SOC"" |
| 62 | register "options.tsr[1].desc" = ""Ambient"" |
| 63 | register "options.tsr[2].desc" = ""Charger"" |
| 64 | register "options.tsr[3].desc" = ""WWAN"" |
Sumeet R Pawnikar | 0d37fcb | 2021-05-03 22:46:34 +0530 | [diff] [blame] | 65 | |
| 66 | # TODO: below values are initial reference values only |
| 67 | ## Active Policy |
| 68 | register "policies.active" = "{ |
| 69 | [0] = { |
| 70 | .target = DPTF_CPU, |
| 71 | .thresholds = { |
| 72 | TEMP_PCT(85, 90), |
| 73 | TEMP_PCT(80, 80), |
| 74 | TEMP_PCT(75, 70), |
Sumeet Pawnikar | f032221 | 2021-05-20 18:16:34 +0530 | [diff] [blame] | 75 | TEMP_PCT(70, 50), |
| 76 | TEMP_PCT(65, 30), |
| 77 | } |
| 78 | }, |
| 79 | [1] = { |
| 80 | .target = DPTF_TEMP_SENSOR_1, |
| 81 | .thresholds = { |
| 82 | TEMP_PCT(50, 90), |
| 83 | TEMP_PCT(48, 70), |
| 84 | TEMP_PCT(46, 60), |
| 85 | TEMP_PCT(43, 40), |
| 86 | TEMP_PCT(40, 30), |
Sumeet R Pawnikar | 0d37fcb | 2021-05-03 22:46:34 +0530 | [diff] [blame] | 87 | } |
| 88 | } |
| 89 | }" |
| 90 | |
| 91 | ## Passive Policy |
| 92 | register "policies.passive" = "{ |
| 93 | [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000), |
| 94 | [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000), |
Sumeet Pawnikar | f032221 | 2021-05-20 18:16:34 +0530 | [diff] [blame] | 95 | [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 75, 5000), |
| 96 | [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 5000), |
| 97 | [4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 75, 5000), |
Sumeet R Pawnikar | 0d37fcb | 2021-05-03 22:46:34 +0530 | [diff] [blame] | 98 | }" |
| 99 | |
| 100 | ## Critical Policy |
| 101 | register "policies.critical" = "{ |
| 102 | [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN), |
| 103 | [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN), |
| 104 | [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN), |
Sumeet Pawnikar | f032221 | 2021-05-20 18:16:34 +0530 | [diff] [blame] | 105 | [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN), |
| 106 | [4] = DPTF_CRITICAL(TEMP_SENSOR_3, 85, SHUTDOWN), |
Sumeet R Pawnikar | 0d37fcb | 2021-05-03 22:46:34 +0530 | [diff] [blame] | 107 | }" |
| 108 | |
| 109 | register "controls.power_limits" = "{ |
| 110 | .pl1 = { |
| 111 | .min_power = 3000, |
| 112 | .max_power = 15000, |
| 113 | .time_window_min = 28 * MSECS_PER_SEC, |
| 114 | .time_window_max = 32 * MSECS_PER_SEC, |
| 115 | .granularity = 200, |
| 116 | }, |
| 117 | .pl2 = { |
| 118 | .min_power = 55000, |
| 119 | .max_power = 55000, |
| 120 | .time_window_min = 28 * MSECS_PER_SEC, |
| 121 | .time_window_max = 32 * MSECS_PER_SEC, |
| 122 | .granularity = 1000, |
| 123 | } |
| 124 | }" |
| 125 | |
| 126 | ## Charger Performance Control (Control, mA) |
| 127 | register "controls.charger_perf" = "{ |
| 128 | [0] = { 255, 1700 }, |
| 129 | [1] = { 24, 1500 }, |
| 130 | [2] = { 16, 1000 }, |
| 131 | [3] = { 8, 500 } |
| 132 | }" |
| 133 | |
| 134 | ## Fan Performance Control (Percent, Speed, Noise, Power) |
| 135 | register "controls.fan_perf" = "{ |
| 136 | [0] = { 90, 6700, 220, 2200, }, |
| 137 | [1] = { 80, 5800, 180, 1800, }, |
| 138 | [2] = { 70, 5000, 145, 1450, }, |
| 139 | [3] = { 60, 4900, 115, 1150, }, |
| 140 | [4] = { 50, 3838, 90, 900, }, |
| 141 | [5] = { 40, 2904, 55, 550, }, |
| 142 | [6] = { 30, 2337, 30, 300, }, |
| 143 | [7] = { 20, 1608, 15, 150, }, |
| 144 | [8] = { 10, 800, 10, 100, }, |
| 145 | [9] = { 0, 0, 0, 50, } |
| 146 | }" |
| 147 | |
| 148 | ## Fan options |
| 149 | register "options.fan.fine_grained_control" = "1" |
| 150 | register "options.fan.step_size" = "2" |
| 151 | |
Furquan Shaikh | 4aba739 | 2021-09-20 10:51:45 -0700 | [diff] [blame] | 152 | device generic 0 alias dptf_policy on end |
Sumeet R Pawnikar | 0d37fcb | 2021-05-03 22:46:34 +0530 | [diff] [blame] | 153 | end |
| 154 | end |
Scott Chao | 890702f | 2021-06-02 14:32:27 +0800 | [diff] [blame] | 155 | device ref ipu on |
| 156 | chip drivers/intel/mipi_camera |
| 157 | register "acpi_uid" = "0x50000" |
| 158 | register "acpi_name" = ""IPU0"" |
| 159 | register "device_type" = "INTEL_ACPI_CAMERA_CIO2" |
| 160 | |
| 161 | register "cio2_num_ports" = "1" |
| 162 | register "cio2_lanes_used" = "{4}" # 4 CSI Camera lanes are used |
| 163 | register "cio2_lane_endpoint[0]" = ""^I2C0.CAM0"" |
| 164 | register "cio2_prt[0]" = "2" |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 165 | device generic 0 on |
| 166 | # MIPI lanes are split between UFC and WFC depending on |
| 167 | # whether the UFC is USB or MIPI hence probing UFC_USB |
| 168 | probe UFC UFC_USB |
| 169 | end |
| 170 | end |
| 171 | chip drivers/intel/mipi_camera |
| 172 | register "acpi_uid" = "0x50000" |
| 173 | register "acpi_name" = ""IPU0"" |
| 174 | register "device_type" = "INTEL_ACPI_CAMERA_CIO2" |
| 175 | |
| 176 | register "cio2_num_ports" = "2" |
| 177 | register "cio2_lanes_used" = "{4,2}" # 4 and 2 CSI Camera lanes are used |
| 178 | register "cio2_lane_endpoint[0]" = ""^I2C0.CAM0"" |
| 179 | register "cio2_lane_endpoint[1]" = ""^I2C2.CAM1"" |
| 180 | register "cio2_prt[0]" = "2" |
| 181 | register "cio2_prt[1]" = "1" |
Varshit B Pandya | f48eecb | 2021-07-08 21:13:31 +0530 | [diff] [blame] | 182 | device generic 1 on |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 183 | probe UFC UFC_MIPI_IMX208 |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 184 | end |
Scott Chao | 890702f | 2021-06-02 14:32:27 +0800 | [diff] [blame] | 185 | end |
| 186 | end |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 187 | device ref cnvi_wifi on |
| 188 | chip drivers/wifi/generic |
| 189 | register "wake" = "GPE0_PME_B0" |
| 190 | device generic 0 on end |
| 191 | end |
| 192 | end |
Tim Wawrzynczak | 71f69dd | 2021-05-21 19:34:38 +0000 | [diff] [blame] | 193 | device ref pcie_rp6 on |
| 194 | probe DB_LTE LTE_PCIE |
Cliff Huang | 1ee6e4a | 2022-01-21 23:34:02 -0800 | [diff] [blame] | 195 | chip drivers/wwan/fm |
| 196 | register "fcpo_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F21)" |
| 197 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E16)" |
| 198 | register "perst_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)" |
| 199 | register "wake_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A7)" |
| 200 | use rp6_rtd3 as rtd3dev |
| 201 | device generic 0 on |
| 202 | probe DB_LTE LTE_PCIE |
| 203 | end |
| 204 | end |
| 205 | |
Tim Wawrzynczak | 71f69dd | 2021-05-21 19:34:38 +0000 | [diff] [blame] | 206 | end |
Maulik V Vaghela | 9e23d01 | 2021-06-09 14:03:08 +0530 | [diff] [blame] | 207 | device ref tcss_dma0 on |
| 208 | chip drivers/intel/usb4/retimer |
Maulik V Vaghela | 91c38c8 | 2021-06-29 18:07:55 +0530 | [diff] [blame] | 209 | register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)" |
| 210 | use tcss_usb3_port1 as dfp[0].typec_port |
Maulik V Vaghela | 9e23d01 | 2021-06-09 14:03:08 +0530 | [diff] [blame] | 211 | device generic 0 on end |
| 212 | end |
| 213 | end |
| 214 | device ref tcss_dma1 on |
| 215 | chip drivers/intel/usb4/retimer |
Maulik V Vaghela | 91c38c8 | 2021-06-29 18:07:55 +0530 | [diff] [blame] | 216 | register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)" |
| 217 | use tcss_usb3_port3 as dfp[0].typec_port |
Maulik V Vaghela | 9e23d01 | 2021-06-09 14:03:08 +0530 | [diff] [blame] | 218 | device generic 0 on end |
| 219 | end |
| 220 | end |
Eric Lai | b1e8a8a | 2021-04-23 14:34:57 +0800 | [diff] [blame] | 221 | device ref pcie_rp8 on |
| 222 | chip soc/intel/common/block/pcie/rtd3 |
| 223 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)" |
| 224 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D18)" |
| 225 | register "srcclk_pin" = "3" |
| 226 | device generic 0 on end |
| 227 | end |
| 228 | end #PCIE8 SD card |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 229 | device ref i2c0 on |
| 230 | chip drivers/i2c/generic |
| 231 | register "hid" = ""10EC5682"" |
| 232 | register "name" = ""RT58"" |
| 233 | register "desc" = ""Headset Codec"" |
| 234 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" |
| 235 | # Set the jd_src to RT5668_JD1 for jack detection |
| 236 | register "property_count" = "1" |
| 237 | register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" |
| 238 | register "property_list[0].name" = ""realtek,jd-src"" |
| 239 | register "property_list[0].integer" = "1" |
Sugnan Prabhu S | 3bfa1bd | 2021-05-12 11:44:47 +0530 | [diff] [blame] | 240 | device i2c 1a on |
| 241 | probe AUDIO MAX98357_ALC5682I_I2S |
| 242 | end |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 243 | end |
Eric Lai | 312fb71 | 2021-08-18 15:47:20 +0800 | [diff] [blame] | 244 | chip drivers/i2c/nau8825 |
| 245 | register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_A23)" |
| 246 | register "jkdet_enable" = "1" |
| 247 | register "jkdet_pull_enable" = "0" |
Paul Menzel | a3ce81d | 2021-08-21 09:20:47 +0200 | [diff] [blame] | 248 | register "jkdet_polarity" = "1" # ActiveLow |
| 249 | register "vref_impedance" = "2" # 125kOhm |
| 250 | register "micbias_voltage" = "6" # 2.754 |
Eric Lai | 312fb71 | 2021-08-18 15:47:20 +0800 | [diff] [blame] | 251 | register "sar_threshold_num" = "4" |
| 252 | register "sar_threshold[0]" = "0x0c" |
| 253 | register "sar_threshold[1]" = "0x1c" |
| 254 | register "sar_threshold[2]" = "0x38" |
| 255 | register "sar_threshold[3]" = "0x60" |
| 256 | register "sar_hysteresis" = "1" |
Paul Menzel | a3ce81d | 2021-08-21 09:20:47 +0200 | [diff] [blame] | 257 | register "sar_voltage" = "0" # VDDA |
| 258 | register "sar_compare_time" = "0" # 500ns |
| 259 | register "sar_sampling_time" = "0" # 2us |
| 260 | register "short_key_debounce" = "2" # 100ms |
| 261 | register "jack_insert_debounce" = "7" # 512ms |
| 262 | register "jack_eject_debounce" = "7" # 512ms |
Eric Lai | 312fb71 | 2021-08-18 15:47:20 +0800 | [diff] [blame] | 263 | device i2c 1a on |
| 264 | probe AUDIO ALC1019_NAU88L25B_I2S |
| 265 | end |
| 266 | end |
| 267 | chip drivers/generic/alc1015 |
| 268 | register "hid" = ""RTL1019"" |
| 269 | register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)" |
| 270 | device generic 1 on |
| 271 | probe AUDIO ALC1019_NAU88L25B_I2S |
| 272 | end |
| 273 | end |
Scott Chao | 890702f | 2021-06-02 14:32:27 +0800 | [diff] [blame] | 274 | chip drivers/intel/mipi_camera |
| 275 | register "acpi_hid" = ""OVTI8856"" |
| 276 | register "acpi_uid" = "0" |
| 277 | register "acpi_name" = ""CAM0"" |
| 278 | register "chip_name" = ""Ov 8856 Camera"" |
| 279 | register "device_type" = "INTEL_ACPI_CAMERA_SENSOR" |
| 280 | |
| 281 | register "ssdb.lanes_used" = "4" |
| 282 | register "ssdb.link_used" = "0" |
| 283 | register "ssdb.vcm_type" = "0x0C" |
| 284 | register "vcm_name" = ""VCM0"" |
| 285 | register "num_freq_entries" = "2" |
| 286 | register "link_freq[0]" = "360 * MHz" # 360 MHz |
| 287 | register "link_freq[1]" = "180 * MHz" # 180 MHz |
| 288 | register "remote_name" = ""IPU0"" |
| 289 | |
| 290 | register "has_power_resource" = "1" |
| 291 | #Controls |
| 292 | register "clk_panel.clks[0].clknum" = "IMGCLKOUT_3" |
| 293 | register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ" |
| 294 | |
| 295 | register "gpio_panel.gpio[0].gpio_num" = "GPP_D15" #power_enable_2p8 |
| 296 | register "gpio_panel.gpio[1].gpio_num" = "GPP_D16" #power_enable_1p2 |
| 297 | register "gpio_panel.gpio[2].gpio_num" = "GPP_D3" #reset |
| 298 | |
| 299 | #_ON |
| 300 | register "on_seq.ops_cnt" = "5" |
| 301 | register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)" |
| 302 | register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)" |
| 303 | register "on_seq.ops[2]" = "SEQ_OPS_GPIO_ENABLE(1, 5)" |
| 304 | register "on_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(2, 5)" |
| 305 | register "on_seq.ops[4]" = "SEQ_OPS_GPIO_ENABLE(2, 5)" |
| 306 | |
| 307 | #_OFF |
| 308 | register "off_seq.ops_cnt" = "4" |
| 309 | register "off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)" |
| 310 | register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)" |
| 311 | register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)" |
| 312 | register "off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)" |
| 313 | |
| 314 | device i2c 10 on end |
| 315 | end |
| 316 | chip drivers/intel/mipi_camera |
| 317 | register "acpi_uid" = "2" |
| 318 | register "acpi_name" = ""VCM0"" |
| 319 | register "chip_name" = ""DW9768 VCM"" |
| 320 | register "device_type" = "INTEL_ACPI_CAMERA_VCM" |
| 321 | |
| 322 | register "pr0" = ""\\_SB.PCI0.I2C0.CAM0.PRIC"" |
| 323 | register "vcm_compat" = ""dongwoon,dw9768"" |
| 324 | |
| 325 | device i2c 0C on end |
| 326 | end |
| 327 | chip drivers/intel/mipi_camera |
| 328 | register "acpi_uid" = "1" |
| 329 | register "acpi_name" = ""NVM0"" |
| 330 | register "chip_name" = ""AT24 EEPROM"" |
| 331 | register "device_type" = "INTEL_ACPI_CAMERA_NVM" |
| 332 | |
| 333 | register "pr0" = ""\\_SB.PCI0.I2C0.CAM0.PRIC"" |
| 334 | register "nvm_compat" = ""atmel,24c1024"" |
| 335 | |
| 336 | register "nvm_size" = "0x2800" |
| 337 | register "nvm_pagesize" = "0x01" |
| 338 | register "nvm_readonly" = "0x01" |
Varshit B Pandya | 73161c6 | 2021-10-30 15:37:28 +0530 | [diff] [blame] | 339 | register "nvm_width" = "0x10" |
Scott Chao | 890702f | 2021-06-02 14:32:27 +0800 | [diff] [blame] | 340 | |
| 341 | device i2c 58 on end |
| 342 | end |
| 343 | end #I2C0 |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 344 | device ref i2c1 on |
| 345 | chip drivers/i2c/hid |
Eric Lai | bd9d6ab | 2021-04-26 13:58:17 +0800 | [diff] [blame] | 346 | register "generic.hid" = ""ELAN9050"" |
| 347 | register "generic.desc" = ""ELAN Touchscreen"" |
| 348 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)" |
| 349 | register "generic.probed" = "1" |
| 350 | register "generic.reset_gpio" = |
| 351 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)" |
| 352 | register "generic.reset_delay_ms" = "300" |
| 353 | register "generic.reset_off_delay_ms" = "1" |
| 354 | register "generic.enable_gpio" = |
| 355 | "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" |
| 356 | register "generic.enable_delay_ms" = "6" |
| 357 | register "generic.stop_gpio" = |
| 358 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)" |
| 359 | register "generic.stop_off_delay_ms" = "1" |
| 360 | register "generic.has_power_resource" = "1" |
| 361 | register "hid_desc_reg_offset" = "0x01" |
| 362 | device i2c 0x10 on end |
| 363 | end |
| 364 | chip drivers/i2c/hid |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 365 | register "generic.hid" = ""GDIX0000"" |
| 366 | register "generic.desc" = ""Goodix Touchscreen"" |
| 367 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)" |
| 368 | register "generic.probed" = "1" |
| 369 | register "generic.reset_gpio" = |
| 370 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)" |
| 371 | register "generic.reset_delay_ms" = "120" |
| 372 | register "generic.reset_off_delay_ms" = "3" |
| 373 | register "generic.enable_gpio" = |
| 374 | "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" |
| 375 | register "generic.enable_delay_ms" = "12" |
| 376 | register "generic.stop_gpio" = |
| 377 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)" |
| 378 | register "generic.stop_off_delay_ms" = "1" |
| 379 | register "generic.has_power_resource" = "1" |
| 380 | register "hid_desc_reg_offset" = "0x01" |
| 381 | device i2c 0x5d on end |
| 382 | end |
| 383 | chip drivers/i2c/hid |
| 384 | register "generic.hid" = ""SIS9815"" |
| 385 | register "generic.desc" = ""SIS Touchscreen"" |
| 386 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)" |
| 387 | register "generic.probed" = "1" |
| 388 | register "generic.reset_gpio" = |
| 389 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)" |
| 390 | register "generic.stop_gpio" = |
| 391 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)" |
| 392 | register "generic.stop_delay_ms" = "100" |
| 393 | register "generic.enable_gpio" = |
| 394 | "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" |
| 395 | register "generic.enable_delay_ms" = "7" |
| 396 | register "generic.has_power_resource" = "1" |
| 397 | register "hid_desc_reg_offset" = "0x00" |
| 398 | device i2c 5c on end |
| 399 | end |
| 400 | end |
| 401 | device ref i2c2 on |
| 402 | chip drivers/i2c/sx9324 |
| 403 | register "desc" = ""SAR1 Proximity Sensor"" |
Eric Lai | cf6e457 | 2021-06-30 14:09:22 +0800 | [diff] [blame] | 404 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 405 | register "speed" = "I2C_SPEED_FAST" |
Tim Wawrzynczak | 37c3327 | 2021-03-01 08:24:52 -0700 | [diff] [blame] | 406 | register "uid" = "1" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 407 | register "reg_gnrl_ctrl0" = "0x16" |
| 408 | register "reg_gnrl_ctrl1" = "0x21" |
| 409 | register "reg_afe_ctrl0" = "0x00" |
| 410 | register "reg_afe_ctrl1" = "0x10" |
| 411 | register "reg_afe_ctrl2" = "0x00" |
| 412 | register "reg_afe_ctrl3" = "0x00" |
| 413 | register "reg_afe_ctrl4" = "0x07" |
| 414 | register "reg_afe_ctrl5" = "0x00" |
| 415 | register "reg_afe_ctrl6" = "0x00" |
| 416 | register "reg_afe_ctrl7" = "0x07" |
| 417 | register "reg_afe_ctrl8" = "0x12" |
| 418 | register "reg_afe_ctrl9" = "0x0f" |
| 419 | register "reg_prox_ctrl0" = "0x12" |
| 420 | register "reg_prox_ctrl1" = "0x12" |
| 421 | register "reg_prox_ctrl2" = "0x90" |
| 422 | register "reg_prox_ctrl3" = "0x60" |
| 423 | register "reg_prox_ctrl4" = "0x0c" |
| 424 | register "reg_prox_ctrl5" = "0x12" |
| 425 | register "reg_prox_ctrl6" = "0x3c" |
| 426 | register "reg_prox_ctrl7" = "0x58" |
| 427 | register "reg_adv_ctrl0" = "0x00" |
| 428 | register "reg_adv_ctrl1" = "0x00" |
| 429 | register "reg_adv_ctrl2" = "0x00" |
| 430 | register "reg_adv_ctrl3" = "0x00" |
| 431 | register "reg_adv_ctrl4" = "0x00" |
| 432 | register "reg_adv_ctrl5" = "0x05" |
| 433 | register "reg_adv_ctrl6" = "0x00" |
| 434 | register "reg_adv_ctrl7" = "0x00" |
| 435 | register "reg_adv_ctrl8" = "0x00" |
| 436 | register "reg_adv_ctrl9" = "0x00" |
| 437 | register "reg_adv_ctrl10" = "0x5c" |
| 438 | register "reg_adv_ctrl11" = "0x52" |
| 439 | register "reg_adv_ctrl12" = "0xb5" |
| 440 | register "reg_adv_ctrl13" = "0x00" |
| 441 | register "reg_adv_ctrl14" = "0x80" |
| 442 | register "reg_adv_ctrl15" = "0x0c" |
| 443 | register "reg_adv_ctrl16" = "0x38" |
| 444 | register "reg_adv_ctrl17" = "0x56" |
| 445 | register "reg_adv_ctrl18" = "0x33" |
| 446 | register "reg_adv_ctrl19" = "0xf0" |
| 447 | register "reg_adv_ctrl20" = "0xf0" |
| 448 | device i2c 28 on end |
| 449 | end |
| 450 | chip drivers/i2c/sx9324 |
| 451 | register "desc" = ""SAR2 Proximity Sensor"" |
Eric Lai | cf6e457 | 2021-06-30 14:09:22 +0800 | [diff] [blame] | 452 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_H19_IRQ)" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 453 | register "speed" = "I2C_SPEED_FAST" |
| 454 | register "uid" = "2" |
| 455 | register "reg_gnrl_ctrl0" = "0x16" |
| 456 | register "reg_gnrl_ctrl1" = "0x21" |
| 457 | register "reg_afe_ctrl0" = "0x00" |
| 458 | register "reg_afe_ctrl1" = "0x10" |
| 459 | register "reg_afe_ctrl2" = "0x00" |
| 460 | register "reg_afe_ctrl3" = "0x00" |
| 461 | register "reg_afe_ctrl4" = "0x07" |
| 462 | register "reg_afe_ctrl5" = "0x00" |
| 463 | register "reg_afe_ctrl6" = "0x00" |
| 464 | register "reg_afe_ctrl7" = "0x07" |
| 465 | register "reg_afe_ctrl8" = "0x12" |
| 466 | register "reg_afe_ctrl9" = "0x0f" |
| 467 | register "reg_prox_ctrl0" = "0x12" |
| 468 | register "reg_prox_ctrl1" = "0x12" |
| 469 | register "reg_prox_ctrl2" = "0x90" |
| 470 | register "reg_prox_ctrl3" = "0x60" |
| 471 | register "reg_prox_ctrl4" = "0x0c" |
| 472 | register "reg_prox_ctrl5" = "0x12" |
| 473 | register "reg_prox_ctrl6" = "0x3c" |
| 474 | register "reg_prox_ctrl7" = "0x58" |
| 475 | register "reg_adv_ctrl0" = "0x00" |
| 476 | register "reg_adv_ctrl1" = "0x00" |
| 477 | register "reg_adv_ctrl2" = "0x00" |
| 478 | register "reg_adv_ctrl3" = "0x00" |
| 479 | register "reg_adv_ctrl4" = "0x00" |
| 480 | register "reg_adv_ctrl5" = "0x05" |
| 481 | register "reg_adv_ctrl6" = "0x00" |
| 482 | register "reg_adv_ctrl7" = "0x00" |
| 483 | register "reg_adv_ctrl8" = "0x00" |
| 484 | register "reg_adv_ctrl9" = "0x00" |
| 485 | register "reg_adv_ctrl10" = "0x5c" |
| 486 | register "reg_adv_ctrl11" = "0x52" |
| 487 | register "reg_adv_ctrl12" = "0xb5" |
| 488 | register "reg_adv_ctrl13" = "0x00" |
| 489 | register "reg_adv_ctrl14" = "0x80" |
| 490 | register "reg_adv_ctrl15" = "0x0c" |
| 491 | register "reg_adv_ctrl16" = "0x38" |
| 492 | register "reg_adv_ctrl17" = "0x56" |
| 493 | register "reg_adv_ctrl18" = "0x33" |
| 494 | register "reg_adv_ctrl19" = "0xf0" |
| 495 | register "reg_adv_ctrl20" = "0xf0" |
| 496 | device i2c 2C on end |
| 497 | end |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 498 | chip drivers/intel/mipi_camera |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 499 | register "acpi_hid" = ""INT3478"" |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 500 | register "acpi_uid" = "0" |
| 501 | register "acpi_name" = ""CAM1"" |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 502 | register "chip_name" = ""imx 208 Camera"" |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 503 | register "device_type" = "INTEL_ACPI_CAMERA_SENSOR" |
| 504 | |
| 505 | register "ssdb.lanes_used" = "2" |
| 506 | register "ssdb.link_used" = "1" |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 507 | register "num_freq_entries" = "2" |
| 508 | register "link_freq[0]" = "384 * MHz" # 384 MHz |
| 509 | register "link_freq[1]" = "96 * MHz" # 96 MHz |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 510 | register "remote_name" = ""IPU0"" |
| 511 | |
| 512 | register "has_power_resource" = "1" |
| 513 | #Controls |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 514 | register "gpio_panel.gpio[0].gpio_num" = "GPP_C3" #PP3300_FCAM_X |
| 515 | register "gpio_panel.gpio[1].gpio_num" = "GPP_A17" #EN_UCAM_PWR |
| 516 | register "gpio_panel.gpio[2].gpio_num" = "GPP_F20" #reset |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 517 | register "gpio_panel.gpio[3].gpio_num" = "GPP_H21" #CLK_EN |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 518 | |
| 519 | #_ON |
| 520 | register "on_seq.ops_cnt" = "5" |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 521 | register "on_seq.ops[0]" = "SEQ_OPS_GPIO_ENABLE(3, 0)" |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 522 | register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)" |
| 523 | register "on_seq.ops[2]" = "SEQ_OPS_GPIO_ENABLE(1, 5)" |
| 524 | register "on_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(2, 5)" |
| 525 | register "on_seq.ops[4]" = "SEQ_OPS_GPIO_ENABLE(2, 5)" |
| 526 | |
| 527 | #_OFF |
| 528 | register "off_seq.ops_cnt" = "4" |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 529 | register "off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(3, 0)" |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 530 | register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)" |
| 531 | register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)" |
| 532 | register "off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)" |
| 533 | |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 534 | device i2c 10 on |
| 535 | probe UFC UFC_MIPI_IMX208 |
| 536 | end |
| 537 | end |
| 538 | chip drivers/intel/mipi_camera |
Bernardo Perez Priego | 0f42e5e | 2021-10-15 14:22:54 -0700 | [diff] [blame] | 539 | register "acpi_hid" = ""ACPI_DT_NAMESPACE_HID"" |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 540 | register "acpi_uid" = "1" |
| 541 | register "acpi_name" = ""NVM1"" |
| 542 | register "chip_name" = ""GT24C16S"" |
| 543 | register "device_type" = "INTEL_ACPI_CAMERA_NVM" |
| 544 | |
| 545 | register "pr0" = ""\\_SB.PCI0.I2C2.CAM1.PRIC"" |
Bernardo Perez Priego | 0f42e5e | 2021-10-15 14:22:54 -0700 | [diff] [blame] | 546 | register "nvm_compat" = ""atmel,24c1024"" |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 547 | |
Bernardo Perez Priego | 0f42e5e | 2021-10-15 14:22:54 -0700 | [diff] [blame] | 548 | register "nvm_size" = "0x800" |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 549 | register "nvm_pagesize" = "0x01" |
| 550 | register "nvm_readonly" = "0x01" |
Bernardo Perez Priego | 0f42e5e | 2021-10-15 14:22:54 -0700 | [diff] [blame] | 551 | register "nvm_width" = "0x08" |
Varshit B Pandya | 5d71994 | 2021-07-27 09:39:31 +0530 | [diff] [blame] | 552 | |
| 553 | device i2c 50 on |
| 554 | probe UFC UFC_MIPI_IMX208 |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 555 | end |
| 556 | end |
Dan Callaghan | 4e6c915 | 2021-10-28 21:22:22 +1100 | [diff] [blame] | 557 | chip drivers/i2c/generic |
| 558 | register "hid" = ""GOOG0020"" |
| 559 | register "desc" = ""Chrome OS HPS"" |
| 560 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E7)" # EN_HPS_PWR |
| 561 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E3_IRQ)" # HPS_INT_ODL |
| 562 | # HPS uses I2C addresses 0x30 and 0x51. |
| 563 | # The address we provide here is not significant because |
| 564 | # neither coreboot nor Linux have a driver for HPS, |
| 565 | # it's only used from userspace. |
| 566 | device i2c 30 on |
| 567 | probe HPS HPS_PRESENT |
| 568 | end |
| 569 | end |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 570 | end |
David Wu | 6de4898 | 2021-11-18 21:22:33 +0800 | [diff] [blame] | 571 | device ref i2c3 on |
| 572 | chip drivers/i2c/tpm |
| 573 | register "hid" = ""GOOG0005"" |
| 574 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)" |
| 575 | device i2c 50 on end |
| 576 | end |
| 577 | end |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 578 | device ref i2c5 on |
| 579 | chip drivers/i2c/generic |
| 580 | register "hid" = ""ELAN0000"" |
| 581 | register "desc" = ""ELAN Touchpad"" |
| 582 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 583 | register "wake" = "GPE0_DW2_14" |
| 584 | register "probed" = "1" |
| 585 | device i2c 15 on end |
| 586 | end |
| 587 | end |
| 588 | device ref hda on |
| 589 | chip drivers/generic/max98357a |
| 590 | register "hid" = ""MX98357A"" |
| 591 | register "sdmode_gpio" = |
| 592 | "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)" |
| 593 | register "sdmode_delay" = "5" |
Sugnan Prabhu S | 3bfa1bd | 2021-05-12 11:44:47 +0530 | [diff] [blame] | 594 | device generic 0 on |
| 595 | probe AUDIO MAX98357_ALC5682I_I2S |
| 596 | end |
| 597 | end |
| 598 | |
| 599 | chip drivers/intel/soundwire |
| 600 | device generic 0 on |
| 601 | probe AUDIO MAX98373_ALC5682_SNDW |
| 602 | chip drivers/soundwire/alc5682 |
| 603 | # SoundWire Link 0 ID 1 |
| 604 | register "desc" = ""Headset Codec"" |
| 605 | device generic 0.1 on end |
| 606 | end |
| 607 | chip drivers/soundwire/max98373 |
| 608 | # SoundWire Link 2 ID 3 |
| 609 | register "desc" = ""Left Speaker Amp"" |
| 610 | device generic 2.3 on end |
| 611 | end |
| 612 | chip drivers/soundwire/max98373 |
| 613 | # SoundWire Link 2 ID 7 |
| 614 | register "desc" = ""Right Speaker Amp"" |
| 615 | device generic 2.7 on end |
| 616 | end |
| 617 | end |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 618 | end |
| 619 | end |
| 620 | device ref gspi1 on |
| 621 | chip drivers/spi/acpi |
| 622 | register "name" = ""CRFP"" |
| 623 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 624 | register "uid" = "1" |
| 625 | register "compat_string" = ""google,cros-ec-spi"" |
Tim Wawrzynczak | 0b7bc80 | 2021-06-02 16:29:01 -0600 | [diff] [blame] | 626 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F15_IRQ)" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 627 | register "wake" = "GPE0_DW2_15" |
Tim Wawrzynczak | 0b7bc80 | 2021-06-02 16:29:01 -0600 | [diff] [blame] | 628 | device spi 0 on end |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 629 | end # FPMCU |
| 630 | end |
| 631 | device ref pch_espi on |
| 632 | chip ec/google/chromeec |
Tim Wawrzynczak | ba2e51b | 2021-03-03 15:22:00 -0700 | [diff] [blame] | 633 | use conn0 as mux_conn[0] |
| 634 | use conn1 as mux_conn[1] |
| 635 | use conn2 as mux_conn[2] |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 636 | device pnp 0c09.0 on end |
| 637 | end |
| 638 | end |
Tim Wawrzynczak | ba2e51b | 2021-03-03 15:22:00 -0700 | [diff] [blame] | 639 | device ref pmc hidden |
| 640 | chip drivers/intel/pmc_mux |
| 641 | device generic 0 on |
| 642 | chip drivers/intel/pmc_mux/conn |
Reka Norman | d448f8c | 2021-12-09 12:09:27 +1100 | [diff] [blame] | 643 | use usb2_port1 as usb2_port |
| 644 | use tcss_usb3_port1 as usb3_port |
Tim Wawrzynczak | ba2e51b | 2021-03-03 15:22:00 -0700 | [diff] [blame] | 645 | device generic 0 alias conn0 on end |
| 646 | end |
| 647 | chip drivers/intel/pmc_mux/conn |
Reka Norman | d448f8c | 2021-12-09 12:09:27 +1100 | [diff] [blame] | 648 | use usb2_port2 as usb2_port |
| 649 | use tcss_usb3_port2 as usb3_port |
Tim Wawrzynczak | ba2e51b | 2021-03-03 15:22:00 -0700 | [diff] [blame] | 650 | device generic 1 alias conn1 on end |
| 651 | end |
| 652 | chip drivers/intel/pmc_mux/conn |
Reka Norman | d448f8c | 2021-12-09 12:09:27 +1100 | [diff] [blame] | 653 | use usb2_port3 as usb2_port |
| 654 | use tcss_usb3_port3 as usb3_port |
Tim Wawrzynczak | ba2e51b | 2021-03-03 15:22:00 -0700 | [diff] [blame] | 655 | device generic 2 alias conn2 on end |
| 656 | end |
| 657 | end |
| 658 | end |
| 659 | end |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 660 | device ref tcss_xhci on |
| 661 | chip drivers/usb/acpi |
| 662 | device ref tcss_root_hub on |
| 663 | chip drivers/usb/acpi |
| 664 | register "desc" = ""USB3 Type-C Port C0 (MLB)"" |
| 665 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | f1a3f18 | 2022-01-25 22:30:12 +0000 | [diff] [blame] | 666 | register "use_custom_pld" = "true" |
Subrata Banik | d2133c2 | 2022-02-16 16:56:23 +0530 | [diff] [blame] | 667 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 668 | device ref tcss_usb3_port1 on end |
| 669 | end |
| 670 | chip drivers/usb/acpi |
| 671 | register "desc" = ""USB3 Type-C Port C1 (DB)"" |
| 672 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | f1a3f18 | 2022-01-25 22:30:12 +0000 | [diff] [blame] | 673 | register "use_custom_pld" = "true" |
Subrata Banik | d2133c2 | 2022-02-16 16:56:23 +0530 | [diff] [blame] | 674 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 675 | device ref tcss_usb3_port2 on end |
| 676 | end |
| 677 | chip drivers/usb/acpi |
| 678 | register "desc" = ""USB3 Type-C Port C2 (MLB)"" |
| 679 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | f1a3f18 | 2022-01-25 22:30:12 +0000 | [diff] [blame] | 680 | register "use_custom_pld" = "true" |
Subrata Banik | d2133c2 | 2022-02-16 16:56:23 +0530 | [diff] [blame] | 681 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 682 | device ref tcss_usb3_port3 on end |
| 683 | end |
| 684 | end |
| 685 | end |
| 686 | end |
| 687 | device ref xhci on |
| 688 | chip drivers/usb/acpi |
| 689 | device ref xhci_root_hub on |
| 690 | chip drivers/usb/acpi |
| 691 | register "desc" = ""USB2 Type-C Port C0 (MLB)"" |
| 692 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | f1a3f18 | 2022-01-25 22:30:12 +0000 | [diff] [blame] | 693 | register "use_custom_pld" = "true" |
Subrata Banik | d2133c2 | 2022-02-16 16:56:23 +0530 | [diff] [blame] | 694 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 695 | device ref usb2_port1 on end |
| 696 | end |
| 697 | chip drivers/usb/acpi |
| 698 | register "desc" = ""USB2 Type-C Port C1 (DB)"" |
| 699 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | f1a3f18 | 2022-01-25 22:30:12 +0000 | [diff] [blame] | 700 | register "use_custom_pld" = "true" |
Subrata Banik | d2133c2 | 2022-02-16 16:56:23 +0530 | [diff] [blame] | 701 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 702 | device ref usb2_port2 on end |
| 703 | end |
| 704 | chip drivers/usb/acpi |
| 705 | register "desc" = ""USB2 Type-C Port C2 (MLB)"" |
| 706 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | f1a3f18 | 2022-01-25 22:30:12 +0000 | [diff] [blame] | 707 | register "use_custom_pld" = "true" |
Subrata Banik | d2133c2 | 2022-02-16 16:56:23 +0530 | [diff] [blame] | 708 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 709 | device ref usb2_port3 on end |
| 710 | end |
| 711 | chip drivers/usb/acpi |
| 712 | register "desc" = ""USB2 WWAN"" |
| 713 | register "type" = "UPC_TYPE_INTERNAL" |
| 714 | device ref usb2_port4 on end |
| 715 | end |
| 716 | chip drivers/usb/acpi |
| 717 | register "desc" = ""USB2 Camera"" |
| 718 | register "type" = "UPC_TYPE_INTERNAL" |
Varshit B Pandya | bee9d6028 | 2021-06-18 20:18:50 +0530 | [diff] [blame] | 719 | device ref usb2_port6 on |
| 720 | probe UFC UFC_USB |
| 721 | end |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 722 | end |
| 723 | chip drivers/usb/acpi |
Tim Wawrzynczak | 2091965 | 2021-02-16 15:17:48 -0700 | [diff] [blame] | 724 | register "desc" = ""USB2 Type-A Port A0 (DB)"" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 725 | register "type" = "UPC_TYPE_A" |
Won Chung | f1a3f18 | 2022-01-25 22:30:12 +0000 | [diff] [blame] | 726 | register "use_custom_pld" = "true" |
Subrata Banik | d2133c2 | 2022-02-16 16:56:23 +0530 | [diff] [blame] | 727 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 2))" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 728 | device ref usb2_port9 on end |
| 729 | end |
| 730 | chip drivers/usb/acpi |
| 731 | register "desc" = ""USB2 Bluetooth"" |
| 732 | register "type" = "UPC_TYPE_INTERNAL" |
| 733 | register "reset_gpio" = |
Aamir Bohra | 1d14ef2 | 2021-03-02 19:18:30 +0530 | [diff] [blame] | 734 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 735 | device ref usb2_port10 on end |
| 736 | end |
| 737 | chip drivers/usb/acpi |
Tim Wawrzynczak | 2091965 | 2021-02-16 15:17:48 -0700 | [diff] [blame] | 738 | register "desc" = ""USB3 Type-A Port A0 (DB)"" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 739 | register "type" = "UPC_TYPE_USB3_A" |
Won Chung | f1a3f18 | 2022-01-25 22:30:12 +0000 | [diff] [blame] | 740 | register "use_custom_pld" = "true" |
Subrata Banik | d2133c2 | 2022-02-16 16:56:23 +0530 | [diff] [blame] | 741 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 2))" |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 742 | device ref usb3_port1 on end |
| 743 | end |
| 744 | chip drivers/usb/acpi |
| 745 | register "desc" = ""USB3 WWAN"" |
| 746 | register "type" = "UPC_TYPE_INTERNAL" |
Tim Wawrzynczak | 2091965 | 2021-02-16 15:17:48 -0700 | [diff] [blame] | 747 | device ref usb3_port4 on end |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 748 | end |
| 749 | end |
| 750 | end |
| 751 | end |
| 752 | end |
| 753 | end |