Skip to contentSkip to conversation

ARM: dts: rmobile: Synchronize Gen3 DTs with Linux 5.6.2

PATCH New Marek Vasut 1 participant 1 message Apr 4, 2020 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: rmobile: Synchronize Gen3 DTs with Linux 5.6.2

Synchronize R-Car Gen3 device trees with Linux 5.6.2, commit 9fbe5c87eaa9b72db08425c52c373eb5f6537a0a .

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/dts/Makefile                         |  10 +-
 ...oot.dts => r8a77950-salvator-x-u-boot.dts} |   4 +-
 ...salvator-x.dts => r8a77950-salvator-x.dts} |  32 +-
 ...a7795-u-boot.dtsi => r8a77950-u-boot.dtsi} |   0
 ...cb-u-boot.dts => r8a77950-ulcb-u-boot.dts} |   4 +-
 .../{r8a7795-h3ulcb.dts => r8a77950-ulcb.dts} |  17 +-
 arch/arm/dts/r8a77950.dtsi                    | 319 +++++++++++
 arch/arm/dts/{r8a7795.dtsi => r8a77951.dtsi}  | 516 ++++++++++--------
 ...oot.dts => r8a77960-salvator-x-u-boot.dts} |   4 +-
 ...salvator-x.dts => r8a77960-salvator-x.dts} |  14 +-
 ...a7796-u-boot.dtsi => r8a77960-u-boot.dtsi} |   0
 ...cb-u-boot.dts => r8a77960-ulcb-u-boot.dts} |   4 +-
 .../{r8a7796-m3ulcb.dts => r8a77960-ulcb.dts} |   4 +-
 arch/arm/dts/{r8a7796.dtsi => r8a77960.dtsi}  | 478 +++++++++-------
 arch/arm/dts/r8a77965-salvator-x.dts          |  28 +
 ...cb-u-boot.dts => r8a77965-ulcb-u-boot.dts} |   2 +-
 ...r8a77965-m3nulcb.dts => r8a77965-ulcb.dts} |   0
 arch/arm/dts/r8a77965.dtsi                    | 336 +++++++-----
 arch/arm/dts/r8a77970-eagle.dts               |  60 +-
 arch/arm/dts/r8a77970.dtsi                    |  63 +--
 arch/arm/dts/r8a77980-condor.dts              |  42 +-
 arch/arm/dts/r8a77980.dtsi                    | 103 ++--
 arch/arm/dts/r8a77990-ebisu.dts               | 227 ++++----
 arch/arm/dts/r8a77990.dtsi                    | 250 +++++----
 arch/arm/dts/r8a77995-draak.dts               |  31 +-
 arch/arm/dts/r8a77995.dtsi                    | 188 ++++---
 arch/arm/dts/salvator-common.dtsi             |  80 ++-
 arch/arm/dts/salvator-xs.dtsi                 |  29 +
 arch/arm/dts/ulcb.dtsi                        |  15 +-
 board/renesas/salvator-x/salvator-x.c         |   4 +-
 board/renesas/ulcb/ulcb.c                     |   6 +-
 configs/r8a7795_salvator-x_defconfig          |   6 +-
 configs/r8a7795_ulcb_defconfig                |   6 +-
 configs/r8a77965_salvator-x_defconfig         |   2 +-
 configs/r8a77965_ulcb_defconfig               |   6 +-
 configs/r8a7796_salvator-x_defconfig          |   6 +-
 configs/r8a7796_ulcb_defconfig                |   6 +-
 37 files changed, 1761 insertions(+), 1141 deletions(-)
 rename arch/arm/dts/{r8a7795-salvator-x-u-boot.dts => r8a77950-salvator-x-u-boot.dts} (90%)
 rename arch/arm/dts/{r8a7795-salvator-x.dts => r8a77950-salvator-x.dts} (94%)
 rename arch/arm/dts/{r8a7795-u-boot.dtsi => r8a77950-u-boot.dtsi} (100%)
 rename arch/arm/dts/{r8a7795-h3ulcb-u-boot.dts => r8a77950-ulcb-u-boot.dts} (91%)
 rename arch/arm/dts/{r8a7795-h3ulcb.dts => r8a77950-ulcb.dts} (65%)
 create mode 100644 arch/arm/dts/r8a77950.dtsi
 rename arch/arm/dts/{r8a7795.dtsi => r8a77951.dtsi} (91%)
 rename arch/arm/dts/{r8a7796-salvator-x-u-boot.dts => r8a77960-salvator-x-u-boot.dts} (90%)
 rename arch/arm/dts/{r8a7796-salvator-x.dts => r8a77960-salvator-x.dts} (94%)
 rename arch/arm/dts/{r8a7796-u-boot.dtsi => r8a77960-u-boot.dtsi} (100%)
 rename arch/arm/dts/{r8a7796-m3ulcb-u-boot.dts => r8a77960-ulcb-u-boot.dts} (91%)
 rename arch/arm/dts/{r8a7796-m3ulcb.dts => r8a77960-ulcb.dts} (90%)
 rename arch/arm/dts/{r8a7796.dtsi => r8a77960.dtsi} (91%)
 rename arch/arm/dts/{r8a77965-m3nulcb-u-boot.dts => r8a77965-ulcb-u-boot.dts} (95%)
 rename arch/arm/dts/{r8a77965-m3nulcb.dts => r8a77965-ulcb.dts} (100%)
 create mode 100644 arch/arm/dts/salvator-xs.dtsi
