From 3c9370f7b6bffd697c9907a7139e9df5b0d4b9df Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 20 Nov 2023 10:14:11 +0000
Subject: [PATCH] enable OTG_EN_OC_GPIO0_C2 vcc3v3_lcd0_n gpio

---
 u-boot/drivers/video/Kconfig |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/u-boot/drivers/video/Kconfig b/u-boot/drivers/video/Kconfig
index 27cb8ef..55a27e6 100644
--- a/u-boot/drivers/video/Kconfig
+++ b/u-boot/drivers/video/Kconfig
@@ -14,6 +14,21 @@
 	  option compiles in the video uclass and routes all LCD/video access
 	  through this.
 
+config SPL_DM_VIDEO
+	bool "Enable driver model support for LCD/video in SPL"
+	depends on DM_VIDEO && SPL
+	help
+	  This enables driver model for LCD and video devices in SPL. These support
+	  a bitmap display of various sizes and depths which can be drawn on
+	  to display a command-line console or splash screen. Enabling this
+	  option compiles in the video uclass and routes all LCD/video access
+	  through this.
+
+config SPL_VIDEO_BUF
+	hex "SPL video memory buffer for any use"
+	depends on SPL_DM_VIDEO
+	default 0xa200000
+
 config BACKLIGHT_PWM
 	bool "Generic PWM based Backlight Driver"
 	depends on DM_VIDEO && DM_PWM
@@ -390,6 +405,12 @@
 	help
 	   This enables library for accessing EDID data from an LCD panel.
 
+config SPL_I2C_EDID
+	bool "Enable EDID library in SPL"
+	depends on DM_I2C && SPL_DM_VIDEO
+	help
+	  This enables library in SPL for accessing EDID data from an LCD panel.
+
 config DISPLAY
 	bool "Enable Display support"
 	depends on DM

--
Gitblit v1.6.2