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 <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
---
 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@0 {
+                               reg = <0>;
+                               unused_ep: endpoint {
+                               };
+                       };
+
+                       port@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

Reply via email to