diff options
author | Bo-Chen Chen <rex-bc.chen@mediatek.com> | 2022-12-05 14:04:27 +0800 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2022-12-12 08:27:15 +0000 |
commit | 58d2947855da6986eaf42b08db5c693709f50eac (patch) | |
tree | c54352357337378b39760fea32463f99d878f357 /src/mainboard/google | |
parent | c5d0c94868ded8999b0ad6447b315e0d6283a421 (diff) |
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>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/geralt/display.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/geralt/gpio.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 <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) |