Skip to contentSkip to conversation

arm64: dts: marvell: espressobin: indicate dts version

PATCH In review Tomasz Maciej Nowak 2 participants 4 messages Feb 27, 2020 – Mar 13, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm64: dts: marvell: espressobin: indicate dts version

The commit introducing ESPRESSObin variants didn't specify dts version, and because of that they are treated by dtc as legacy ones. Fix that by properly specifying version in each dts.

Fixes 447b878935 ("arm64: dts: marvell: add ESPRESSObin variants")
---
 arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts    | 2 ++
 arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts | 2 ++
 arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts      | 2 ++
 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi        | 2 --
 4 files changed, 6 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts +2 -0
index bd9ed9dc9c3e..ec72a11ed80f 100644
@@ -11,6 +11,8 @@
  * Schematic available at http://espressobin.net/wp-content/uploads/2017/08/ESPRESSObin_V5_Schematics.pdf
  */
 
+/dts-v1/;
+
 #include "armada-3720-espressobin.dtsi"
 
 / {
arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts +2 -0
index 6e876a6d9532..03733fd92732 100644
@@ -11,6 +11,8 @@
  * Schematic available at http://wiki.espressobin.net/tiki-download_file.php?fileId=200
  */
 
+/dts-v1/;
+
 #include "armada-3720-espressobin.dtsi"
 
 / {
arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts +2 -0
index 0f8405d085fd..8570c5f47d7d 100644
@@ -11,6 +11,8 @@
  * Schematic available at http://wiki.espressobin.net/tiki-download_file.php?fileId=200
  */
 
+/dts-v1/;
+
 #include "armada-3720-espressobin.dtsi"
 
 / {
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi +0 -2
index 53b8ac55a7f3..c8e2e993c69c 100644
@@ -7,8 +7,6 @@
  *
  */
 
-/dts-v1/;
-
 #include <dt-bindings/gpio/gpio.h>
 #include "armada-372x.dtsi"
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 arm64: dts: marvell: build ESPRESSObin variants

The commit adding ESPRESSObin variants didn't include those in Makefile to be built.

Fixes 447b878935 ("arm64: dts: marvell: add ESPRESSObin variants")
---
 arch/arm64/boot/dts/marvell/Makefile | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/marvell/Makefile +3 -0
index f1b5127f0b89..3e5f2e7a040c 100644
@@ -2,6 +2,9 @@
 # Mvebu SoC Family
 dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-db.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin.dtb
+dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-emmc.dtb
+dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-v7.dtb
+dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-v7-emmc.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-turris-mox.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-uDPU.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-7040-db.dtb
Signature · 1 line
2.25.1
maintainer
#2 lore raw

Re: [PATCH 2/2] arm64: dts: marvell: build ESPRESSObin variants

Hi Tomasz,

Quoted 5 lines

The commit adding ESPRESSObin variants didn't include those in Makefile to be built.

Fixes 447b878935 ("arm64: dts: marvell: add ESPRESSObin variants")

Applied on mvebu/dt64

Thanks,

Gregory

Quoted 21 lines
---
 arch/arm64/boot/dts/marvell/Makefile | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/marvell/Makefile +3 -0
index f1b5127f0b89..3e5f2e7a040c 100644
@@ -2,6 +2,9 @@
 # Mvebu SoC Family
 dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-db.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin.dtb
+dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-emmc.dtb
+dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-v7.dtb
+dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-v7-emmc.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-turris-mox.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-uDPU.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-7040-db.dtb
Signature · 1 line
2.25.1
Signature · 3 lines
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com
maintainer
#3 lore raw
In reply to Tomasz Maciej Nowak

Hi Tomasz,

Quoted 6 lines

The commit introducing ESPRESSObin variants didn't specify dts version, and because of that they are treated by dtc as legacy ones. Fix that by properly specifying version in each dts.

Fixes 447b878935 ("arm64: dts: marvell: add ESPRESSObin variants")

Applied on mvebu/dt64

Thanks,

Gregory

Quoted 62 lines
---
 arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts    | 2 ++
 arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts | 2 ++
 arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts      | 2 ++
 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi        | 2 --
 4 files changed, 6 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts +2 -0
index bd9ed9dc9c3e..ec72a11ed80f 100644
@@ -11,6 +11,8 @@
  * Schematic available at http://espressobin.net/wp-content/uploads/2017/08/ESPRESSObin_V5_Schematics.pdf
  */
 
+/dts-v1/;
+
 #include "armada-3720-espressobin.dtsi"
 
 / {
arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts +2 -0
index 6e876a6d9532..03733fd92732 100644
@@ -11,6 +11,8 @@
  * Schematic available at http://wiki.espressobin.net/tiki-download_file.php?fileId=200
  */
 
+/dts-v1/;
+
 #include "armada-3720-espressobin.dtsi"
 
 / {
arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts +2 -0
index 0f8405d085fd..8570c5f47d7d 100644
@@ -11,6 +11,8 @@
  * Schematic available at http://wiki.espressobin.net/tiki-download_file.php?fileId=200
  */
 
+/dts-v1/;
+
 #include "armada-3720-espressobin.dtsi"
 
 / {
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi +0 -2
index 53b8ac55a7f3..c8e2e993c69c 100644
@@ -7,8 +7,6 @@
  *
  */
 
-/dts-v1/;
-
 #include <dt-bindings/gpio/gpio.h>
 #include "armada-372x.dtsi"
 
Signature · 1 line
2.25.1
Signature · 3 lines
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com