Frank Wu | bc83738 | 2020-03-13 16:41:10 +0800 | [diff] [blame] | 1 | chip soc/intel/tigerlake |
Frank Wu | b763a4f | 2020-05-15 15:21:31 +0800 | [diff] [blame] | 2 | register "usb2_ports[0]" = "USB2_PORT_EMPTY" # Type-A / Type-C Not Used |
| 3 | register "usb2_ports[1]" = "USB2_PORT_TYPE_C(OC0)" # Type-A / Type-C Port 0 |
| 4 | register "usb2_ports[2]" = "USB2_PORT_EMPTY" # Type-A / Type-C Not Used |
| 5 | register "usb2_ports[3]" = "USB2_PORT_TYPE_C(OC1)" # Type-A / Type-C Port 1 |
| 6 | register "usb2_ports[4]" = "USB2_PORT_MID(OC_SKIP)" # Front Camera |
| 7 | register "usb2_ports[5]" = "USB2_PORT_TYPE_C(OC2)" # Type-A / Type-C Port 2 |
| 8 | register "usb2_ports[6]" = "USB2_PORT_EMPTY" # Type-A / Type-C Not Used |
| 9 | register "usb2_ports[7]" = "USB2_PORT_EMPTY" # Type-A / Type-C Not Used |
| 10 | register "usb2_ports[8]" = "USB2_PORT_EMPTY" # Type-A / Type-C Not Used |
| 11 | register "usb2_ports[9]" = "USB2_PORT_EMPTY" # Type-A / Type-C Not Used |
| 12 | |
| 13 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-A / Type-C Port 0 |
| 14 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-A / Type-C Port 1 |
| 15 | register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC2)" # Type-A / Type-C Port 2 |
| 16 | register "usb3_ports[3]" = "USB3_PORT_EMPTY" # Type-A / Type-C Not Used |
| 17 | |
Frank Wu | bc83738 | 2020-03-13 16:41:10 +0800 | [diff] [blame] | 18 | device domain 0 on |
Frank Wu | b763a4f | 2020-05-15 15:21:31 +0800 | [diff] [blame] | 19 | device pci 15.0 on |
| 20 | chip drivers/i2c/generic |
| 21 | register "hid" = ""10EC5682"" |
| 22 | register "name" = ""RT58"" |
| 23 | register "desc" = ""Headset Codec"" |
| 24 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" |
| 25 | # Set the jd_src to RT5668_JD1 for jack detection |
| 26 | register "property_count" = "1" |
| 27 | register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" |
| 28 | register "property_list[0].name" = ""realtek,jd-src"" |
| 29 | register "property_list[0].integer" = "1" |
| 30 | device i2c 1a on end |
| 31 | end |
| 32 | chip drivers/i2c/max98373 |
| 33 | register "vmon_slot_no" = "0" |
| 34 | register "imon_slot_no" = "1" |
| 35 | register "uid" = "0" |
| 36 | register "desc" = ""Right Speaker Amp"" |
| 37 | register "name" = ""MAXR"" |
| 38 | device i2c 31 on end |
| 39 | end |
| 40 | chip drivers/i2c/max98373 |
| 41 | register "vmon_slot_no" = "2" |
| 42 | register "imon_slot_no" = "3" |
| 43 | register "uid" = "1" |
| 44 | register "desc" = ""Left Speaker Amp"" |
| 45 | register "name" = ""MAXL"" |
| 46 | device i2c 32 on end |
| 47 | end |
| 48 | end # I2C #0 0xA0E8 |
Nick Vaccaro | f3d399e | 2020-06-18 18:30:31 -0700 | [diff] [blame^] | 49 | device pci 15.1 on |
| 50 | chip drivers/i2c/hid |
| 51 | register "generic.hid" = ""GDIX0000"" |
| 52 | register "generic.desc" = ""Goodix Touchscreen"" |
| 53 | register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_E7_IRQ)" |
| 54 | register "generic.probed" = "1" |
| 55 | register "generic.reset_gpio" = |
| 56 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C10)" |
| 57 | register "generic.reset_delay_ms" = "120" |
| 58 | register "generic.reset_off_delay_ms" = "3" |
| 59 | register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A8)" |
| 60 | register "generic.enable_delay_ms" = "12" |
| 61 | register "generic.has_power_resource" = "1" |
| 62 | register "hid_desc_reg_offset" = "0x01" |
| 63 | device i2c 14 on end |
| 64 | end |
| 65 | chip drivers/i2c/hid |
| 66 | register "generic.hid" = ""ELAN90FC"" |
| 67 | register "generic.desc" = ""ELAN Touchscreen"" |
| 68 | register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_E7_IRQ)" |
| 69 | register "generic.probed" = "1" |
| 70 | register "generic.reset_gpio" = |
| 71 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C10)" |
| 72 | register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A8)" |
| 73 | register "generic.reset_delay_ms" = "20" |
| 74 | register "generic.has_power_resource" = "1" |
| 75 | register "generic.disable_gpio_export_in_crs" = "1" |
| 76 | register "hid_desc_reg_offset" = "0x01" |
| 77 | device i2c 10 on end |
| 78 | end |
| 79 | end # I2C1 0xA0E9 |
| 80 | device pci 15.2 on |
| 81 | chip drivers/i2c/sx9310 |
| 82 | register "desc" = ""SAR0 Proximity Sensor"" |
| 83 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_F14_IRQ)" |
| 84 | register "speed" = "I2C_SPEED_FAST" |
| 85 | register "uid" = "0" |
| 86 | register "reg_prox_ctrl0" = "0x10" |
| 87 | register "reg_prox_ctrl1" = "0x00" |
| 88 | register "reg_prox_ctrl2" = "0x84" |
| 89 | register "reg_prox_ctrl3" = "0x0e" |
| 90 | register "reg_prox_ctrl4" = "0x07" |
| 91 | register "reg_prox_ctrl5" = "0xc6" |
| 92 | register "reg_prox_ctrl6" = "0x20" |
| 93 | register "reg_prox_ctrl7" = "0x0d" |
| 94 | register "reg_prox_ctrl8" = "0x8d" |
| 95 | register "reg_prox_ctrl9" = "0x43" |
| 96 | register "reg_prox_ctrl10" = "0x1f" |
| 97 | register "reg_prox_ctrl11" = "0x00" |
| 98 | register "reg_prox_ctrl12" = "0x00" |
| 99 | register "reg_prox_ctrl13" = "0x00" |
| 100 | register "reg_prox_ctrl14" = "0x00" |
| 101 | register "reg_prox_ctrl15" = "0x00" |
| 102 | register "reg_prox_ctrl16" = "0x00" |
| 103 | register "reg_prox_ctrl17" = "0x00" |
| 104 | register "reg_prox_ctrl18" = "0x00" |
| 105 | register "reg_prox_ctrl19" = "0x00" |
| 106 | register "reg_sar_ctrl0" = "0x50" |
| 107 | register "reg_sar_ctrl1" = "0x8a" |
| 108 | register "reg_sar_ctrl2" = "0x3c" |
| 109 | device i2c 28 on end |
| 110 | end |
| 111 | end # I2C2 0xA0EA |
| 112 | device pci 19.1 on |
| 113 | chip drivers/i2c/generic |
| 114 | register "hid" = ""ELAN0000"" |
| 115 | register "desc" = ""ELAN Touchpad"" |
| 116 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E15_IRQ)" |
| 117 | register "wake" = "GPE0_DW2_15" |
| 118 | register "probed" = "1" |
| 119 | device i2c 15 on end |
| 120 | end |
| 121 | end # I2C5 0xA0C6 |
Frank Wu | b763a4f | 2020-05-15 15:21:31 +0800 | [diff] [blame] | 122 | device pci 1f.3 on |
| 123 | chip drivers/generic/max98357a |
| 124 | register "hid" = ""MX98357A"" |
| 125 | register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_F18)" |
| 126 | register "sdmode_delay" = "5" |
| 127 | device generic 0 on end |
| 128 | end |
| 129 | end # Intel HD audio 0xA0C8-A0CF |
Frank Wu | bc83738 | 2020-03-13 16:41:10 +0800 | [diff] [blame] | 130 | end |
| 131 | end |