aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/tglrvp/mainboard.c
diff options
context:
space:
mode:
authorJohn Zhao <john.zhao@intel.com>2020-07-25 17:23:53 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-07-29 09:38:38 +0000
commitd05b15e8609397cf3ef7ef5e6dab942cc2678ee2 (patch)
tree7e8b56f29d426490c8caeab43e6735bd78df34c6 /src/mainboard/intel/tglrvp/mainboard.c
parentc379d46c1c49a2f9f28bdcbb42b94976dbb24a72 (diff)
mb/intel/tglrvp: Add support for USB Type-C connector device properties
This change updates TGLRVP configuration to have USB Type-C connector device properties filled into ACPI SSDT. TEST=Built and booted to kernel on tglrvp boards. Verified the USBC scope under LPCB.EC0.CREC with required connector device properties. Signed-off-by: John Zhao <john.zhao@intel.com> Change-Id: Ifd4c59afb3b8a222598fd4ff36d72c4b877bdad2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43893 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/intel/tglrvp/mainboard.c')
-rw-r--r--src/mainboard/intel/tglrvp/mainboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/intel/tglrvp/mainboard.c b/src/mainboard/intel/tglrvp/mainboard.c
index 7708b85188..82877ed28e 100644
--- a/src/mainboard/intel/tglrvp/mainboard.c
+++ b/src/mainboard/intel/tglrvp/mainboard.c
@@ -3,6 +3,7 @@
#include <baseboard/gpio.h>
#include <baseboard/variants.h>
#include <device/device.h>
+#include <ec/ec.h>
#include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include <smbios.h>
@@ -24,6 +25,8 @@ static void mainboard_init(void *chip_info)
pads = variant_gpio_table(&num);
gpio_configure_pads(pads, num);
+
+ mainboard_ec_init();
}
static void mainboard_enable(struct device *dev)