mb/google/dedede/metaknight: Add device list and probe daughter-board

Metaknight has two daughter-board (DB_PORTS_1A_HDMI and
DB_PORTS_LTE_HDMI), LTE and USB Type A use the same usb port,so needs to
probe daughter-board to avoid USB device cannot recognize correctly.

BUG=b:184809456
TEST=build and verify USB device can recognize correctly

Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Change-Id: Ie42d12c7ce5c7341751c3cf92b5f37b6cd4d479f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52369
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Raymond Wong <wongraymond@google.com>
Reviewed-by: Kaiyen Chang <kaiyen.chang@intel.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
David Wu 2021-04-15 16:19:11 +08:00 committed by Patrick Georgi
parent 72e736d8e8
commit 82c9b703ea
2 changed files with 23 additions and 2 deletions

View File

@ -5,6 +5,7 @@ fw_config
option DB_PORTS_1C_LTE 2
option DB_PORTS_1A_HDMI 3
option DB_PORTS_1C_1A 4
option DB_PORTS_LTE_HDMI 5
end
field TABLETMODE 10
option TABLETMODE_DISABLED 0

View File

@ -76,7 +76,17 @@ chip soc/intel/jasperlake
register "reset_off_delay_ms" = "10"
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A10)"
register "enable_delay_ms" = "20"
device usb 2.3 on end
device usb 2.3 on
probe DB_PORTS DB_PORTS_LTE_HDMI
end
end
chip drivers/usb/acpi
register "desc" = ""Right Type-A Port""
register "type" = "UPC_TYPE_A"
register "group" = "ACPI_PLD_GROUP(2, 2)"
device usb 2.3 on
probe DB_PORTS DB_PORTS_1A_HDMI
end
end
chip drivers/usb/acpi
register "desc" = ""User Facing Camera""
@ -91,7 +101,17 @@ chip soc/intel/jasperlake
chip drivers/usb/acpi
register "desc" = ""LTE""
register "type" = "UPC_TYPE_INTERNAL"
device usb 3.3 on end
device usb 3.3 on
probe DB_PORTS DB_PORTS_LTE_HDMI
end
end
chip drivers/usb/acpi
register "desc" = ""Right Type-A Port""
register "type" = "UPC_TYPE_USB3_A"
register "group" = "ACPI_PLD_GROUP(2, 2)"
device usb 3.3 on
probe DB_PORTS DB_PORTS_1A_HDMI
end
end
end
end