From: Marek Vasut <[email protected]>

The Renesas DSC Display Stream Compression is a bridge embedded in the
Renesas R-Car V4H SoC. The bridge is placed between DU and DSI1 units.

The current dtsi file does not represent the DSC at all, and thus the
pipeline for DSI1 has not been functional.

Signed-off-by: Marek Vasut <[email protected]>
[tomi.valkeinen: separated the sparrowhawk changes]
Signed-off-by: Tomi Valkeinen <[email protected]>
---
 arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi 
b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi
index 82a7278836e5..52a6176f9fd0 100644
--- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi
@@ -2298,6 +2298,35 @@ du_out_dsi0: endpoint {
                                port@1 {
                                        reg = <1>;
                                        du_out_dsi1: endpoint {
+                                               remote-endpoint = 
<&dsc_in_dsi1>;
+                                       };
+                               };
+                       };
+               };
+
+               dsc: dsc@feb8d000 {
+                       compatible = "renesas,r8a779g0-dsc";
+                       reg = <0 0xfeb8d000 0 0x400>;
+                       interrupts = <GIC_SPI 559 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 2819>;
+                       power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
+                       resets = <&cpg 2819>;
+                       status = "disabled";
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
+                                       dsc_in_dsi1: endpoint {
+                                               remote-endpoint = 
<&du_out_dsi1>;
+                                       };
+                               };
+
+                               port@1 {
+                                       reg = <1>;
+                                       dsc_out_dsi1: endpoint {
                                                remote-endpoint = <&dsi1_in>;
                                        };
                                };
@@ -2534,7 +2563,7 @@ ports {
                                port@0 {
                                        reg = <0>;
                                        dsi1_in: endpoint {
-                                               remote-endpoint = 
<&du_out_dsi1>;
+                                               remote-endpoint = 
<&dsc_out_dsi1>;
                                        };
                                };
 

-- 
2.43.0

Reply via email to