mb/google/geralt: Correct the backlight enabled GPIO naming

According to the schematic, we use the same backlight enabled GPIO
naming in eDP and MIPI panels.

BUG=b:244208960
TEST=emerge-geralt coreboot

Change-Id: If8d3ca7098c6b22af41861bba74b764d71d27e1b
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70403
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Bo-Chen Chen
2022-12-05 14:04:27 +08:00
committed by Yu-Ping Wu
parent c5d0c94868
commit 58d2947855
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
/* Set up backlight control pins as output pin and power-off by default */
static void configure_edp_panel_backlight(void)
{
gpio_output(GPIO_AP_EDP_BKLTEN, 0);
gpio_output(GPIO_AP_DISP_BKLTEN, 0);
gpio_output(GPIO_EDP_BL_PWM_1V8, 0);
}

View File

@@ -5,6 +5,7 @@
#include <soc/gpio.h>
#define GPIO_AP_DISP_BKLTEN GPIO(GPIO01)
#define GPIO_AP_EC_WARM_RST_REQ GPIO(DPI_HSYNC)
#define GPIO_AP_WP_ODL GPIO(GPIO15)
#define GPIO_BEEP_ON_OD GPIO(I2SIN_WS)
@@ -13,7 +14,6 @@
#define GPIO_GSC_AP_INT_ODL GPIO(GPIO00)
#define GPIO_XHCI_INIT_DONE GPIO(DPI_CK)
#define GPIO_AP_EDP_BKLTEN GPIO(GPIO01)
#define GPIO_EDP_BL_PWM_1V8 GPIO(DISP_PWM1)
#define GPIO_EDP_HPD_1V8 GPIO(GPIO17)
#define GPIO_EN_PP3300_EDP_DISP_X GPIO(DSI1_LCM_RST)