aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-02-19 22:01:37 +0100
committerLubomir Rintel <lkundrak@v3.sk>2019-04-19 07:28:33 +0200
commita1e630060cf96cce8feb2c308b99df737c644918 (patch)
tree538794c7e000b299f5b0e8baf6561d6555a83d53
parented47c123158961a3c9cb5b9cbfadd1448143b384 (diff)
downloadopenfirmware-a1e630060cf96cce8feb2c308b99df737c644918.tar.gz
olpc/1.75: connect the /panel to the /dcon
Link the two following the bindings/graph.txt binding to describe the display pipeline for the DRM driver.
-rw-r--r--cpu/arm/olpc/1.75/lcdcfg.fth8
-rw-r--r--dev/olpc/dcon/mmp2dcon.fth5
2 files changed, 13 insertions, 0 deletions
diff --git a/cpu/arm/olpc/1.75/lcdcfg.fth b/cpu/arm/olpc/1.75/lcdcfg.fth
index 31470f18..0296bf00 100644
--- a/cpu/arm/olpc/1.75/lcdcfg.fth
+++ b/cpu/arm/olpc/1.75/lcdcfg.fth
@@ -36,6 +36,14 @@ new-device
\ field value 1.
[ifdef] mmp3 h# 20001102 [else] h# 40001102 [then] " clock-divider-regval" integer-property
+ new-device
+ " port" device-name
+ new-device
+ " endpoint" device-name
+ \ " /dcon-i2c/dcon@d/ports/port@1/endpoint" encode-phandle " remote-endpoint" property
+ finish-device
+ finish-device
+
finish-device
device-end
diff --git a/dev/olpc/dcon/mmp2dcon.fth b/dev/olpc/dcon/mmp2dcon.fth
index 3a8f652f..ccb30b83 100644
--- a/dev/olpc/dcon/mmp2dcon.fth
+++ b/dev/olpc/dcon/mmp2dcon.fth
@@ -66,6 +66,7 @@ new-device
1 " reg" integer-property
new-device
" endpoint" device-name
+ " /panel/port/endpoint" encode-phandle " remote-endpoint" property
finish-device
finish-device
finish-device
@@ -356,6 +357,10 @@ end-package
" /dcon/ports/port@0/endpoint" encode-phandle " remote-endpoint" property
device-end
+" /panel/port/endpoint" find-device
+ " /dcon/ports/port@1/endpoint" encode-phandle " remote-endpoint" property
+device-end
+
stand-init:
has-dcon-ram? 0= if
" /dcon" find-device