mb/google/geralt: Revise the naming of MIPI PWM control GPIO
Rename the MIPI PWM control GPIO to be consistent with the schematic.
BUG=b:244208960
TEST=test firmware display pass for eDP and MIPI panels on MT8188 EVB
Change-Id: I6a3368d438cb50b257992260d1388f0b7e0f5ace
Signed-off-by: Liju-Clr Chen <liju-clr.chen@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70822
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
diff --git a/src/mainboard/google/geralt/panel_geralt.c b/src/mainboard/google/geralt/panel_geralt.c
index dfcd721..33e1540 100644
--- a/src/mainboard/google/geralt/panel_geralt.c
+++ b/src/mainboard/google/geralt/panel_geralt.c
@@ -12,7 +12,7 @@
static void configure_mipi_pwm_backlight(void)
{
gpio_output(GPIO_AP_DISP_BKLTEN, 0);
- gpio_output(GPIO_MIPI_PANEL_BL_PWM, 0);
+ gpio_output(GPIO_MIPI_BL_PWM_1V8, 0);
}
static void configure_edp_aux_backlight(void)
@@ -62,7 +62,7 @@
return;
struct lb_gpio mipi_pwm_gpios[] = {
- {GPIO_MIPI_PANEL_BL_PWM.id, ACTIVE_HIGH, -1, "PWM control"},
+ {GPIO_MIPI_BL_PWM_1V8.id, ACTIVE_HIGH, -1, "PWM control"},
};
struct lb_gpio edp_pwm_gpios[] = {