summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cherry/gpio.h
diff options
context:
space:
mode:
authorTrevor Wu <trevor.wu@mediatek.com>2021-08-17 15:58:11 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-08-27 02:54:22 +0000
commit1d19432e1e50dc507af2759bf83c74d5c32c6e4c (patch)
tree87dbcc35effa19fc83865d0d0e04ce033a1ae2f7 /src/mainboard/google/cherry/gpio.h
parent52889c9c9f6d634f580c003b77889301916ef5e5 (diff)
mb/google/cherry: Support audio codec RT1011
Add GPIO "rt1011 reset" and i2c2 initialization for RT1011. Add CHERRY_USE_RT1011 and CHERRY_USE_RT1019 to Kconfig, so we can spearate code for the specific codec by config. Signed-off-by: Trevor Wu <trevor.wu@mediatek.com> Change-Id: I18939a2a2caae0444ce17f4712764647975121ad Reviewed-on: https://review.coreboot.org/c/coreboot/+/57157 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/cherry/gpio.h')
-rw-r--r--src/mainboard/google/cherry/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/cherry/gpio.h b/src/mainboard/google/cherry/gpio.h
index e5465ac147..2c9c8e3bf8 100644
--- a/src/mainboard/google/cherry/gpio.h
+++ b/src/mainboard/google/cherry/gpio.h
@@ -12,6 +12,7 @@
#define GPIO_XHCI_DONE GPIO(DGI_D4)
#define GPIO_EC_IN_RW GPIO(DGI_D10)
#define GPIO_GSC_AP_INT GPIO(DGI_D11)
+#define GPIO_RST_RT1011 GPIO(DGI_VSYNC)
#define GPIO_EN_SPK GPIO(UART1_RTS)
#define GPIO_RESET GPIO(UART1_CTS)