The mt8188 SoC provides an HDMI encoder and PHY fed through the DPI1
interface attached to the vdosys1 display data path.

Add the U-Boot specific bits to mt8390-genio-common-u-boot.dtsi:
- a "memory-region" phandle on the hdmi node pointing at the framebuffer
  reserved-memory region;
- aliases for the pipeline resources that have no upstream alias (the
  vdosys1 syscon and the larb2/larb3 SMI larbs), which the video driver
  resolves directly since U-Boot has no DRM framework to walk the graph.

Signed-off-by: Julien Stephan <[email protected]>
---
 arch/arm/dts/mt8390-genio-common-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/mt8390-genio-common-u-boot.dtsi 
b/arch/arm/dts/mt8390-genio-common-u-boot.dtsi
index a4db2186e2e..be1543d1499 100644
--- a/arch/arm/dts/mt8390-genio-common-u-boot.dtsi
+++ b/arch/arm/dts/mt8390-genio-common-u-boot.dtsi
@@ -19,3 +19,8 @@
                };
        };
 };
+
+&hdmi {
+       /* U-Boot specific: the framebuffer lives in this reserved region */
+       memory-region = <&framebuffer>;
+};

-- 
2.55.0

Reply via email to