cong yang has uploaded this change for review.

View Change

mb/google/geralt: Increase vm18 ldo voltage for Ciri

Since the panel requires 1.8V or more, the current voltage measured
at mainboard side is 1.79V and at panel side is 1.74V. So increased
the circuit voltage by boosting voltage set in the PMIC.

BUG=b:322080023
TEST=Check ciri vm18 ldo voltage
BRANCH=None

Change-Id: I6d6193d45409f53c0b656890c44ddaef253c5e01
---
M src/mainboard/google/geralt/panel_ciri.c
M src/mainboard/google/geralt/regulator.c
2 files changed, 4 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/80198/1
diff --git a/src/mainboard/google/geralt/panel_ciri.c b/src/mainboard/google/geralt/panel_ciri.c
index 3d01183..4d31711 100644
--- a/src/mainboard/google/geralt/panel_ciri.c
+++ b/src/mainboard/google/geralt/panel_ciri.c
@@ -2,6 +2,7 @@

#include <console/console.h>
#include <soc/i2c.h>
+#include <soc/regulator.h>

#include "gpio.h"
#include "panel.h"
@@ -23,6 +24,7 @@
.settings = reg_settings,
.setting_counts = ARRAY_SIZE(reg_settings),
};
+ mainboard_set_regulator_voltage(MTK_REGULATOR_VDD18, 1900000);
power_on_mipi_panel(&cfg);
}

diff --git a/src/mainboard/google/geralt/regulator.c b/src/mainboard/google/geralt/regulator.c
index f3b4407..8f0d7cb 100644
--- a/src/mainboard/google/geralt/regulator.c
+++ b/src/mainboard/google/geralt/regulator.c
@@ -38,6 +38,8 @@

if (id == MT6359P_SIM1)
mt6359p_set_vsim1_voltage(voltage_uv);
+ else if (id == MT6359P_VM18)
+ mt6359p_set_vm18_voltage(voltage_uv);
else
mt6359p_buck_set_voltage(id, voltage_uv);
}

To view, visit change 80198. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I6d6193d45409f53c0b656890c44ddaef253c5e01
Gerrit-Change-Number: 80198
Gerrit-PatchSet: 1
Gerrit-Owner: cong yang <yangcong5@huaqin.corp-partner.google.com>
Gerrit-MessageType: newchange