From 71c2e7bc6ecf872dd3b45480859dce0f2e941b03 Mon Sep 17 00:00:00 2001 From: Matt Porter Date: Wed, 13 Dec 2017 12:49:20 -0500 Subject: [PATCH] arm64: dts: renesas: preserve drm HDMI connector naming on KF Kingfisher adds encoders on ports 0 and 2 of the R-Car display unit. The bare ULCB SK has only an HDMI encoder in use on port 1. When the system is booted with an SK dtb, port 1's HDMI encoder is assigned as HDMI-A-1 because it is the first (and only) encoder present. When booting a KF dtb, port 0's HDMI encoder preceeds port1 in the dtb due to incremental ordering of the endpoint port nodes. This causes the KF HDMI to be assigned HDMI-A-1 and the SK HDMI to be assigned as HDMI-A-2. In order to preserve the SK's HDMI output naming as connector HDMI-A-1, reorder the endpoint port nodes so that port1 is first. Change-Id: Ibbb1975c2383a526a54c257fb7d68d32a042d468 Signed-off-by: Matt Porter Signed-off-by: Ronan Le Martret Signed-off-by: Harunobu Kurokawa --- arch/arm64/boot/dts/renesas/r8a77951.dtsi | 10 +++++----- arch/arm64/boot/dts/renesas/r8a77960.dtsi | 10 +++++----- arch/arm64/boot/dts/renesas/r8a77961.dtsi | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77951.dtsi b/arch/arm64/boot/dts/renesas/r8a77951.dtsi index 12e78097533e..9ead58e8a7c2 100644 --- a/arch/arm64/boot/dts/renesas/r8a77951.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77951.dtsi @@ -3943,11 +3943,6 @@ ports { #address-cells = <1>; #size-cells = <0>; - port@0 { - reg = <0>; - du_out_rgb: endpoint { - }; - }; port@1 { reg = <1>; du_out_hdmi0: endpoint { @@ -3966,6 +3961,11 @@ du_out_lvds0: endpoint { remote-endpoint = <&lvds0_in>; }; }; + port@0 { + reg = <0>; + du_out_rgb: endpoint { + }; + }; }; }; diff --git a/arch/arm64/boot/dts/renesas/r8a77960.dtsi b/arch/arm64/boot/dts/renesas/r8a77960.dtsi index 66ab48b3a704..a5481dc4a3f1 100644 --- a/arch/arm64/boot/dts/renesas/r8a77960.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77960.dtsi @@ -3628,11 +3628,6 @@ ports { #address-cells = <1>; #size-cells = <0>; - port@0 { - reg = <0>; - du_out_rgb: endpoint { - }; - }; port@1 { reg = <1>; du_out_hdmi0: endpoint { @@ -3645,6 +3640,11 @@ du_out_lvds0: endpoint { remote-endpoint = <&lvds0_in>; }; }; + port@0 { + reg = <0>; + du_out_rgb: endpoint { + }; + }; }; }; diff --git a/arch/arm64/boot/dts/renesas/r8a77961.dtsi b/arch/arm64/boot/dts/renesas/r8a77961.dtsi index ef2cb77f3c32..032ef1ca0633 100644 --- a/arch/arm64/boot/dts/renesas/r8a77961.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77961.dtsi @@ -3434,11 +3434,6 @@ ports { #address-cells = <1>; #size-cells = <0>; - port@0 { - reg = <0>; - du_out_rgb: endpoint { - }; - }; port@1 { reg = <1>; du_out_hdmi0: endpoint { @@ -3451,6 +3446,11 @@ du_out_lvds0: endpoint { remote-endpoint = <&lvds0_in>; }; }; + port@0 { + reg = <0>; + du_out_rgb: endpoint { + }; + }; }; }; -- 2.25.1