David Wu | ac6a508 | 2018-10-22 10:20:21 +0800 | [diff] [blame^] | 1 | chip soc/intel/skylake |
| 2 | |
| 3 | # Mapping of USB port # to device |
| 4 | #+----------------+-------+-----------------------------------+ |
| 5 | #| Device | Port# | Rev | |
| 6 | #+----------------+-------+-----------------------------------+ |
| 7 | #| Touchsreen | 10 | | |
| 8 | #+----------------+-------+-----------------------------------+ |
| 9 | register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Touchscreen |
| 10 | |
| 11 | device domain 0 on |
| 12 | device pci 14.0 on |
| 13 | chip drivers/usb/acpi |
| 14 | device usb 0.0 on |
| 15 | chip drivers/usb/acpi |
| 16 | register "desc" = ""USB2 Touchscreen"" |
| 17 | register "type" = "UPC_TYPE_INTERNAL" |
| 18 | device usb 2.9 on end |
| 19 | end |
| 20 | end |
| 21 | end |
| 22 | end # USB xHCI |
| 23 | device pci 19.1 on |
| 24 | chip drivers/generic/max98357a |
| 25 | register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A23)" |
| 26 | register "sdmode_delay" = "5" |
| 27 | device generic 0 on end |
| 28 | end |
| 29 | chip drivers/i2c/da7219 |
| 30 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)" |
| 31 | register "btn_cfg" = "50" |
| 32 | register "mic_det_thr" = "500" |
| 33 | register "jack_ins_deb" = "20" |
| 34 | register "jack_det_rate" = ""32ms_64ms"" |
| 35 | register "jack_rem_deb" = "1" |
| 36 | register "a_d_btn_thr" = "0xa" |
| 37 | register "d_b_btn_thr" = "0x16" |
| 38 | register "b_c_btn_thr" = "0x21" |
| 39 | register "c_mic_btn_thr" = "0x3e" |
| 40 | register "btn_avg" = "4" |
| 41 | register "adc_1bit_rpt" = "1" |
| 42 | register "micbias_lvl" = "2600" |
| 43 | register "mic_amp_in_sel" = ""diff"" |
| 44 | device i2c 1a on end |
| 45 | end |
| 46 | end # I2C #5 |
| 47 | end |
| 48 | end |