diff options
author | Tony Huang <tony-huang@quanta.corp-partner.google.com> | 2020-12-28 15:55:09 +0800 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2021-01-11 22:50:14 +0000 |
commit | 3b39cb98d491cbc517e13beadef4ec6d31fb6ec0 (patch) | |
tree | fcb9a35949bd4c9155025cbb2a5589734e352bda /src/mainboard/google/octopus/variants/meep/gpio.c | |
parent | 43dec1ad4c77c84dd44fc080cec6041d69b79ea8 (diff) | |
download | coreboot-3b39cb98d491cbc517e13beadef4ec6d31fb6ec0.tar.xz |
mb/google/octopus: add audio codec into SSFC support for Meep
BUG=b:171757619
BRANCH=octopus
TEST=adjust SSFC value of CBI to select RT5682 or DA7219 then check
whether device tree is updated correspondingly by disabling unselected
one.
Change-Id: I37390535e263b4b9547ad7307278e3360ba836bd
Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48945
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marco Chen <marcochen@google.com>
Diffstat (limited to 'src/mainboard/google/octopus/variants/meep/gpio.c')
-rw-r--r-- | src/mainboard/google/octopus/variants/meep/gpio.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/variants/meep/gpio.c b/src/mainboard/google/octopus/variants/meep/gpio.c index 31cd64e209..3aa8d9dac2 100644 --- a/src/mainboard/google/octopus/variants/meep/gpio.c +++ b/src/mainboard/google/octopus/variants/meep/gpio.c @@ -10,6 +10,10 @@ static const struct pad_config default_override_table[] = { PAD_NC(GPIO_104, UP_20K), + /* GPIO_137 -- HP_INT_ODL and would be amend by SSFC. */ + PAD_CFG_GPI_APIC_IOS(GPIO_137, NONE, DEEP, LEVEL, INVERT, HIZCRx1, + DISPUPD), + /* EN_PP3300_TOUCHSCREEN */ PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_146, 0, DEEP, NONE, Tx0RxDCRx0, DISPUPD), @@ -24,6 +28,11 @@ static const struct pad_config hdmi_sku_override_table[] = { /* HV_DDI1_DDC_SCL */ PAD_CFG_NF_IOSSTATE_IOSTERM(GPIO_127, NONE, DEEP, NF1, HIZCRx1, DISPUPD), + + /* GPIO_137 -- HP_INT_ODL and would be amend by SSFC. */ + PAD_CFG_GPI_APIC_IOS(GPIO_137, NONE, DEEP, LEVEL, INVERT, HIZCRx1, + DISPUPD), + /* EN_PP3300_TOUCHSCREEN */ PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_146, 0, DEEP, NONE, Tx0RxDCRx0, DISPUPD), |