Re: [PATCH v2 09/11] arm64: dts: r8a77965: Add HDMI encoder instance

2018-04-30 Thread Simon Horman
On Fri, Apr 27, 2018 at 05:57:20PM +0100, Kieran Bingham wrote:
> Add the HDMI encoder to the R8A77965 DT in disabled state.
> 
> Based on a similar patch of the R8A7796 device tree
> by Laurent Pinchart .
> 
> Signed-off-by: Takeshi Kihara 
> [Kieran: Rebase to top of tree]
> Signed-off-by: Kieran Bingham 
> Reviewed-by: Laurent Pinchart 

Thanks, applied.


[PATCH v2 09/11] arm64: dts: r8a77965: Add HDMI encoder instance

2018-04-27 Thread Kieran Bingham
Add the HDMI encoder to the R8A77965 DT in disabled state.

Based on a similar patch of the R8A7796 device tree
by Laurent Pinchart .

Signed-off-by: Takeshi Kihara 
[Kieran: Rebase to top of tree]
Signed-off-by: Kieran Bingham 
Reviewed-by: Laurent Pinchart 
---
v2:
 - Provide correct CPC MSSR header
---
 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 30 ++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi 
b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index a35ea2f32da2..b46af2744135 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -8,7 +8,7 @@
  * Copyright (C) 2016 Renesas Electronics Corp.
  */
 
-#include 
+#include 
 #include 
 #include 
 
@@ -1105,6 +1105,33 @@
};
};
 
+   hdmi0: hdmi@fead {
+   compatible = "renesas,r8a77965-hdmi",
+"renesas,rcar-gen3-hdmi";
+   reg = <0 0xfead 0 0x1>;
+   interrupts = ;
+   clocks = < CPG_MOD 729>,
+< CPG_CORE R8A77965_CLK_HDMI>;
+   clock-names = "iahb", "isfr";
+   power-domains = < R8A77965_PD_ALWAYS_ON>;
+   resets = < 729>;
+   status = "disabled";
+
+   ports {
+   #address-cells = <1>;
+   #size-cells = <0>;
+   port@0 {
+   reg = <0>;
+   dw_hdmi0_in: endpoint {
+   remote-endpoint = 
<_out_hdmi0>;
+   };
+   };
+   port@1 {
+   reg = <1>;
+   };
+   };
+   };
+
du: display@feb0 {
compatible = "renesas,du-r8a77965";
reg = <0 0xfeb0 0 0x8>;
@@ -1132,6 +1159,7 @@
port@1 {
reg = <1>;
du_out_hdmi0: endpoint {
+   remote-endpoint = 
<_hdmi0_in>;
};
};
port@2 {
-- 
2.17.0