summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8186
diff options
context:
space:
mode:
authorRuihai Zhou <zhouruihai@huaqin.corp-partner.google.com>2023-05-29 13:59:08 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-06-01 13:09:07 +0000
commit44b60eb503778c1a39785963006112aa6cfc8ddd (patch)
treedd4ca2b3157f3e6fcb3c8611309c5e90e8be4acb /src/soc/mediatek/mt8186
parent1b3b09843401741d6d2c2861806644c1455a034a (diff)
downloadcoreboot-44b60eb503778c1a39785963006112aa6cfc8ddd.tar.gz
coreboot-44b60eb503778c1a39785963006112aa6cfc8ddd.tar.bz2
coreboot-44b60eb503778c1a39785963006112aa6cfc8ddd.zip
soc/mediatek/common: Add support for power supply TPS65132S
The TPS65132S is designed to supply positive/negative driven application. It communicates through standard I2C compatible interface, and it intergrates a EEPROM whose contents will be loaded into the register at startup. Since TPS65132S is used in staryu and geralt projects, we move the implementation to mediatek/common. The datasheet: TPS65132-Single-Inductor-Dual-Output-Power-Supply.pdf BUG=b:282902297 TEST=boot starmie to firmware screen Signed-off-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com> Change-Id: Iad2c9bdea5824455efcef18b44876111061cfa1a Reviewed-on: https://review.coreboot.org/c/coreboot/+/75488 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8186')
-rw-r--r--src/soc/mediatek/mt8186/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8186/Makefile.inc b/src/soc/mediatek/mt8186/Makefile.inc
index 04d047acf1bc..8fe923f2941b 100644
--- a/src/soc/mediatek/mt8186/Makefile.inc
+++ b/src/soc/mediatek/mt8186/Makefile.inc
@@ -49,6 +49,7 @@ ramstage-y += ../common/rtc.c ../common/rtc_osc_init.c rtc.c
ramstage-y += soc.c
ramstage-y += ../common/spm.c spm.c
ramstage-y += ../common/sspm.c
+ramstage-y += ../common/tps65132s.c
ramstage-y += ../common/usb.c usb.c
CPPFLAGS_common += -Isrc/soc/mediatek/mt8186/include