[PATCH v3 03/13] sandbox: Add a fake DSI controller and link it to the panel
Miquel Raynal
miquel.raynal at bootlin.com
Fri Jan 10 19:43:00 CET 2025
Use a graph endpoint representation for that in order to test a new core
DM helper going through these properties.
Display pipelines typically include graph endpoints, but the helper is
generic and would work with any device type.
Reviewed-by: Simon Glass <sjg at chromium.org>
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
---
arch/sandbox/dts/test.dts | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 36cfbf213e4cfe17d9ca98d6e40f7caf95631254..f7d4d9824454207f2d4650739e43a36e4936ef9e 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -295,6 +295,23 @@
dsi_host: dsi_host {
compatible = "sandbox,dsi-host";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port at 0 {
+ reg = <0>;
+ unused_ep: endpoint {
+ };
+ };
+
+ port at 1 {
+ reg = <1>;
+ dispc_out1: endpoint {
+ remote-endpoint = <&panel_to_dispc>;
+ };
+ };
+ };
};
a-test {
@@ -1359,6 +1376,12 @@
panel {
compatible = "simple-panel";
backlight = <&backlight 0 100>;
+
+ port {
+ panel_to_dispc: endpoint {
+ remote-endpoint = <&dispc_out1>;
+ };
+ };
};
scsi {
--
2.47.0
More information about the U-Boot
mailing list