diff options
author | Sen Chu <sen.chu@mediatek.corp-partner.google.com> | 2023-01-10 22:45:11 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-02-08 15:40:42 +0000 |
commit | 012701970faaec35195ff705dfc9956404c8c516 (patch) | |
tree | 25ae19e9511684db7a566a422769636ee2d227e0 /src/soc/mediatek/common/mt6359p.c | |
parent | bf5f8214315199c32f9f10f52e235d97f050a3f0 (diff) |
soc/mediatek: Add support for regulator VM18
To provide power to MIPI panel BOE_TV110C9M_LL0, add support for
regulator VM18.
BUG=b:244208960
TEST=test firmware display pass for BOE_TV110C9M_LL0 on Geralt.
Change-Id: Ib8c3b2df1157b23b37492b1e9b1716903ea67799
Signed-off-by: Sen Chu <sen.chu@mediatek.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72747
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/common/mt6359p.c')
-rw-r--r-- | src/soc/mediatek/common/mt6359p.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/mt6359p.c b/src/soc/mediatek/common/mt6359p.c index e2c8e14ca2..78af34e1eb 100644 --- a/src/soc/mediatek/common/mt6359p.c +++ b/src/soc/mediatek/common/mt6359p.c @@ -324,6 +324,11 @@ void mt6359p_enable_vsim1(bool enable) mt6359p_write_field(PMIC_VSIM1_CON0, enable, 0x1, 0); } +void mt6359p_enable_vm18(bool enable) +{ + mt6359p_write_field(PMIC_VM18_CON0, enable, 0x1, 0); +} + static void init_pmif_arb(void) { if (!pmif_arb) { |