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>
This commit is contained in:
Liju-Clr Chen 2022-12-15 13:40:41 +08:00 committed by Felix Held
parent f57155bca4
commit 26a8dea551
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
#define GPIO_EDP_HPD_1V8 GPIO(GPIO17) #define GPIO_EDP_HPD_1V8 GPIO(GPIO17)
#define GPIO_EN_PP3300_EDP_DISP_X GPIO(DSI1_LCM_RST) #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); void setup_chromeos_gpios(void);

View File

@ -12,7 +12,7 @@
static void configure_mipi_pwm_backlight(void) static void configure_mipi_pwm_backlight(void)
{ {
gpio_output(GPIO_AP_DISP_BKLTEN, 0); 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) static void configure_edp_aux_backlight(void)
@ -62,7 +62,7 @@ void fill_lp_backlight_gpios(struct lb_gpios *gpios)
return; return;
struct lb_gpio mipi_pwm_gpios[] = { 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[] = { struct lb_gpio edp_pwm_gpios[] = {