linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: renesas: Merge hdmi0_con
@ 2021-11-24 15:28 Kieran Bingham
  2021-11-24 15:28 ` [PATCH 1/2] arm64: dts: renesas: ulcb: " Kieran Bingham
  2021-11-24 15:28 ` [PATCH 2/2] arm64: dts: renesas: salvator-common: " Kieran Bingham
  0 siblings, 2 replies; 7+ messages in thread
From: Kieran Bingham @ 2021-11-24 15:28 UTC (permalink / raw)
  To: linux-renesas-soc, devicetree, linux-kernel
  Cc: Geert Uytterhoeven, Magnus Damm, Rob Herring, Laurent Pinchart,
	Kieran Bingham

These two board files have created a reference to the existing hdmi0_con
node to update the endpoint.

I found this extra level of indirection confusing while parsing the
file, particularly as the node is in the same file.

Remove the reference node, and update the endpoint directly.

Kieran Bingham (2):
  arm64: dts: renesas: ulcb: Merge hdmi0_con
  arm64: dts: renesas: salvator-common: Merge hdmi0_con

 arch/arm64/boot/dts/renesas/salvator-common.dtsi | 5 +----
 arch/arm64/boot/dts/renesas/ulcb.dtsi            | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/2] arm64: dts: renesas: ulcb: Merge hdmi0_con
  2021-11-24 15:28 [PATCH 0/2] arm64: dts: renesas: Merge hdmi0_con Kieran Bingham
@ 2021-11-24 15:28 ` Kieran Bingham
  2021-11-24 16:14   ` Geert Uytterhoeven
  2021-11-24 22:23   ` Laurent Pinchart
  2021-11-24 15:28 ` [PATCH 2/2] arm64: dts: renesas: salvator-common: " Kieran Bingham
  1 sibling, 2 replies; 7+ messages in thread
From: Kieran Bingham @ 2021-11-24 15:28 UTC (permalink / raw)
  To: linux-renesas-soc, devicetree, linux-kernel
  Cc: Geert Uytterhoeven, Magnus Damm, Rob Herring, Laurent Pinchart,
	Kieran Bingham

The remote endpoint for the hdmi connector is specfied through a
reference to the hdmi0_con endpoint, which is in the same file.

Simplify by specifying the remote-endpoint directly in the hdmi0_con
endpoint.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
---
 arch/arm64/boot/dts/renesas/ulcb.dtsi | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
index 7edffe7f8cfa..a7e93df4ced8 100644
--- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
@@ -48,6 +48,7 @@ hdmi0-out {
 
 		port {
 			hdmi0_con: endpoint {
+				remote-endpoint = <&rcar_dw_hdmi0_out>;
 			};
 		};
 	};
@@ -199,10 +200,6 @@ dw_hdmi0_snd_in: endpoint {
 	};
 };
 
-&hdmi0_con {
-	remote-endpoint = <&rcar_dw_hdmi0_out>;
-};
-
 &i2c2 {
 	pinctrl-0 = <&i2c2_pins>;
 	pinctrl-names = "default";
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] arm64: dts: renesas: salvator-common: Merge hdmi0_con
  2021-11-24 15:28 [PATCH 0/2] arm64: dts: renesas: Merge hdmi0_con Kieran Bingham
  2021-11-24 15:28 ` [PATCH 1/2] arm64: dts: renesas: ulcb: " Kieran Bingham
@ 2021-11-24 15:28 ` Kieran Bingham
  2021-11-24 16:15   ` Geert Uytterhoeven
  2021-11-24 22:24   ` Laurent Pinchart
  1 sibling, 2 replies; 7+ messages in thread
From: Kieran Bingham @ 2021-11-24 15:28 UTC (permalink / raw)
  To: linux-renesas-soc, devicetree, linux-kernel
  Cc: Geert Uytterhoeven, Magnus Damm, Rob Herring, Laurent Pinchart,
	Kieran Bingham

The remote endpoint for the hdmi connector is specfied through a
reference to the hdmi0_con endpoint, which is in the same file.

Simplify by specifying the remote-endpoint directly in the hdmi0_con
endpoint.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
---
 arch/arm64/boot/dts/renesas/salvator-common.dtsi | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/salvator-common.dtsi b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
index bf37777dca31..6092dc4531ad 100644
--- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
@@ -97,6 +97,7 @@ hdmi0-out {
 
 		port {
 			hdmi0_con: endpoint {
+				remote-endpoint = <&rcar_dw_hdmi0_out>;
 			};
 		};
 	};
@@ -424,10 +425,6 @@ dw_hdmi0_snd_in: endpoint {
 	};
 };
 
-&hdmi0_con {
-	remote-endpoint = <&rcar_dw_hdmi0_out>;
-};
-
 #ifdef SOC_HAS_HDMI1
 &hdmi1 {
 	status = "okay";
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] arm64: dts: renesas: ulcb: Merge hdmi0_con
  2021-11-24 15:28 ` [PATCH 1/2] arm64: dts: renesas: ulcb: " Kieran Bingham
@ 2021-11-24 16:14   ` Geert Uytterhoeven
  2021-11-24 22:23   ` Laurent Pinchart
  1 sibling, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2021-11-24 16:14 UTC (permalink / raw)
  To: Kieran Bingham
  Cc: Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Magnus Damm, Rob Herring,
	Laurent Pinchart

On Wed, Nov 24, 2021 at 4:28 PM Kieran Bingham
<kieran.bingham+renesas@ideasonboard.com> wrote:
> The remote endpoint for the hdmi connector is specfied through a
> reference to the hdmi0_con endpoint, which is in the same file.
>
> Simplify by specifying the remote-endpoint directly in the hdmi0_con
> endpoint.
>
> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.17.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] arm64: dts: renesas: salvator-common: Merge hdmi0_con
  2021-11-24 15:28 ` [PATCH 2/2] arm64: dts: renesas: salvator-common: " Kieran Bingham
