diff options
author | Qii Wang <qii.wang@mediatek.com> | 2019-01-18 09:29:09 +0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2019-08-07 00:42:44 +0000 |
commit | 66532b0ba7616fdc2ab487ef395c2acf0b5bcac3 (patch) | |
tree | 302f7ba41750e30e53b3746c9994585bf771c81e /src/soc/mediatek/mt8183/mt8183.c | |
parent | 02547c58869eed2295853ad12618285d45fca7da (diff) | |
download | coreboot-66532b0ba7616fdc2ab487ef395c2acf0b5bcac3.tar.xz |
mediatek/mt8183: Add I2C driver code
This patch implements i2c driver for MT8183.
BUG=b:80501386
BRANCH=none
TEST=Boot correctly on kukui.
Change-Id: I0a4d78b494819f45951f78e5a618021000cf3463
Signed-off-by: Qii Wang <qii.wang@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/30976
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8183/mt8183.c')
-rw-r--r-- | src/soc/mediatek/mt8183/mt8183.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8183/mt8183.c b/src/soc/mediatek/mt8183/mt8183.c index c4419803da..32da3e0ea5 100644 --- a/src/soc/mediatek/mt8183/mt8183.c +++ b/src/soc/mediatek/mt8183/mt8183.c @@ -15,8 +15,10 @@ #include <soc/mt8183.h> #include <soc/wdt.h> +#include <soc/gpio.h> void mt8183_early_init(void) { mtk_wdt_init(); + gpio_set_i2c_eh_rsel(); } |