video: samsung: Drop old LCD code
authorSimon Glass <sjg@chromium.org>
Sun, 16 Oct 2022 21:54:35 +0000 (15:54 -0600)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 19:07:17 +0000 (20:07 +0100)
This relies on the old LCD implementation which is to be removed. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-exynos/include/mach/mipi_dsim.h
board/samsung/common/board.c
board/samsung/common/misc.c
board/samsung/trats/trats.c
board/samsung/trats2/trats2.c
board/samsung/universal_c210/universal.c
drivers/video/exynos/exynos_mipi_dsi_common.c
include/libtizen.h

index 20e6ce7..5e2b172 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <linux/list.h>
 #include <linux/fb.h>
-#include <lcd.h>
 
 #define PANEL_NAME_SIZE                (32)
 
index 04cfc5d..49d4024 100644 (file)
@@ -26,7 +26,6 @@
 #include <asm/arch/pinmux.h>
 #include <asm/arch/power.h>
 #include <asm/arch/system.h>
-#include <lcd.h>
 #include <i2c.h>
 #include <mmc.h>
 #include <stdio_dev.h>
index ee6d2d2..9c0ec29 100644 (file)
@@ -7,7 +7,6 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
-#include <lcd.h>
 #include <libtizen.h>
 #include <asm/global_data.h>
 #include <linux/delay.h>
index 24bf355..1608d60 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <common.h>
 #include <env.h>
-#include <lcd.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
index da7f0dc..93c9714 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <common.h>
-#include <lcd.h>
 #include <log.h>
 #include <asm/gpio.h>
 #include <asm/arch/pinmux.h>
@@ -282,24 +281,3 @@ int g_dnl_board_usb_cable_connected(void)
 #endif
 }
 #endif
-
-/*
- * LCD
- */
-
-#ifdef CONFIG_LCD
-int mipi_power(void)
-{
-#if !CONFIG_IS_ENABLED(DM_I2C) /* TODO(maintainer): Convert to driver model */
-       struct pmic *p = pmic_get("MAX77686_PMIC");
-
-       /* LDO8 VMIPI_1.0V_AP */
-       max77686_set_ldo_mode(p, 8, OPMODE_ON);
-       /* LDO10 VMIPI_1.8V_AP */
-       max77686_set_ldo_mode(p, 10, OPMODE_ON);
-#endif
-
-       return 0;
-}
-
-#endif /* LCD */
index 078db0c..37c9d7f 100644 (file)
@@ -9,7 +9,6 @@
 #include <env.h>
 #include <log.h>
 #include <spi.h>
-#include <lcd.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
index ab7d61a..be67ceb 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include <common.h>
-#include <lcd.h>
 #include <log.h>
 #include <linux/delay.h>
 #include <linux/err.h>
index 655d4cb..15e0145 100644 (file)
@@ -9,8 +9,4 @@
 
 #define HD_RESOLUTION  0
 
-#ifdef CONFIG_LCD
-void get_tizen_logo_info(vidinfo_t *vid);
-#endif
-
 #endif /* _LIBTIZEN_H_ */