Prashant Malani has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72654 )
Change subject: mb/google/skyrim/var/winterhold: Add support for AP-driven muxes ......................................................................
mb/google/skyrim/var/winterhold: Add support for AP-driven muxes
Add the platform ACPI devices needed for AP-driven Type-C mux and retimer programming.
BUG=b:266218046 TEST=Tested on skyrim with Kconfig enabled, SSDT generated as expected. BRANCH=None
Change-Id: I712a54e8b3bee8f4ead3b6cf2b495a8dda7962ad --- M src/mainboard/google/skyrim/Kconfig M src/mainboard/google/skyrim/variants/winterhold/overridetree.cb 2 files changed, 42 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/72654/1
diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig index d945474..19755cd 100644 --- a/src/mainboard/google/skyrim/Kconfig +++ b/src/mainboard/google/skyrim/Kconfig @@ -27,6 +27,7 @@ select DRIVERS_PCIE_GENERIC select EC_GOOGLE_CHROMEEC select EC_GOOGLE_CHROMEEC_ESPI + select EC_GOOGLE_CHROMEEC_MUX select EC_GOOGLE_CHROMEEC_SKUID select EC_GOOGLE_CHROMEEC_BOARDID select ELOG diff --git a/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb b/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb index 04da26c..7f40e32 100644 --- a/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb +++ b/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb @@ -157,6 +157,31 @@ end end # XHCI1 controller end # Internal GPP Bridge 0 to Bus A + + device ref lpc_bridge on + chip ec/google/chromeec + use ecmux0 as retimer_conn[0] + use ecmux1 as retimer_conn[1] + use ecmux0 as mux_conn[0] + use ecmux1 as mux_conn[1] + device ref chrome_ec on + chip ec/google/chromeec/mux + device generic 0 on + chip ec/google/chromeec/mux/conn + register "mode_switch" = "true" + register "retimer_switch" = "true" + device generic 0 alias ecmux0 on end + end + chip ec/google/chromeec/mux/conn + register "mode_switch" = "true" + register "retimer_switch" = "true" + device generic 1 alias ecmux1 on end + end + end + end + end + end + end end # domain
device ref i2c_0 on