summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2021-03-03 15:22:00 -0700
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-03-05 20:09:15 +0000
commitba2e51bd496a7245d5625f1810fc5659a69b38df (patch)
treed66d17b51acced0044f35fc068f829a458535146 /src
parent7b42492bedb1fc04576027f772a017148fa95b0a (diff)
downloadcoreboot-ba2e51bd496a7245d5625f1810fc5659a69b38df.tar.gz
coreboot-ba2e51bd496a7245d5625f1810fc5659a69b38df.tar.bz2
coreboot-ba2e51bd496a7245d5625f1810fc5659a69b38df.zip
mb/google/brya: brya0: Add ACPI support for Type-C ports
BUG=b:181160586, b:181843816 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Change-Id: Ic201ad047fd0d593749d2b993f843f7e188a5c98 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51258 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/Kconfig1
-rw-r--r--src/mainboard/google/brya/dsdt.asl1
-rw-r--r--src/mainboard/google/brya/variants/brya0/overridetree.cb25
3 files changed, 26 insertions, 1 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index d0391af8cb3c..17dab6471e26 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -5,6 +5,7 @@ config BOARD_GOOGLE_BASEBOARD_BRYA
select DRIVERS_I2C_HID
select DRIVERS_GENERIC_MAX98357A
select DRIVERS_I2C_SX9324
+ select DRIVERS_INTEL_PMC
select DRIVERS_SPI_ACPI
select DRIVERS_WIFI_GENERIC
select EC_GOOGLE_CHROMEEC
diff --git a/src/mainboard/google/brya/dsdt.asl b/src/mainboard/google/brya/dsdt.asl
index 5d386f173cf3..f37d6b8f0424 100644
--- a/src/mainboard/google/brya/dsdt.asl
+++ b/src/mainboard/google/brya/dsdt.asl
@@ -26,6 +26,7 @@ DefinitionBlock(
{
#include <soc/intel/common/block/acpi/acpi/northbridge.asl>
#include <soc/intel/alderlake/acpi/southbridge.asl>
+ #include <soc/intel/alderlake/acpi/tcss.asl>
}
}
diff --git a/src/mainboard/google/brya/variants/brya0/overridetree.cb b/src/mainboard/google/brya/variants/brya0/overridetree.cb
index aa5dc8f332fd..3ae3d80ab7bc 100644
--- a/src/mainboard/google/brya/variants/brya0/overridetree.cb
+++ b/src/mainboard/google/brya/variants/brya0/overridetree.cb
@@ -199,10 +199,33 @@ chip soc/intel/alderlake
end
device ref pch_espi on
chip ec/google/chromeec
+ use conn0 as mux_conn[0]
+ use conn1 as mux_conn[1]
+ use conn2 as mux_conn[2]
device pnp 0c09.0 on end
end
end
- device ref pmc hidden end
+ device ref pmc hidden
+ chip drivers/intel/pmc_mux
+ device generic 0 on
+ chip drivers/intel/pmc_mux/conn
+ register "usb2_port_number" = "1"
+ register "usb3_port_number" = "1"
+ device generic 0 alias conn0 on end
+ end
+ chip drivers/intel/pmc_mux/conn
+ register "usb2_port_number" = "2"
+ register "usb3_port_number" = "2"
+ device generic 1 alias conn1 on end
+ end
+ chip drivers/intel/pmc_mux/conn
+ register "usb2_port_number" = "3"
+ register "usb3_port_number" = "3"
+ device generic 2 alias conn2 on end
+ end
+ end
+ end
+ end
device ref tcss_xhci on
chip drivers/usb/acpi
device ref tcss_root_hub on