Commit 25132737 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard

ARM: dts: sun6i: Add cross pipeline connections between DRCs and TCONs

The TCONs on A31/A31s can select either backend as its input. As there
is no configurable mux in the backend or DRC to redirect their output,
or for the DRC to select an input, the connections are presumably from
the each DRC to each TCON, with the TCON having two input ports, like
the following diagram:

	Backend 0  -------  DRC 0  ------- [0]  TCON 0
				   --   -- [1]
                                     \ /
				      X
				     / \
				   --   -- [0]
	Backend 1  -------  DRC 1  ------- [1]  TCON 1

Add these connection endpoints to the device tree.
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 9b3fa732
...@@ -278,6 +278,11 @@ tcon0_in_drc0: endpoint@0 { ...@@ -278,6 +278,11 @@ tcon0_in_drc0: endpoint@0 {
reg = <0>; reg = <0>;
remote-endpoint = <&drc0_out_tcon0>; remote-endpoint = <&drc0_out_tcon0>;
}; };
tcon0_in_drc1: endpoint@1 {
reg = <1>;
remote-endpoint = <&drc1_out_tcon0>;
};
}; };
tcon0_out: port@1 { tcon0_out: port@1 {
...@@ -311,6 +316,11 @@ tcon1_in: port@0 { ...@@ -311,6 +316,11 @@ tcon1_in: port@0 {
#size-cells = <0>; #size-cells = <0>;
reg = <0>; reg = <0>;
tcon1_in_drc0: endpoint@0 {
reg = <0>;
remote-endpoint = <&drc0_out_tcon1>;
};
tcon1_in_drc1: endpoint@1 { tcon1_in_drc1: endpoint@1 {
reg = <1>; reg = <1>;
remote-endpoint = <&drc1_out_tcon1>; remote-endpoint = <&drc1_out_tcon1>;
...@@ -1079,6 +1089,11 @@ drc1_out: port@1 { ...@@ -1079,6 +1089,11 @@ drc1_out: port@1 {
#size-cells = <0>; #size-cells = <0>;
reg = <1>; reg = <1>;
drc1_out_tcon0: endpoint@0 {
reg = <0>;
remote-endpoint = <&tcon0_in_drc1>;
};
drc1_out_tcon1: endpoint@1 { drc1_out_tcon1: endpoint@1 {
reg = <1>; reg = <1>;
remote-endpoint = <&tcon1_in_drc1>; remote-endpoint = <&tcon1_in_drc1>;
...@@ -1170,6 +1185,11 @@ drc0_out_tcon0: endpoint@0 { ...@@ -1170,6 +1185,11 @@ drc0_out_tcon0: endpoint@0 {
reg = <0>; reg = <0>;
remote-endpoint = <&tcon0_in_drc0>; remote-endpoint = <&tcon0_in_drc0>;
}; };
drc0_out_tcon1: endpoint@1 {
reg = <1>;
remote-endpoint = <&tcon1_in_drc0>;
};
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment