From 773d4b8fb00613b373d81e877a7014c338542e86 Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Mon, 2 Oct 2023 16:44:55 +0800 Subject: [PATCH] mb/google/geralt: Remove SAMSUNG_ATANA33XC20 panel support This panel is never actually enabled on Geralt. The derived project won't use this panel either. Therefore, remove this panel support. BUG=none BRANCH=none TEST=emerge-geralt coreboot Change-Id: I97ed5b341724ed42098b2c17d0eb75eab881dbb1 Signed-off-by: Yidi Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/78210 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/mainboard/google/geralt/panel_geralt.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/mainboard/google/geralt/panel_geralt.c b/src/mainboard/google/geralt/panel_geralt.c index 443703d6f6..455f7591fe 100644 --- a/src/mainboard/google/geralt/panel_geralt.c +++ b/src/mainboard/google/geralt/panel_geralt.c @@ -24,11 +24,6 @@ static void configure_mipi_pwm_backlight(void) gpio_output(GPIO_MIPI_BL_PWM_1V8, 0); } -static void configure_edp_backlight(void) -{ - gpio_output(GPIO_AP_DISP_BKLTEN, 0); -} - static void power_on_mipi_boe_tv110c9m_ll0(void) { const struct tps65132s_reg_setting reg_settings[] = { @@ -61,13 +56,6 @@ static void power_on_mipi_boe_tv110c9m_ll0(void) mdelay(6); } -static void power_on_edp_samsung_atana33xc20(void) -{ - gpio_output(GPIO_EN_PP3300_EDP_DISP_X, 1); - gpio_set_pull(GPIO_EDP_HPD_1V8, GPIO_PULL_ENABLE, GPIO_PULL_UP); - gpio_set_mode(GPIO_EDP_HPD_1V8, 4); -} - static struct panel_description panels[] = { [1] = { .name = "BOE_TV110C9M_LL0", @@ -76,13 +64,6 @@ static struct panel_description panels[] = { .disp_path = DISP_PATH_MIPI, .pwm_ctrl_gpio = true, }, - [11] = { - .name = "SAMSUNG_ATANA33XC20", - .power_on = power_on_edp_samsung_atana33xc20, - .configure_panel_backlight = configure_edp_backlight, - .disp_path = DISP_PATH_EDP, - .pwm_ctrl_gpio = false, - }, }; struct panel_description *get_panel_description(uint32_t panel_id)