mb/google/volteer: Add support for passive USB-C daughterboard

The USB-C SBU and HSL orientation configuration depends on the USB
daughterboard used on the system. This patch adds an additional
configuration for supporting passive USB daughterboards using "probe"
directives to select the appropriate configuration at runtime.

BUG=b:158673460
TEST=verified active USB DBs enumerate at USB3 speeds in linux

Signed-off-by: Caveh Jalali <caveh@chromium.org>
Change-Id: Ia4bd97de8f974531f97469a5e47ecf4d948beca9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42905
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Caveh Jalali 2020-06-30 03:13:07 -07:00 committed by Patrick Georgi
parent 11715d8dc6
commit 6e62223f01
1 changed files with 14 additions and 1 deletions

View File

@ -156,7 +156,20 @@ chip soc/intel/tigerlake
register "usb3_port_number" = "2"
# SBU is fixed, HSL follows CC
register "sbu_orientation" = "TYPEC_ORIENTATION_NORMAL"
device generic 1 on end
device generic 1 on
probe DB_USB USB4_GEN2
probe DB_USB USB3_ACTIVE
probe DB_USB USB4_GEN3
probe DB_USB USB3_NO_A
end
end
chip drivers/intel/pmc_mux/con
register "usb2_port_number" = "4"
register "usb3_port_number" = "2"
# SBU & HSL follow CC
device generic 1 on
probe DB_USB USB3_PASSIVE
end
end
end
end