From 58d2947855da6986eaf42b08db5c693709f50eac Mon Sep 17 00:00:00 2001 From: Bo-Chen Chen Date: Mon, 5 Dec 2022 14:04:27 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70403 Reviewed-by: Yidi Lin Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- src/mainboard/google/geralt/display.c | 2 +- src/mainboard/google/geralt/gpio.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mainboard/google/geralt/display.c b/src/mainboard/google/geralt/display.c index eaee6c815a..5c81434fea 100644 --- a/src/mainboard/google/geralt/display.c +++ b/src/mainboard/google/geralt/display.c @@ -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); } diff --git a/src/mainboard/google/geralt/gpio.h b/src/mainboard/google/geralt/gpio.h index df2520a725..1840f21860 100644 --- a/src/mainboard/google/geralt/gpio.h +++ b/src/mainboard/google/geralt/gpio.h @@ -5,6 +5,7 @@ #include +#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) -- cgit v1.2.3