[PATCH v4 2/2] BeaglePlay: enable IT66121 HDMI bridge and video stack

Shaurya Rane <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot.general,gmane.comp.boot-loaders.u-boot
Message-ID <[email protected]>
Bring in DTS bootph-all tags for the DSS, I2C2, HDMI bridge and
pinmux nodes, plus defconfig options for TIDSS, VIDEO_BRIDGE_ITE_IT66121,
BMP and splash screen support.

Signed-off-by: Shaurya Rane <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
---

Changes in v4:
 - Drop the redundant bootph-all from the &main_pmx0, &dss_ports and
   &main_i2c2 parent nodes; binman's scan_and_prop_bootph() already
   propagates it up from the subnodes that carry it (per Moteen's
   review).
 - Reorder the new defconfig entries into the canonical
   'make savedefconfig' order instead of appending them at the end,
   which also moves CONFIG_CMD_BMP up with the other CONFIG_CMD_*
   options.
 - Drop CONFIG_DM_VIDEO=y (no such symbol exists any more) and
   CONFIG_BMP=y (selected implicitly). Verified with savedefconfig
   that the resulting .config is unchanged.

 arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 36 ++++++++++++++++++++
 configs/am62x_beagleplay_a53_defconfig       | 11 ++++++
 2 files changed, 47 insertions(+)

diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
index 2a4f0e45365..1c033f73fff 100644
--- a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
@@ -322,3 +322,39 @@
 &cpsw_port2 {
 	status = "disabled";
 };
+
+/* ===== Display / HDMI support for U-Boot splash screen ===== */
+
+&main_pmx0 {
+	dss0_pins_default {
+		bootph-all;
+	};
+
+	hdmi_gpio_pins_default {
+		bootph-all;
+	};
+
+	i2c2_1v8_pins_default {
+		bootph-all;
+	};
+};
+
+&dss {
+	bootph-all;
+};
+
+&dss_ports {
+	port@1 {
+		bootph-all;
+	};
+};
+
+&main_i2c2 {
+	bridge-hdmi@4c {
+		bootph-all;
+	};
+};
+
+&main_gpio0 {
+	bootph-all;
+};
diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig
index c9bc7cd8d39..237d3d43e0f 100644
--- a/configs/am62x_beagleplay_a53_defconfig
+++ b/configs/am62x_beagleplay_a53_defconfig
@@ -50,6 +50,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_GPIO_READ=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_BMP=y
 CONFIG_CMD_EFIDEBUG=y
 CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
@@ -117,6 +118,16 @@ CONFIG_SOC_TI=y
 CONFIG_SYSRESET=y
 CONFIG_SPL_SYSRESET=y
 CONFIG_SYSRESET_TI_SCI=y
+CONFIG_VIDEO=y
+CONFIG_VIDEO_LOGO=y
+CONFIG_BACKLIGHT_GPIO=y
+CONFIG_SYS_WHITE_ON_BLACK=y
+CONFIG_I2C_EDID=y
+CONFIG_VIDEO_TIDSS=y
+CONFIG_VIDEO_BRIDGE=y
+CONFIG_VIDEO_BRIDGE_ITE_IT66121=y
+CONFIG_SPLASH_SCREEN=y
+CONFIG_SPLASH_SCREEN_ALIGN=y
 CONFIG_EXT4_WRITE=y
 CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
 CONFIG_LZO=y
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.