@ 2021-11-24 16:15   ` Geert Uytterhoeven
  2021-11-24 22:24   ` Laurent Pinchart
  1 sibling, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2021-11-24 16:15 UTC (permalink / raw)
  To: Kieran Bingham
  Cc: Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Magnus Damm, Rob Herring,
	Laurent Pinchart

Hi Kieran,

On Wed, Nov 24, 2021 at 4:28 PM Kieran Bingham
<kieran.bingham+renesas@ideasonboard.com> wrote:
> The remote endpoint for the hdmi connector is specfied through a
> reference to the hdmi0_con endpoint, which is in the same file.
>
> Simplify by specifying the remote-endpoint directly in the hdmi0_con
> endpoint.

Thanks for your patch!
I missed that when working on commit b1158c5e14b30396 ("arm64: dts:
renesas: Consolidate Salvator-X(S) HDMI0 handling")...

> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.17.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] arm64: dts: renesas: ulcb: Merge hdmi0_con
  2021-11-24 15:28 ` [PATCH 1/2] arm64: dts: renesas: ulcb: " Kieran Bingham
  2021-11-24 16:14   ` Geert Uytterhoeven
@ 2021-11-24 22:23   ` Laurent Pinchart
  1 sibling, 0 replies; 7+ messages in thread
From: Laurent Pinchart @ 2021-11-24 22:23 UTC (permalink / raw)
  To: Kieran Bingham
  Cc: linux-renesas-soc, devicetree, linux-kernel, Geert Uytterhoeven,
	Magnus Damm, Rob Herring

Hi Kieran,

Thank you for the patch.

On Wed, Nov 24, 2021 at 03:28:14PM +0000, Kieran Bingham wrote:
> The remote endpoint for the hdmi connector is specfied through a
> reference to the hdmi0_con endpoint, which is in the same file.
> 
> Simplify by specifying the remote-endpoint directly in the hdmi0_con
> endpoint.
> 
> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

I saw this earlier today and made a note to fix it. You were faster :-)

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  arch/arm64/boot/dts/renesas/ulcb.dtsi | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
> index 7edffe7f8cfa..a7e93df4ced8 100644
> --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
> @@ -48,6 +48,7 @@ hdmi0-out {
>  
>  		port {
>  			hdmi0_con: endpoint {
> +				remote-endpoint = <&rcar_dw_hdmi0_out>;
>  			};
>  		};
>  	};
> @@ -199,10 +200,6 @@ dw_hdmi0_snd_in: endpoint {
>  	};
>  };
>  
> -&hdmi0_con {
> -	remote-endpoint = <&rcar_dw_hdmi0_out>;
> -};
> -
>  &i2c2 {
>  	pinctrl-0 = <&i2c2_pins>;
>  	pinctrl-names = "default";

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] arm64: dts: renesas: salvator-common: Merge hdmi0_con
  2021-11-24 15:28 ` [PATCH 2/2] arm64: dts: renesas: salvator-common: " Kieran Bingham
  2021-11-24 16:15   ` Geert Uytterhoeven
@ 2021-11-24 22:24   ` Laurent Pinchart
  1 sibling, 0 replies; 7+ messages in thread
From: Laurent Pinchart @ 2021-11-24 22:24 UTC (permalink / raw)
  To: Kieran Bingham
  Cc: linux-renesas-soc, devicetree, linux-kernel, Geert Uytterhoeven,
	Magnus Damm, Rob Herring

Hi Kieran,

Thank you for the patch.

On Wed, Nov 24, 2021 at 03:28:15PM +0000, Kieran Bingham wrote:
> The remote endpoint for the hdmi connector is specfied through a
> reference to the hdmi0_con endpoint, which is in the same file.
> 
> Simplify by specifying the remote-endpoint directly in the hdmi0_con
> endpoint.
> 
> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

This one I hadn't found earlier today, but it's equally valid.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  arch/arm64/boot/dts/renesas/salvator-common.dtsi | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/renesas/salvator-common.dtsi b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
> index bf37777dca31..6092dc4531ad 100644
> --- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi
> +++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
> @@ -97,6 +97,7 @@ hdmi0-out {
>  
>  		port {
>  			hdmi0_con: endpoint {
> +				remote-endpoint = <&rcar_dw_hdmi0_out>;
>  			};
>  		};
>  	};
> @@ -424,10 +425,6 @@ dw_hdmi0_snd_in: endpoint {
>  	};
>  };
>  
> -&hdmi0_con {
> -	remote-endpoint = <&rcar_dw_hdmi0_out>;
> -};
> -
>  #ifdef SOC_HAS_HDMI1
>  &hdmi1 {
>  	status = "okay";

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-24 22:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24 15:28 [PATCH 0/2] arm64: dts: renesas: Merge hdmi0_con Kieran Bingham
2021-11-24 15:28 ` [PATCH 1/2] arm64: dts: renesas: ulcb: " Kieran Bingham
2021-11-24 16:14   ` Geert Uytterhoeven
2021-11-24 22:23   ` Laurent Pinchart
2021-11-24 15:28 ` [PATCH 2/2] arm64: dts: renesas: salvator-common: " Kieran Bingham
2021-11-24 16:15   ` Geert Uytterhoeven
2021-11-24 22:24   ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).