arch/arm/dts/Makefile +5 -5
index 9c593b2c98..e8c38498b3 100644
@@ -737,11 +737,11 @@ dtb-$(CONFIG_RCAR_GEN2) += \
 	r8a7794-silk-u-boot.dtb
 
 dtb-$(CONFIG_RCAR_GEN3) += \
-	r8a7795-h3ulcb-u-boot.dtb \
-	r8a7795-salvator-x-u-boot.dtb \
-	r8a7796-m3ulcb-u-boot.dtb \
-	r8a7796-salvator-x-u-boot.dtb \
-	r8a77965-m3nulcb-u-boot.dtb \
+	r8a77950-ulcb-u-boot.dtb \
+	r8a77950-salvator-x-u-boot.dtb \
+	r8a77960-ulcb-u-boot.dtb \
+	r8a77960-salvator-x-u-boot.dtb \
+	r8a77965-ulcb-u-boot.dtb \
 	r8a77965-salvator-x-u-boot.dtb \
 	r8a77970-eagle-u-boot.dtb \
 	r8a77980-condor-u-boot.dtb \
arch/arm/dts/r8a77950-salvator-x-u-boot.dts renamed from arch/arm/dts/r8a7795-salvator-x-u-boot.dts +2 -2
similarity index 90%
rename from arch/arm/dts/r8a7795-salvator-x-u-boot.dts
rename to arch/arm/dts/r8a77950-salvator-x-u-boot.dts
index 2f6c1cb0f7..36c8a44a90 100644
@@ -5,8 +5,8 @@
  * Copyright (C) 2018 Marek Vasut <[email protected]>
  */
 
