summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8183/include
diff options
context:
space:
mode:
authorjg_poxu <jg_poxu@mediatek.com>2019-01-31 15:46:03 +0800
committerJulius Werner <jwerner@chromium.org>2019-02-21 19:27:44 +0000
commit9e21b2dbd7e7c6c77f48c317b3d8fe9622867b52 (patch)
tree16538ca222731acd8d68d0dc33b0e038b5cb27c7 /src/soc/mediatek/mt8183/include
parent187e4c4474a4b678a88b0f7df67e387f0d0d46fb (diff)
mediatek/mt8183: Support gpio eh and rsel setting for I2C
The setting of these registers are only for i2c pin. BUG=b:80501386 BRANCH=none TEST=Boot correctly on Kukui Change-Id: I518ca07645fe55aa55e94e4f98178baa0b74a882 Signed-off-by: jg_poxu <jg_poxu@mediatek.com> Reviewed-on: https://review.coreboot.org/c/30974 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8183/include')
-rw-r--r--src/soc/mediatek/mt8183/include/soc/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8183/include/soc/gpio.h b/src/soc/mediatek/mt8183/include/soc/gpio.h
index c3c8dda26d..5a98953974 100644
--- a/src/soc/mediatek/mt8183/include/soc/gpio.h
+++ b/src/soc/mediatek/mt8183/include/soc/gpio.h
@@ -616,5 +616,6 @@ struct gpio_regs {
check_member(gpio_regs, mode[22].val, 0x460);
static struct gpio_regs *const mtk_gpio = (void *)(GPIO_BASE);
+void gpio_set_i2c_eh_rsel(void);
#endif