Re: [PATCH v2 08/10] arm64: dts: renesas: r8a77961: Add HDMI device nodes

2020-09-10 Thread Geert Uytterhoeven
On Tue, Sep 8, 2020 at 2:35 AM Kuninori Morimoto
 wrote:
> From: Kuninori Morimoto 
>
> This patch adds HDMI device nodes for R-Car M3-W+ (r8a77961) SoC.
> This patch was tested on R-Car M3-W+ Salvator-XS board.
>
> Signed-off-by: Kuninori Morimoto 

Reviewed-by: Geert Uytterhoeven 

Gr{oetje,eeting}s,

Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [PATCH v2 08/10] arm64: dts: renesas: r8a77961: Add HDMI device nodes

2020-09-07 Thread Laurent Pinchart
Hi Morimoto-san,

Thank you for the patch.

On Tue, Sep 08, 2020 at 09:35:15AM +0900, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto 
> 
> This patch adds HDMI device nodes for R-Car M3-W+ (r8a77961) SoC.
> This patch was tested on R-Car M3-W+ Salvator-XS board.
> 
> Signed-off-by: Kuninori Morimoto 

Reviewed-by: Laurent Pinchart 

> ---
>  arch/arm64/boot/dts/renesas/r8a77961.dtsi | 12 +++-
>  1 file changed, 11 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a77961.dtsi 
> b/arch/arm64/boot/dts/renesas/r8a77961.dtsi
> index c7fabd9e875b..7f21491f6436 100644
> --- a/arch/arm64/boot/dts/renesas/r8a77961.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a77961.dtsi
> @@ -2145,14 +2145,23 @@ port@1 {
>   };
>  
>   hdmi0: hdmi@fead {
> + compatible = "renesas,r8a77961-hdmi", 
> "renesas,rcar-gen3-hdmi";
>   reg = <0 0xfead 0 0x1>;
> - /* placeholder */
> + interrupts = ;
> + clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE 
> R8A77961_CLK_HDMI>;
> + clock-names = "iahb", "isfr";
> + power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
> + resets = <&cpg 729>;
> + status = "disabled";
>  
>   ports {
>   #address-cells = <1>;
>   #size-cells = <0>;
>   port@0 {
>   reg = <0>;
> + dw_hdmi0_in: endpoint {
> + remote-endpoint = 
> <&du_out_hdmi0>;
> + };
>   };
>   port@1 {
>   reg = <1>;
> @@ -2191,6 +2200,7 @@ du_out_rgb: endpoint {
>   port@1 {
>   reg = <1>;
>   du_out_hdmi0: endpoint {
> + remote-endpoint = 
> <&dw_hdmi0_in>;
>   };
>   };
>   port@2 {

-- 
Regards,

Laurent Pinchart
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH v2 08/10] arm64: dts: renesas: r8a77961: Add HDMI device nodes

2020-09-07 Thread Kuninori Morimoto


From: Kuninori Morimoto 

This patch adds HDMI device nodes for R-Car M3-W+ (r8a77961) SoC.
This patch was tested on R-Car M3-W+ Salvator-XS board.

Signed-off-by: Kuninori Morimoto 
---
 arch/arm64/boot/dts/renesas/r8a77961.dtsi | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a77961.dtsi 
b/arch/arm64/boot/dts/renesas/r8a77961.dtsi
index c7fabd9e875b..7f21491f6436 100644
--- a/arch/arm64/boot/dts/renesas/r8a77961.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77961.dtsi
@@ -2145,14 +2145,23 @@ port@1 {
};
 
hdmi0: hdmi@fead {
+   compatible = "renesas,r8a77961-hdmi", 
"renesas,rcar-gen3-hdmi";
reg = <0 0xfead 0 0x1>;
-   /* placeholder */
+   interrupts = ;
+   clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE 
R8A77961_CLK_HDMI>;
+   clock-names = "iahb", "isfr";
+   power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+   resets = <&cpg 729>;
+   status = "disabled";
 
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
+   dw_hdmi0_in: endpoint {
+   remote-endpoint = 
<&du_out_hdmi0>;
+   };
};
port@1 {
reg = <1>;
@@ -2191,6 +2200,7 @@ du_out_rgb: endpoint {
port@1 {
reg = <1>;
du_out_hdmi0: endpoint {
+   remote-endpoint = 
<&dw_hdmi0_in>;
};
};
port@2 {
-- 
2.25.1

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel