summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorLiju-Clr Chen <liju-clr.chen@mediatek.com>2022-12-15 13:40:41 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-12-16 17:05:05 +0000
commit26a8dea551befff05ed1082c808851ee176291ec (patch)
tree09f2f5019ac7bbaac6807c4cfa2ee8cd1dedad80 /src/mainboard/google
parentf57155bca484796880ec70b7d089a95cbf0589d2 (diff)
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>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/geralt/gpio.h2
-rw-r--r--src/mainboard/google/geralt/panel_geralt.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/geralt/gpio.h b/src/mainboard/google/geralt/gpio.h
index 5f55917664..864b3f9b2b 100644
--- a/src/mainboard/google/geralt/gpio.h
+++ b/src/mainboard/google/geralt/gpio.h
@@ -18,7 +18,7 @@
#define GPIO_EDP_HPD_1V8 GPIO(GPIO17)
#define GPIO_EN_PP3300_EDP_DISP_X GPIO(DSI1_LCM_RST)
-#define GPIO_MIPI_PANEL_BL_PWM GPIO(DISP_PWM0)
+#define GPIO_MIPI_BL_PWM_1V8 GPIO(DISP_PWM0)
void setup_chromeos_gpios(void);
diff --git a/src/mainboard/google/geralt/panel_geralt.c b/src/mainboard/google/geralt/panel_geralt.c
index dfcd721fd3..33e1540a87 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 @@ void fill_lp_backlight_gpios(struct lb_gpios *gpios)
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[] = {