From cf6c45ca9a3ad44d4946daef818c9091c1d9cf3b Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 29 Oct 2021 18:55:26 +0900 Subject: [RCAR] Fix HDMI display connector exchanging This patch always keeps SK's HDMI to HDMI-A-1 when using KF. Normally, when using KF, HDMI-A-2 is assigned to SK's HDMI. It is a patch that avoids SK's HDMI becoming 2nd HDMI, and it is a commit that corrects the code for BSP v5.5.0. Bug-AGL: SPEC-4123 Signed-off-by: Harunobu Kurokawa Signed-off-by: Ronan Le Martret Change-Id: I68351317861fdeb4668ff5bbae420f6cfa24a3a3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26826 Reviewed-by: Jan-Simon Moeller Tested-by: Jan-Simon Moeller --- ...enesas-preserve-drm-HDMI-connector-naming.patch | 64 +++++++++++----------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'meta-agl-bsp/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas') diff --git a/meta-agl-bsp/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0001-arm64-dts-renesas-preserve-drm-HDMI-connector-naming.patch b/meta-agl-bsp/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0001-arm64-dts-renesas-preserve-drm-HDMI-connector-naming.patch index ac5e8996c..d3a3229b4 100644 --- a/meta-agl-bsp/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0001-arm64-dts-renesas-preserve-drm-HDMI-connector-naming.patch +++ b/meta-agl-bsp/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0001-arm64-dts-renesas-preserve-drm-HDMI-connector-naming.patch @@ -1,8 +1,7 @@ -From a7d41cc40357d10cbb84ac463032f4d28af39162 Mon Sep 17 00:00:00 2001 +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 +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 @@ -19,6 +18,7 @@ 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 +++++----- @@ -26,22 +26,10 @@ Signed-off-by: Ronan Le Martret 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 655a71157a5f..c8aa7be0e33e 100644 +index 12e78097533e..9ead58e8a7c2 100644 --- a/arch/arm64/boot/dts/renesas/r8a77951.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77951.dtsi -@@ -2373,6 +2373,11 @@ vin7csi41: endpoint@3 { - remote-endpoint = <&csi41vin7>; - }; - }; -+ port@0 { -+ reg = <0>; -+ du_out_rgb: endpoint { -+ }; -+ }; - }; - }; - -@@ -3955,11 +3960,6 @@ ports { +@@ -3943,11 +3943,6 @@ ports { #address-cells = <1>; #size-cells = <0>; @@ -53,12 +41,8 @@ index 655a71157a5f..c8aa7be0e33e 100644 port@1 { reg = <1>; du_out_hdmi0: endpoint { -diff --git a/arch/arm64/boot/dts/renesas/r8a77960.dtsi b/arch/arm64/boot/dts/renesas/r8a77960.dtsi -index 1b4099f571bd..22ef3d7047fd 100644 ---- a/arch/arm64/boot/dts/renesas/r8a77960.dtsi -+++ b/arch/arm64/boot/dts/renesas/r8a77960.dtsi -@@ -2279,6 +2279,11 @@ vin7csi40: endpoint@2 { - remote-endpoint = <&csi40vin7>; +@@ -3966,6 +3961,11 @@ du_out_lvds0: endpoint { + remote-endpoint = <&lvds0_in>; }; }; + port@0 { @@ -69,7 +53,11 @@ index 1b4099f571bd..22ef3d7047fd 100644 }; }; -@@ -3640,11 +3645,6 @@ ports { +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>; @@ -81,12 +69,8 @@ index 1b4099f571bd..22ef3d7047fd 100644 port@1 { reg = <1>; du_out_hdmi0: endpoint { -diff --git a/arch/arm64/boot/dts/renesas/r8a77961.dtsi b/arch/arm64/boot/dts/renesas/r8a77961.dtsi -index ef2cb77f3c32..e1555d3673e2 100644 ---- a/arch/arm64/boot/dts/renesas/r8a77961.dtsi -+++ b/arch/arm64/boot/dts/renesas/r8a77961.dtsi -@@ -2257,6 +2257,11 @@ vin7csi40: endpoint@2 { - remote-endpoint = <&csi40vin7>; +@@ -3645,6 +3640,11 @@ du_out_lvds0: endpoint { + remote-endpoint = <&lvds0_in>; }; }; + port@0 { @@ -97,7 +81,11 @@ index ef2cb77f3c32..e1555d3673e2 100644 }; }; -@@ -3434,11 +3439,6 @@ ports { +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>; @@ -109,6 +97,18 @@ index ef2cb77f3c32..e1555d3673e2 100644 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.31.1 +2.25.1 -- cgit 1.2.3-korg