aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c
diff options
context:
space:
mode:
authorJohn Zhao <john.zhao@intel.com>2020-08-02 11:29:59 -0700
committerTim Wawrzynczak <twawrzynczak@chromium.org>2020-08-12 19:43:07 +0000
commit90883287b5db3c022bf45d98a00f88b4b9b7c055 (patch)
tree00d1872fb9e9c80d0b66460fc9d823bd27e22a31 /src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c
parent1d7ba15aa2e3a3ee9130101977405ef866bd7f79 (diff)
mb/intel/tglrvp: Add interrupt _CRS under CREC scope
Interrupt _CRS is missing under CREC scope. TGLRVP U/Y has GPP_A15 assigned to MECC_HPD2 as EC_SYNC_IRQ. Configure this GPP_A15 GPIO as active low and level interruptible for EC sync interrupt configuration. BUG=None TEST=Booted to kernel and verified EC_SYNC_IRQ in the scope of CREC current resource settings. Signed-off-by: John Zhao <john.zhao@intel.com> Change-Id: Idfe4d4e800866805ee8d758028ac7ddf4b259faa Reviewed-on: https://review.coreboot.org/c/coreboot/+/44103 Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c')
-rw-r--r--src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c
index 44575067dc..398a185f82 100644
--- a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c
+++ b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/gpio.c
@@ -54,6 +54,9 @@ static const struct pad_config gpio_table[] = {
/* CNVi */
PAD_CFG_NF(GPP_F4, NONE, DEEP, NF1), /* CNV_RF_RST_L */
PAD_CFG_NF(GPP_F5, NONE, DEEP, NF3), /* CNV_CLKREQ0 */
+
+ /* EC_SYNC_IRQ */
+ PAD_CFG_GPI_APIC(GPP_A15, NONE, PLTRST, LEVEL, INVERT), /* MECC_HPD2 */
};
/* Early pad configuration in bootblock */