Hello Chris Wang,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/30033
to review the following change.
Change subject: mb/google/kahlee: the backlight doesn't be enabled if only update RW ......................................................................
mb/google/kahlee: the backlight doesn't be enabled if only update RW
Since the initial for APU_EDP_BKLTEN_L was moved to early init. If only update RW section, this GPIO will never be initialized. To uses gpio_output() instead gpio_set(), then the GPIO will be programmed in mainboard_smi_apmc().
Signed-off-by: Chris Wang chris.wang@amd.corp-partner.google.com Change-Id: Ie6606d14bdc91a7f42bf235f64c3d23103cf5915 --- M src/mainboard/google/kahlee/OemCustomize.c M src/mainboard/google/kahlee/smihandler.c 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/30033/1
diff --git a/src/mainboard/google/kahlee/OemCustomize.c b/src/mainboard/google/kahlee/OemCustomize.c index fc8ff32..5b2221e 100644 --- a/src/mainboard/google/kahlee/OemCustomize.c +++ b/src/mainboard/google/kahlee/OemCustomize.c @@ -90,7 +90,7 @@ * GPIO 133 - Backlight enable (active low) * Pass control of the backlight to the video BIOS */ - gpio_set(GPIO_133, 0); + gpio_output(GPIO_133, 0); printk(BIOS_INFO, "Change panel init timing\n"); params->LvdsPowerOnSeqVaryBlToBlon = cfg->lvds_poseq_varybl_to_blon; diff --git a/src/mainboard/google/kahlee/smihandler.c b/src/mainboard/google/kahlee/smihandler.c index 83757a8..f5decda 100644 --- a/src/mainboard/google/kahlee/smihandler.c +++ b/src/mainboard/google/kahlee/smihandler.c @@ -43,7 +43,7 @@ MAINBOARD_EC_SMI_EVENTS);
/* Enable backlight - GPIO active low */ - gpio_set(GPIO_133, 0); + gpio_output(GPIO_133, 0);
return 0; }