-#include "r8a7795-salvator-x.dts"
-#include "r8a7795-u-boot.dtsi"
+#include "r8a77950-salvator-x.dts"
+#include "r8a77950-u-boot.dtsi"
 
 &rpc {
 	reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0x04000000>;
arch/arm/dts/r8a77950-salvator-x.dts renamed from arch/arm/dts/r8a7795-salvator-x.dts +16 -16
similarity index 94%
rename from arch/arm/dts/r8a7795-salvator-x.dts
rename to arch/arm/dts/r8a77950-salvator-x.dts
index d2d48b33b3..2438825c9b 100644
@@ -1,16 +1,16 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Device Tree Source for the Salvator-X board with R-Car H3 ES2.0
+ * Device Tree Source for the Salvator-X board with R-Car H3 ES1.x
  *
  * Copyright (C) 2015 Renesas Electronics Corp.
  */
 
 /dts-v1/;
-#include "r8a7795.dtsi"
+#include "r8a77950.dtsi"
 #include "salvator-x.dtsi"
 
 / {
-	model = "Renesas Salvator-X board based on r8a7795 ES2.0+";
+	model = "Renesas Salvator-X board based on r8a77950";
 	compatible = "renesas,salvator-x", "renesas,r8a7795";
 
 	memory at 48000000 {
@@ -52,12 +52,6 @@
 	status = "okay";
 };
 
-&sound_card {
-	dais = <&rsnd_port0	/* ak4613 */
-		&rsnd_port1	/* HDMI0  */
-		&rsnd_port2>;	/* HDMI1  */
-};
-
 &hdmi0 {
 	status = "okay";
 
@@ -108,6 +102,13 @@
 	status = "okay";
 };
 
+&pfc {
+	usb2_pins: usb2 {
+		groups = "usb2";
+		function = "usb2";
+	};
+};
+
 &rcar_sound {
 	ports {
 		/* rsnd_port0 is on salvator-common */
@@ -138,17 +139,16 @@
 	};
 };
 
-&pfc {
-	usb2_pins: usb2 {
-		groups = "usb2";
-		function = "usb2";
-	};
-};
-
 &sata {
 	status = "okay";
 };
 
+&sound_card {
+	dais = <&rsnd_port0	/* ak4613 */
+		&rsnd_port1	/* HDMI0  */
+		&rsnd_port2>;	/* HDMI1  */
+};
+
 &usb2_phy2 {
 	pinctrl-0 = <&usb2_pins>;
 	pinctrl-names = "default";
arch/arm/dts/r8a77950-u-boot.dtsi renamed from arch/arm/dts/r8a7795-u-boot.dtsi +0 -0
similarity index 100%
rename from arch/arm/dts/r8a7795-u-boot.dtsi
rename to arch/arm/dts/r8a77950-u-boot.dtsi
arch/arm/dts/r8a77950-ulcb-u-boot.dts renamed from arch/arm/dts/r8a7795-h3ulcb-u-boot.dts +2 -2
similarity index 91%
rename from arch/arm/dts/r8a7795-h3ulcb-u-boot.dts
rename to arch/arm/dts/r8a77950-ulcb-u-boot.dts
index aa2e276719..d3191c55d5 100644
@@ -5,8 +5,8 @@
  * Copyright (C) 2018 Marek Vasut <[email protected]>
  */
 
-#include "r8a7795-h3ulcb.dts"
-#include "r8a7795-u-boot.dtsi"
+#include "r8a77950-ulcb.dts"
+#include "r8a77950-u-boot.dtsi"
 
 / {
 	cpld {
arch/arm/dts/r8a77950-ulcb.dts renamed from arch/arm/dts/r8a7795-h3ulcb.dts +2 -15
similarity index 65%
rename from arch/arm/dts/r8a7795-h3ulcb.dts
rename to arch/arm/dts/r8a77950-ulcb.dts
index 54515eaf03..38a6d6a108 100644
@@ -7,11 +7,11 @@
  */
 
 /dts-v1/;
-#include "r8a7795.dtsi"
+#include "r8a77950.dtsi"
 #include "ulcb.dtsi"
 
 / {
-	model = "Renesas H3ULCB board based on r8a7795 ES2.0+";
+	model = "Renesas H3ULCB board based on r8a77950";
 	compatible = "renesas,h3ulcb", "renesas,r8a7795";
 
 	memory at 48000000 {
@@ -35,16 +35,3 @@
 		reg = <0x7 0x00000000 0x0 0x40000000>;
 	};
 };
-
-&du {
-	clocks = <&cpg CPG_MOD 724>,
-		 <&cpg CPG_MOD 723>,
-		 <&cpg CPG_MOD 722>,
-		 <&cpg CPG_MOD 721>,
-		 <&versaclock5 1>,
-		 <&versaclock5 3>,
-		 <&versaclock5 4>,
-		 <&versaclock5 2>;
-	clock-names = "du.0", "du.1", "du.2", "du.3",
-		      "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
-};
arch/arm/dts/r8a77950.dtsi new file +319 -0

319 lines not on this page · raw message

arch/arm/dts/r8a77951.dtsi renamed from arch/arm/dts/r8a7795.dtsi +290 -226

831 lines not on this page · raw message

arch/arm/dts/r8a77960-salvator-x-u-boot.dts renamed from arch/arm/dts/r8a7796-salvator-x-u-boot.dts +2 -2
similarity index 90%
rename from arch/arm/dts/r8a7796-salvator-x-u-boot.dts
rename to arch/arm/dts/r8a77960-salvator-x-u-boot.dts
index cff48f3665..439fd6c3ad 100644
@@ -5,8 +5,8 @@
  * Copyright (C) 2018 Marek Vasut <[email protected]>
  */
 
-#include "r8a7796-salvator-x.dts"
-#include "r8a7796-u-boot.dtsi"
+#include "r8a77960-salvator-x.dts"
+#include "r8a77960-u-boot.dtsi"
 
 &rpc {
 	reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0x04000000>;
arch/arm/dts/r8a77960-salvator-x.dts renamed from arch/arm/dts/r8a7796-salvator-x.dts +7 -7
similarity index 94%
rename from arch/arm/dts/r8a7796-salvator-x.dts
rename to arch/arm/dts/r8a77960-salvator-x.dts
index 2aefa53cb1..ecfbeafeaf 100644
@@ -6,11 +6,11 @@
  */
 
 /dts-v1/;
-#include "r8a7796.dtsi"
+#include "r8a77960.dtsi"
 #include "salvator-x.dtsi"
 
 / {
-	model = "Renesas Salvator-X board based on r8a7796";
+	model = "Renesas Salvator-X board based on r8a77960";
 	compatible = "renesas,salvator-x", "renesas,r8a7796";
 
 	memory at 48000000 {
@@ -36,11 +36,6 @@
 		      "dclkin.0", "dclkin.1", "dclkin.2";
 };
 
-&sound_card {
-	dais = <&rsnd_port0	/* ak4613 */
-		&rsnd_port1>;	/* HDMI0  */
-};
-
 &hdmi0 {
 	status = "okay";
 
@@ -81,3 +76,8 @@
 		};
 	};
 };
+
+&sound_card {
+	dais = <&rsnd_port0	/* ak4613 */
+		&rsnd_port1>;	/* HDMI0  */
+};
arch/arm/dts/r8a77960-u-boot.dtsi renamed from arch/arm/dts/r8a7796-u-boot.dtsi +0 -0
similarity index 100%
rename from arch/arm/dts/r8a7796-u-boot.dtsi
rename to arch/arm/dts/r8a77960-u-boot.dtsi
arch/arm/dts/r8a77960-ulcb-u-boot.dts renamed from arch/arm/dts/r8a7796-m3ulcb-u-boot.dts +2 -2
similarity index 91%
rename from arch/arm/dts/r8a7796-m3ulcb-u-boot.dts
rename to arch/arm/dts/r8a77960-ulcb-u-boot.dts
index a0f239ee69..aab9c95931 100644
@@ -5,8 +5,8 @@
  * Copyright (C) 2018 Marek Vasut <[email protected]>
  */
 
-#include "r8a7796-m3ulcb.dts"
-#include "r8a7796-u-boot.dtsi"
+#include "r8a77960-ulcb.dts"
+#include "r8a77960-u-boot.dtsi"
 
 / {
 	cpld {
arch/arm/dts/r8a77960-ulcb.dts renamed from arch/arm/dts/r8a7796-m3ulcb.dts +2 -2
similarity index 90%
rename from arch/arm/dts/r8a7796-m3ulcb.dts
rename to arch/arm/dts/r8a77960-ulcb.dts
index 9e4594c27f..d041042a56 100644
@@ -7,11 +7,11 @@
  */
 
 /dts-v1/;
-#include "r8a7796.dtsi"
+#include "r8a77960.dtsi"
 #include "ulcb.dtsi"
 
 / {
-	model = "Renesas M3ULCB board based on r8a7796";
+	model = "Renesas M3ULCB board based on r8a77960";
 	compatible = "renesas,m3ulcb", "renesas,r8a7796";
 
 	memory at 48000000 {
arch/arm/dts/r8a77960.dtsi renamed from arch/arm/dts/r8a7796.dtsi +269 -209

734 lines not on this page · raw message

arch/arm/dts/r8a77965-salvator-x.dts +28 -0
index 340a3c72b6..660a0240ee 100644
@@ -41,9 +41,37 @@
 				remote-endpoint = <&hdmi0_con>;
 			};
 		};
+		port at 2 {
+			reg = <2>;
+			dw_hdmi0_snd_in: endpoint {
+				remote-endpoint = <&rsnd_endpoint1>;
+			};
+		};
 	};
 };
 
 &hdmi0_con {
 	remote-endpoint = <&rcar_dw_hdmi0_out>;
 };
+
+&rcar_sound {
+	ports {
+		rsnd_port1: port at 1 {
+			reg = <1>;
+			rsnd_endpoint1: endpoint {
+				remote-endpoint = <&dw_hdmi0_snd_in>;
+
+				dai-format = "i2s";
+				bitclock-master = <&rsnd_endpoint1>;
+				frame-master = <&rsnd_endpoint1>;
+
+				playback = <&ssi2>;
+			};
+		};
+	};
+};
+
+&sound_card {
+	dais = <&rsnd_port0	/* ak4613 */
+		&rsnd_port1>;	/* HDMI0  */
+};
arch/arm/dts/r8a77965-ulcb-u-boot.dts renamed from arch/arm/dts/r8a77965-m3nulcb-u-boot.dts +1 -1
similarity index 95%
rename from arch/arm/dts/r8a77965-m3nulcb-u-boot.dts
rename to arch/arm/dts/r8a77965-ulcb-u-boot.dts
index 0c0b35c4cf..38966bf644 100644
@@ -5,7 +5,7 @@
  * Copyright (C) 2018 Marek Vasut <[email protected]>
  */
 
-#include "r8a77965-m3nulcb.dts"
+#include "r8a77965-ulcb.dts"
 #include "r8a77965-u-boot.dtsi"
 
 / {
arch/arm/dts/r8a77965-ulcb.dts renamed from arch/arm/dts/r8a77965-m3nulcb.dts +0 -0
similarity index 100%
rename from arch/arm/dts/r8a77965-m3nulcb.dts
rename to arch/arm/dts/r8a77965-ulcb.dts
arch/arm/dts/r8a77965.dtsi +200 -136

537 lines not on this page · raw message

arch/arm/dts/r8a77970-eagle.dts +30 -30

96 lines not on this page · raw message

arch/arm/dts/r8a77970.dtsi +32 -31

117 lines not on this page · raw message

arch/arm/dts/r8a77980-condor.dts +21 -21

62 lines not on this page · raw message

arch/arm/dts/r8a77980.dtsi +50 -53

62 lines not on this page · raw message

arch/arm/dts/r8a77990-ebisu.dts +115 -112

227 lines not on this page · raw message

arch/arm/dts/r8a77990.dtsi +146 -104

250 lines not on this page · raw message

arch/arm/dts/r8a77995-draak.dts +17 -14
index a7dc11e36f..67634cb01d 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/r8a77995.dtsi +107 -81

188 lines not on this page · raw message

arch/arm/dts/salvator-common.dtsi +39 -41

80 lines not on this page · raw message

arch/arm/dts/salvator-xs.dtsi new file +29 -0
new file mode 100644
index 0000000000..717d42758c

Lines of this file are not shown. View the raw message.

arch/arm/dts/ulcb.dtsi +7 -8
index e70e1bac2b..ff88af8e39 100644

Lines of this file are not shown. View the raw message.

board/renesas/salvator-x/salvator-x.c +2 -2
index 058fa6fbb6..91c3728571 100644

Lines of this file are not shown. View the raw message.

board/renesas/ulcb/ulcb.c +3 -3
index bcae6ff67c..b91f940b48 100644

Lines of this file are not shown. View the raw message.

configs/r8a7795_salvator-x_defconfig +3 -3
index e146a0005a..f4b1a7b7bf 100644

Lines of this file are not shown. View the raw message.

configs/r8a7795_ulcb_defconfig +3 -3
index ac0722529c..79429445ed 100644

Lines of this file are not shown. View the raw message.

configs/r8a77965_salvator-x_defconfig +1 -1
index 6f21e6a803..603ba13030 100644

Lines of this file are not shown. View the raw message.

configs/r8a77965_ulcb_defconfig +3 -3
index f24c50c8ea..539040333b 100644

Lines of this file are not shown. View the raw message.

configs/r8a7796_salvator-x_defconfig +3 -3
index af0f1077bf..c4f57b355a 100644

Lines of this file are not shown. View the raw message.

configs/r8a7796_ulcb_defconfig +3 -3
index fc934334c5..216f5b1818 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.25.1

Part of the diff is not shown here. View the raw message.