mb/google/skywalker: Add MIPI panel GPIOs via lb_gpio
Add MIPI panel related GPIOs to lb_gpio so Depthcharge can manage panel reset and power signals when needed. The following GPIOs are added: - panel_resx (GPIO_EN_PP3300_EDP_X) - mipi_iovcc_en (GPIO_EN_PP6000_MIPI_DISP) - mipi_tp_rstn (GPIO_TCHSCR_RST_1V8_L) This allows Depthcharge to release reset and disable IOVCC in the required order to meet the panel power-off timing specification. [1] Preliminary+specification+TL121BVMS07+-00+V01+20250721.pdf BUG=b:461907110 TEST=Boot Padme and check cbmem log is correct. BRANCH=skywalker Change-Id: I7f73e41bc4814e8a5ca3579d235001cfafb77bf9 Signed-off-by: Yang Wu <wuyang5@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90646 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b354b49d58
commit
49d34a6f6c
1 changed files with 10 additions and 0 deletions
|
|
@ -97,6 +97,16 @@ void fill_lb_gpios(struct lb_gpios *gpios)
|
|||
{GPIO_EDP_BL_EN_1V8.id, ACTIVE_HIGH, -1, "backlight enable"},
|
||||
};
|
||||
lb_add_gpios(gpios, edp_pwm_backlight_gpios, ARRAY_SIZE(edp_pwm_backlight_gpios));
|
||||
|
||||
if (CONFIG(BOARD_GOOGLE_PADME)) {
|
||||
/* Panel power control GPIOs for Depthcharge power-off sequence */
|
||||
struct lb_gpio mipi_panel_gpios[] = {
|
||||
{GPIO_EN_PP3300_EDP_X.id, ACTIVE_LOW, -1, "panel_resx"},
|
||||
{GPIO_EN_PP6000_MIPI_DISP.id, ACTIVE_HIGH, -1, "mipi_iovcc_en"},
|
||||
{GPIO_TCHSCR_RST_1V8_L.id, ACTIVE_LOW, -1, "mipi_tp_rstn"},
|
||||
};
|
||||
lb_add_gpios(gpios, mipi_panel_gpios, ARRAY_SIZE(mipi_panel_gpios));
|
||||
}
|
||||
}
|
||||
|
||||
int cr50_plat_irq_status(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue