arm: dts: zynq: improvements and cleanup
Subsystems (3)
cover arm: dts: zynq: improvements and cleanup
This series attempts to standardize device naming and improve its information for better identification
The values of the "compatible" and "model" device-tree properties are corrected for some devices, adding complementary information when necessary
Additionally, a device-tree file is renamed to reflect the real model of the device
I'm sending the series as an RFC because I don't know if device-tree files can be renamed and properties be changed (the last patch in particular)
The patches are sorted (descending) by what I think is the probability of being accepted
Luis Araneda (5):
arm: dts: zynq: Set correct manufacturer for ZedBoard and MicroZed
boards
dt-bindings: xilinx: Add missing zynq boards
arm: dts: zynq: correct and improve the model property of dt files
arm: dts: zynq: rename board zed to zedboard
arm: dts: zynq: remove "zynq" prefix from compatible property
.../devicetree/bindings/arm/xilinx.txt | 34 ++++++++++++++-----
arch/arm/boot/dts/Makefile | 2 +-
arch/arm/boot/dts/zynq-cc108.dts | 4 +--
arch/arm/boot/dts/zynq-microzed.dts | 4 +--
arch/arm/boot/dts/zynq-parallella.dts | 2 +-
arch/arm/boot/dts/zynq-zc702.dts | 4 +--
arch/arm/boot/dts/zynq-zc706.dts | 4 +--
arch/arm/boot/dts/zynq-zc770-xm010.dts | 4 +--
arch/arm/boot/dts/zynq-zc770-xm011.dts | 4 +--
arch/arm/boot/dts/zynq-zc770-xm012.dts | 4 +--
arch/arm/boot/dts/zynq-zc770-xm013.dts | 4 +--
.../dts/{zynq-zed.dts => zynq-zedboard.dts} | 4 +--
arch/arm/boot/dts/zynq-zybo-z7.dts | 4 +--
arch/arm/boot/dts/zynq-zybo.dts | 4 +--
14 files changed, 50 insertions(+), 32 deletions(-)
rename arch/arm/boot/dts/{zynq-zed.dts => zynq-zedboard.dts} (89%)Signature · 1 line
2.18.0
RFC PATCH 1/5 arm: dts: zynq: Set correct manufacturer for ZedBoard and MicroZed boards
Both boards are made by Avnet, Inc.
--- arch/arm/boot/dts/zynq-microzed.dts | 2 +- arch/arm/boot/dts/zynq-zed.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/zynq-microzed.dts +1 -1
@@ -8,7 +8,7 @@ / { model = "Zynq MicroZED Development Board"; - compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000"; + compatible = "avnet,zynq-microzed", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-zed.dts +1 -1
@@ -8,7 +8,7 @@ / { model = "Zynq Zed Development Board"; - compatible = "xlnx,zynq-zed", "xlnx,zynq-7000"; + compatible = "avnet,zynq-zed", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
Signature · 1 line
2.18.0
Re: [RFC PATCH 1/5] arm: dts: zynq: Set correct manufacturer for ZedBoard and MicroZed boards
Quoted 27 lines · Luis Araneda
Both boards are made by Avnet, Inc.
Signed-off-by Luis Araneda <[email protected]>--- arch/arm/boot/dts/zynq-microzed.dts | 2 +- arch/arm/boot/dts/zynq-zed.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)arch/arm/boot/dts/zynq-microzed.dts +1
-1@@ -8,7 +8,7 @@ / { model = "Zynq MicroZED Development Board"; - compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000"; + compatible = "avnet,zynq-microzed", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;arch/arm/boot/dts/zynq-zed.dts +0
-0
arch/arm/boot/dts/zynq-zed.dts line 14
Quoted 8 lines
arch/arm/boot/dts/zynq-zed.dts +1
-1@@ -8,7 +8,7 @@ / { model = "Zynq Zed Development Board"; - compatible = "xlnx,zynq-zed", "xlnx,zynq-7000"; + compatible = "avnet,zynq-zed", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
Unfortunately we don't know who is parsing this string. It means please keep that origin compatible string there.
I have no problem with this.
compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000";
Thanks,
Michal
Re: [RFC PATCH 1/5] arm: dts: zynq: Set correct manufacturer for ZedBoard and MicroZed boards
Hi Michal,
Quoted 7 lines · Michal Simek
On 28.6.2018 07:42, Luis Araneda wrote:
Unfortunately we don't know who is parsing this string. It means please keep that origin compatible string there.I have no problem with this.
compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000";
Ok, I'll change that for V2, and I'll keep it in mind for the rest of the series too.
Thanks for reviewing,
Luis Araneda.
RFC PATCH 2/5 dt-bindings: xilinx: Add missing zynq boards
In reply to Luis AranedaThe bindings were missing when adding the device-tree files Also, improve description of existing boards
--- .../devicetree/bindings/arm/xilinx.txt | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/arm/xilinx.txt +20 -2
@@ -8,15 +8,33 @@ Required root node properties: Additional compatible strings: -- Xilinx internal board cc108 +- Xilinx CC108 board "xlnx,zynq-cc108" -- Xilinx internal board zc770 with different FMC cards +- Avnet MicroZed board + "avnet,zynq-microzed" + +- Adapteva Parallella board + "adapteva,parallella" + +- Xilinx ZC702 board + "xlnx,zynq-zc702" + +- Xilinx ZC706 board + "xlnx,zynq-zc706" + +- Xilinx ZC770 board, with different FMC cards "xlnx,zynq-zc770-xm010" "xlnx,zynq-zc770-xm011" "xlnx,zynq-zc770-xm012" "xlnx,zynq-zc770-xm013" +- Avnet ZedBoard board + "avnet,zynq-zed" + +- Digilent Zybo board + "digilent,zynq-zybo" + - Digilent Zybo Z7 board "digilent,zynq-zybo-z7"
Signature · 1 line
2.18.0
Re: [RFC PATCH 2/5] dt-bindings: xilinx: Add missing zynq boards
Quoted 13 lines · Luis Araneda
The bindings were missing when adding the device-tree files Also, improve description of existing boards
Signed-off-by Luis Araneda <[email protected]>--- .../devicetree/bindings/arm/xilinx.txt | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/arm/xilinx.txt +0
-0
Documentation/devicetree/bindings/arm/xilinx.txt Required root node properties: · line 11
Quoted 5 lines
Documentation/devicetree/bindings/arm/xilinx.txt +1
-1@@ -8,15 +8,33 @@ Required root node properties: Additional compatible strings: -- Xilinx internal board cc108 +- Xilinx CC108 board
No reason to remove internal word from here.
Quoted 21 lines
Documentation/devicetree/bindings/arm/xilinx.txt +13
-1"xlnx,zynq-cc108" -- Xilinx internal board zc770 with different FMC cards +- Avnet MicroZed board + "avnet,zynq-microzed" + +- Adapteva Parallella board + "adapteva,parallella" + +- Xilinx ZC702 board + "xlnx,zynq-zc702" + +- Xilinx ZC706 board + "xlnx,zynq-zc706" + +- Xilinx ZC770 board, with different FMC cards "xlnx,zynq-zc770-xm010" "xlnx,zynq-zc770-xm011" "xlnx,zynq-zc770-xm012" "xlnx,zynq-zc770-xm013"
Documentation/devicetree/bindings/arm/xilinx.txt Required root node properties: · line 40
Quoted 10 lines
Documentation/devicetree/bindings/arm/xilinx.txt +6
-0+- Avnet ZedBoard board + "avnet,zynq-zed" + +- Digilent Zybo board + "digilent,zynq-zybo" + - Digilent Zybo Z7 board "digilent,zynq-zybo-z7"
Not a problem to add missing strings.
Thanks,
Michal
Re: [RFC PATCH 2/5] dt-bindings: xilinx: Add missing zynq boards
Hi Michal,
Quoted 4 lines · Michal Simek
Quoted 2 lines
-- Xilinx internal board cc108
+- Xilinx CC108 boardNo reason to remove internal word from here.
Ok.
Thanks,
Luis Araneda.
Rob Herring
maintainerRe: [RFC PATCH 2/5] dt-bindings: xilinx: Add missing zynq boards
In reply to Luis AranedaQuoted 16 lines · Luis Araneda
The bindings were missing when adding the device-tree files Also, improve description of existing boards
Signed-off-by Luis Araneda <[email protected]>--- .../devicetree/bindings/arm/xilinx.txt | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/arm/xilinx.txt +0
-0@@ -8,15 +8,33 @@ Required root node properties: Additional compatible strings:
Documentation/devicetree/bindings/arm/xilinx.txt Required root node properties: · line 18
Quoted 10 lines
Documentation/devicetree/bindings/arm/xilinx.txt +6
-2-- Xilinx internal board cc108 +- Xilinx CC108 board "xlnx,zynq-cc108" -- Xilinx internal board zc770 with different FMC cards +- Avnet MicroZed board + "avnet,zynq-microzed" + +- Adapteva Parallella board + "adapteva,parallella"
This is documented in adapteva.txt, but I'd prefer if you put it here and remove adapteva.txt.
Quoted 25 lines
Documentation/devicetree/bindings/arm/xilinx.txt +14
-0+ +- Xilinx ZC702 board + "xlnx,zynq-zc702" + +- Xilinx ZC706 board + "xlnx,zynq-zc706" + +- Xilinx ZC770 board, with different FMC cards "xlnx,zynq-zc770-xm010" "xlnx,zynq-zc770-xm011" "xlnx,zynq-zc770-xm012" "xlnx,zynq-zc770-xm013" +- Avnet ZedBoard board + "avnet,zynq-zed" + +- Digilent Zybo board + "digilent,zynq-zybo" + - Digilent Zybo Z7 board "digilent,zynq-zybo-z7"Signature · 1 line
2.18.0
Re: [RFC PATCH 2/5] dt-bindings: xilinx: Add missing zynq boards
Hi Rob,
Thanks for reviewing.
Quoted 7 lines · Rob Herring
Quoted 2 lines · Luis Araneda
+- Adapteva Parallella board + "adapteva,parallella"This is documented in adapteva.txt, but I'd prefer if you put it here and remove adapteva.txt.
Ouch, I should have used git grep to find that.
I'll remove the adapteva.txt file on v2, which I'll be sending later today.
Thanks,
Luis Araneda.
RFC PATCH 3/5 arm: dts: zynq: correct and improve the model property of dt files
In reply to Luis AranedaReplace the current value of the model property by a more accurate description of each board (which includes the manufacturer), as some of the boards had the same value ("Xilinx Zynq")
--- arch/arm/boot/dts/zynq-cc108.dts | 2 +- arch/arm/boot/dts/zynq-microzed.dts | 2 +- arch/arm/boot/dts/zynq-parallella.dts | 2 +- arch/arm/boot/dts/zynq-zc702.dts | 2 +- arch/arm/boot/dts/zynq-zc706.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm010.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm011.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm012.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm013.dts | 2 +- arch/arm/boot/dts/zynq-zed.dts | 2 +- arch/arm/boot/dts/zynq-zybo-z7.dts | 2 +- arch/arm/boot/dts/zynq-zybo.dts | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-)
arch/arm/boot/dts/zynq-cc108.dts +1 -1
@@ -12,8 +12,8 @@ /include/ "zynq-7000.dtsi" / { + model = "Xilinx CC108 board"; compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-microzed.dts +1 -1
@@ -7,7 +7,7 @@ /include/ "zynq-7000.dtsi" / { - model = "Zynq MicroZED Development Board"; + model = "Avnet MicroZed board"; compatible = "avnet,zynq-microzed", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-parallella.dts +1 -1
@@ -12,7 +12,7 @@ /include/ "zynq-7000.dtsi" / { - model = "Adapteva Parallella Board"; + model = "Adapteva Parallella board"; compatible = "adapteva,parallella", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-zc702.dts +1 -1
@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZC702 Development Board"; + model = "Xilinx ZC702 board"; compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-zc706.dts +1 -1
@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZC706 Development Board"; + model = "Xilinx ZC706 board"; compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-zc770-xm010.dts +1 -1
@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM010 board"; compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-zc770-xm011.dts +1 -1
@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM011 board"; compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { i2c0 = &i2c1;
arch/arm/boot/dts/zynq-zc770-xm012.dts +1 -1
@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM012 board"; compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { i2c0 = &i2c0;
arch/arm/boot/dts/zynq-zc770-xm013.dts +1 -1
@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM013 board"; compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { ethernet0 = &gem1;
arch/arm/boot/dts/zynq-zed.dts +1 -1
@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq Zed Development Board"; + model = "Avnet ZedBoard board"; compatible = "avnet,zynq-zed", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-zybo-z7.dts +1 -1
@@ -3,7 +3,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZYBO Z7 Development Board"; + model = "Digilent Zybo Z7 board"; compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000"; aliases {
arch/arm/boot/dts/zynq-zybo.dts +1 -1
@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZYBO Development Board"; + model = "Digilent Zybo board"; compatible = "digilent,zynq-zybo", "xlnx,zynq-7000"; aliases {
Signature · 1 line
2.18.0
Re: [RFC PATCH 3/5] arm: dts: zynq: correct and improve the model property of dt files
Quoted 174 lines · Luis Araneda
Replace the current value of the model property by a more accurate description of each board (which includes the manufacturer), as some of the boards had the same value ("Xilinx Zynq")
Signed-off-by Luis Araneda <[email protected]>--- arch/arm/boot/dts/zynq-cc108.dts | 2 +- arch/arm/boot/dts/zynq-microzed.dts | 2 +- arch/arm/boot/dts/zynq-parallella.dts | 2 +- arch/arm/boot/dts/zynq-zc702.dts | 2 +- arch/arm/boot/dts/zynq-zc706.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm010.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm011.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm012.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm013.dts | 2 +- arch/arm/boot/dts/zynq-zed.dts | 2 +- arch/arm/boot/dts/zynq-zybo-z7.dts | 2 +- arch/arm/boot/dts/zynq-zybo.dts | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-)arch/arm/boot/dts/zynq-cc108.dts +1
-1@@ -12,8 +12,8 @@ /include/ "zynq-7000.dtsi" / { + model = "Xilinx CC108 board"; compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { ethernet0 = &gem0;arch/arm/boot/dts/zynq-microzed.dts +1
-1@@ -7,7 +7,7 @@ /include/ "zynq-7000.dtsi" / { - model = "Zynq MicroZED Development Board"; + model = "Avnet MicroZed board"; compatible = "avnet,zynq-microzed", "xlnx,zynq-7000"; aliases {arch/arm/boot/dts/zynq-parallella.dts +1
-1@@ -12,7 +12,7 @@ /include/ "zynq-7000.dtsi" / { - model = "Adapteva Parallella Board"; + model = "Adapteva Parallella board"; compatible = "adapteva,parallella", "xlnx,zynq-7000"; aliases {arch/arm/boot/dts/zynq-zc702.dts +1
-1@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZC702 Development Board"; + model = "Xilinx ZC702 board"; compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000"; aliases {arch/arm/boot/dts/zynq-zc706.dts +1
-1@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZC706 Development Board"; + model = "Xilinx ZC706 board"; compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000"; aliases {arch/arm/boot/dts/zynq-zc770-xm010.dts +1
-1@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM010 board"; compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { ethernet0 = &gem0;arch/arm/boot/dts/zynq-zc770-xm011.dts +1
-1@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM011 board"; compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { i2c0 = &i2c1;arch/arm/boot/dts/zynq-zc770-xm012.dts +1
-1@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM012 board"; compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { i2c0 = &i2c0;arch/arm/boot/dts/zynq-zc770-xm013.dts +1
-1@@ -8,8 +8,8 @@ #include "zynq-7000.dtsi" / { + model = "Xilinx ZC770 XM013 board"; compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000"; - model = "Xilinx Zynq"; aliases { ethernet0 = &gem1;arch/arm/boot/dts/zynq-zed.dts +1
-1@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq Zed Development Board"; + model = "Avnet ZedBoard board"; compatible = "avnet,zynq-zed", "xlnx,zynq-7000"; aliases {arch/arm/boot/dts/zynq-zybo-z7.dts +1
-1@@ -3,7 +3,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZYBO Z7 Development Board"; + model = "Digilent Zybo Z7 board"; compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000"; aliases {arch/arm/boot/dts/zynq-zybo.dts +0
-0
arch/arm/boot/dts/zynq-zybo.dts line 13
Quoted 8 lines
arch/arm/boot/dts/zynq-zybo.dts +1
-1@@ -7,7 +7,7 @@ #include "zynq-7000.dtsi" / { - model = "Zynq ZYBO Development Board"; + model = "Digilent Zybo board"; compatible = "digilent,zynq-zybo", "xlnx,zynq-7000"; aliases {
Not a problem with this patch.
M
RFC PATCH 4/5 arm: dts: zynq: rename board zed to zedboard
In reply to Luis AranedaThe real name of the board is ZedBoard, from Avnet
---
Documentation/devicetree/bindings/arm/xilinx.txt | 2 +-
arch/arm/boot/dts/Makefile | 2 +-
arch/arm/boot/dts/{zynq-zed.dts => zynq-zedboard.dts} | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
rename arch/arm/boot/dts/{zynq-zed.dts => zynq-zedboard.dts} (93%)Documentation/devicetree/bindings/arm/xilinx.txt +1 -1
@@ -30,7 +30,7 @@ Additional compatible strings: "xlnx,zynq-zc770-xm013" - Avnet ZedBoard board - "avnet,zynq-zed" + "avnet,zynq-zedboard" - Digilent Zybo board "digilent,zynq-zybo"
arch/arm/boot/dts/Makefile +1 -1
@@ -1108,7 +1108,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-zc770-xm011.dtb \ zynq-zc770-xm012.dtb \ zynq-zc770-xm013.dtb \ - zynq-zed.dtb \ + zynq-zedboard.dtb \ zynq-zybo.dtb \ zynq-zybo-z7.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \
arch/arm/boot/dts/zynq-zedboard.dts renamed from arch/arm/boot/dts/zynq-zed.dts +1 -1
@@ -8,7 +8,7 @@ / { model = "Avnet ZedBoard board"; - compatible = "avnet,zynq-zed", "xlnx,zynq-7000"; + compatible = "avnet,zynq-zedboard", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
Signature · 1 line
2.18.0
Re: [RFC PATCH 4/5] arm: dts: zynq: rename board zed to zedboard
Quoted 45 lines · Luis Araneda
The real name of the board is ZedBoard, from Avnet
Signed-off-by Luis Araneda <[email protected]>--- Documentation/devicetree/bindings/arm/xilinx.txt | 2 +- arch/arm/boot/dts/Makefile | 2 +- arch/arm/boot/dts/{zynq-zed.dts => zynq-zedboard.dts} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename arch/arm/boot/dts/{zynq-zed.dts => zynq-zedboard.dts} (93%)Documentation/devicetree/bindings/arm/xilinx.txt +1
-1@@ -30,7 +30,7 @@ Additional compatible strings: "xlnx,zynq-zc770-xm013" - Avnet ZedBoard board - "avnet,zynq-zed" + "avnet,zynq-zedboard" - Digilent Zybo board "digilent,zynq-zybo"arch/arm/boot/dts/Makefile +1
-1@@ -1108,7 +1108,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-zc770-xm011.dtb \ zynq-zc770-xm012.dtb \ zynq-zc770-xm013.dtb \ - zynq-zed.dtb \ + zynq-zedboard.dtb \ zynq-zybo.dtb \ zynq-zybo-z7.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \arch/arm/boot/dts/zynq-zedboard.dts renamed from arch/arm/boot/dts/zynq-zed.dts +0
-0
arch/arm/boot/dts/zynq-zedboard.dts line 14
Quoted 8 lines
arch/arm/boot/dts/zynq-zedboard.dts renamed from arch/arm/boot/dts/zynq-zed.dts +1
-1@@ -8,7 +8,7 @@ / { model = "Avnet ZedBoard board"; - compatible = "avnet,zynq-zed", "xlnx,zynq-7000"; + compatible = "avnet,zynq-zedboard", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
It will just cause confusion and I can't see any benefit to rename this file. If you want to state different compatible string with full board name I am fine with that but that's it.
Thanks,
Michal
Re: [RFC PATCH 4/5] arm: dts: zynq: rename board zed to zedboard
Hi Michal,
Quoted 14 lines · Michal Simek
Quoted 14 lines
arch/arm/boot/dts/zynq-zedboard.dts renamed from arch/arm/boot/dts/zynq-zed.dts +1
-1@@ -8,7 +8,7 @@ / { model = "Avnet ZedBoard board"; - compatible = "avnet,zynq-zed", "xlnx,zynq-7000"; + compatible = "avnet,zynq-zedboard", "xlnx,zynq-7000";
Quoted 7 lines
arch/arm/boot/dts/zynq-zedboard.dts line 14
Quoted 3 lines
arch/arm/boot/dts/zynq-zedboard.dts renamed from arch/arm/boot/dts/zynq-zed.dts +0
-0aliases { ethernet0 = &gem0;It will just cause confusion and I can't see any benefit to rename this file. If you want to state different compatible string with full board name I am fine with that but that's it.
Ok, I'll drop this patch for V2.
Thanks,
Luis Araneda.
RFC PATCH 5/5 arm: dts: zynq: remove "zynq" prefix from compatible property
In reply to Luis AranedaThe value "zynq" isn't officially part of the model on any board. Additionally, the value is redundant as it's included in a subsequent value of the property.
--- .../devicetree/bindings/arm/xilinx.txt | 22 +++++++++---------- arch/arm/boot/dts/zynq-cc108.dts | 2 +- arch/arm/boot/dts/zynq-microzed.dts | 2 +- arch/arm/boot/dts/zynq-zc702.dts | 2 +- arch/arm/boot/dts/zynq-zc706.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm010.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm011.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm012.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm013.dts | 2 +- arch/arm/boot/dts/zynq-zedboard.dts | 2 +- arch/arm/boot/dts/zynq-zybo-z7.dts | 2 +- arch/arm/boot/dts/zynq-zybo.dts | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-)
Documentation/devicetree/bindings/arm/xilinx.txt +11 -11
@@ -9,34 +9,34 @@ Required root node properties: Additional compatible strings: - Xilinx CC108 board - "xlnx,zynq-cc108" + "xlnx,cc108" - Avnet MicroZed board - "avnet,zynq-microzed" + "avnet,microzed" - Adapteva Parallella board "adapteva,parallella" - Xilinx ZC702 board - "xlnx,zynq-zc702" + "xlnx,zc702" - Xilinx ZC706 board - "xlnx,zynq-zc706" + "xlnx,zc706" - Xilinx ZC770 board, with different FMC cards - "xlnx,zynq-zc770-xm010" - "xlnx,zynq-zc770-xm011" - "xlnx,zynq-zc770-xm012" - "xlnx,zynq-zc770-xm013" + "xlnx,zc770-xm010" + "xlnx,zc770-xm011" + "xlnx,zc770-xm012" + "xlnx,zc770-xm013" - Avnet ZedBoard board - "avnet,zynq-zedboard" + "avnet,zedboard" - Digilent Zybo board - "digilent,zynq-zybo" + "digilent,zybo" - Digilent Zybo Z7 board - "digilent,zynq-zybo-z7" + "digilent,zybo-z7" ---------------------------------------------------------------
arch/arm/boot/dts/zynq-cc108.dts +1 -1
@@ -13,7 +13,7 @@ / { model = "Xilinx CC108 board"; - compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000"; + compatible = "xlnx,cc108", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-microzed.dts +1 -1
@@ -8,7 +8,7 @@ / { model = "Avnet MicroZed board"; - compatible = "avnet,zynq-microzed", "xlnx,zynq-7000"; + compatible = "avnet,microzed", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-zc702.dts +1 -1
@@ -8,7 +8,7 @@ / { model = "Xilinx ZC702 board"; - compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000"; + compatible = "xlnx,zc702", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-zc706.dts +1 -1
@@ -8,7 +8,7 @@ / { model = "Xilinx ZC706 board"; - compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000"; + compatible = "xlnx,zc706", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-zc770-xm010.dts +1 -1
@@ -9,7 +9,7 @@ / { model = "Xilinx ZC770 XM010 board"; - compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; + compatible = "xlnx,zc770-xm010", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-zc770-xm011.dts +1 -1
@@ -9,7 +9,7 @@ / { model = "Xilinx ZC770 XM011 board"; - compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; + compatible = "xlnx,zc770-xm011", "xlnx,zynq-7000"; aliases { i2c0 = &i2c1;
arch/arm/boot/dts/zynq-zc770-xm012.dts +1 -1
@@ -9,7 +9,7 @@ / { model = "Xilinx ZC770 XM012 board"; - compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000"; + compatible = "xlnx,zc770-xm012", "xlnx,zynq-7000"; aliases { i2c0 = &i2c0;
arch/arm/boot/dts/zynq-zc770-xm013.dts +1 -1
@@ -9,7 +9,7 @@ / { model = "Xilinx ZC770 XM013 board"; - compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000"; + compatible = "xlnx,zc770-xm013", "xlnx,zynq-7000"; aliases { ethernet0 = &gem1;
arch/arm/boot/dts/zynq-zedboard.dts +1 -1
@@ -8,7 +8,7 @@ / { model = "Avnet ZedBoard board"; - compatible = "avnet,zynq-zedboard", "xlnx,zynq-7000"; + compatible = "avnet,zedboard", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-zybo-z7.dts +1 -1
@@ -4,7 +4,7 @@ / { model = "Digilent Zybo Z7 board"; - compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000"; + compatible = "digilent,zybo-z7", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
arch/arm/boot/dts/zynq-zybo.dts +1 -1
@@ -8,7 +8,7 @@ / { model = "Digilent Zybo board"; - compatible = "digilent,zynq-zybo", "xlnx,zynq-7000"; + compatible = "digilent,zybo", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
Signature · 1 line
2.18.0
Re: [RFC PATCH 5/5] arm: dts: zynq: remove "zynq" prefix from compatible property
Quoted 206 lines · Luis Araneda
The value "zynq" isn't officially part of the model on any board. Additionally, the value is redundant as it's included in a subsequent value of the property.
Signed-off-by Luis Araneda <[email protected]>--- .../devicetree/bindings/arm/xilinx.txt | 22 +++++++++---------- arch/arm/boot/dts/zynq-cc108.dts | 2 +- arch/arm/boot/dts/zynq-microzed.dts | 2 +- arch/arm/boot/dts/zynq-zc702.dts | 2 +- arch/arm/boot/dts/zynq-zc706.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm010.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm011.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm012.dts | 2 +- arch/arm/boot/dts/zynq-zc770-xm013.dts | 2 +- arch/arm/boot/dts/zynq-zedboard.dts | 2 +- arch/arm/boot/dts/zynq-zybo-z7.dts | 2 +- arch/arm/boot/dts/zynq-zybo.dts | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-)Documentation/devicetree/bindings/arm/xilinx.txt +11
-11@@ -9,34 +9,34 @@ Required root node properties: Additional compatible strings: - Xilinx CC108 board - "xlnx,zynq-cc108" + "xlnx,cc108" - Avnet MicroZed board - "avnet,zynq-microzed" + "avnet,microzed" - Adapteva Parallella board "adapteva,parallella" - Xilinx ZC702 board - "xlnx,zynq-zc702" + "xlnx,zc702" - Xilinx ZC706 board - "xlnx,zynq-zc706" + "xlnx,zc706" - Xilinx ZC770 board, with different FMC cards - "xlnx,zynq-zc770-xm010" - "xlnx,zynq-zc770-xm011" - "xlnx,zynq-zc770-xm012" - "xlnx,zynq-zc770-xm013" + "xlnx,zc770-xm010" + "xlnx,zc770-xm011" + "xlnx,zc770-xm012" + "xlnx,zc770-xm013" - Avnet ZedBoard board - "avnet,zynq-zedboard" + "avnet,zedboard" - Digilent Zybo board - "digilent,zynq-zybo" + "digilent,zybo" - Digilent Zybo Z7 board - "digilent,zynq-zybo-z7" + "digilent,zybo-z7" ---------------------------------------------------------------arch/arm/boot/dts/zynq-cc108.dts +1
-1@@ -13,7 +13,7 @@ / { model = "Xilinx CC108 board"; - compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000"; + compatible = "xlnx,cc108", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;arch/arm/boot/dts/zynq-microzed.dts +1
-1@@ -8,7 +8,7 @@ / { model = "Avnet MicroZed board"; - compatible = "avnet,zynq-microzed", "xlnx,zynq-7000"; + compatible = "avnet,microzed", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;arch/arm/boot/dts/zynq-zc702.dts +1
-1@@ -8,7 +8,7 @@ / { model = "Xilinx ZC702 board"; - compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000"; + compatible = "xlnx,zc702", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;arch/arm/boot/dts/zynq-zc706.dts +1
-1@@ -8,7 +8,7 @@ / { model = "Xilinx ZC706 board"; - compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000"; + compatible = "xlnx,zc706", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;arch/arm/boot/dts/zynq-zc770-xm010.dts +1
-1@@ -9,7 +9,7 @@ / { model = "Xilinx ZC770 XM010 board"; - compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; + compatible = "xlnx,zc770-xm010", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;arch/arm/boot/dts/zynq-zc770-xm011.dts +1
-1@@ -9,7 +9,7 @@ / { model = "Xilinx ZC770 XM011 board"; - compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; + compatible = "xlnx,zc770-xm011", "xlnx,zynq-7000"; aliases { i2c0 = &i2c1;arch/arm/boot/dts/zynq-zc770-xm012.dts +1
-1@@ -9,7 +9,7 @@ / { model = "Xilinx ZC770 XM012 board"; - compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000"; + compatible = "xlnx,zc770-xm012", "xlnx,zynq-7000"; aliases { i2c0 = &i2c0;arch/arm/boot/dts/zynq-zc770-xm013.dts +1
-1@@ -9,7 +9,7 @@ / { model = "Xilinx ZC770 XM013 board"; - compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000"; + compatible = "xlnx,zc770-xm013", "xlnx,zynq-7000"; aliases { ethernet0 = &gem1;arch/arm/boot/dts/zynq-zedboard.dts +1
-1@@ -8,7 +8,7 @@ / { model = "Avnet ZedBoard board"; - compatible = "avnet,zynq-zedboard", "xlnx,zynq-7000"; + compatible = "avnet,zedboard", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;arch/arm/boot/dts/zynq-zybo-z7.dts +1
-1@@ -4,7 +4,7 @@ / { model = "Digilent Zybo Z7 board"; - compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000"; + compatible = "digilent,zybo-z7", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;arch/arm/boot/dts/zynq-zybo.dts +0
-0
arch/arm/boot/dts/zynq-zybo.dts line 14
Quoted 8 lines
arch/arm/boot/dts/zynq-zybo.dts +1
-1@@ -8,7 +8,7 @@ / { model = "Digilent Zybo board"; - compatible = "digilent,zynq-zybo", "xlnx,zynq-7000"; + compatible = "digilent,zybo", "xlnx,zynq-7000"; aliases { ethernet0 = &gem0;
zynq name here is correct which is saying that hardblock is going to be described. Without it it is suggesting that hardblock is not used and it is for example on zybo with microblaze.
Thanks,
Michal
Re: [RFC PATCH 5/5] arm: dts: zynq: remove "zynq" prefix from compatible property
Hi Michal,
Quoted 3 lines · Michal Simek
zynq name here is correct which is saying that hardblock is going to be described. Without it it is suggesting that hardblock is not used and it is for example on zybo with microblaze.
In my opinion, the zynq name is just adding redundant information to the "xlnx,zynq-7000" value.
Taking the Zybo board, the current compatible property is:
Quoted 1 line
compatible = "digilent,zynq-zybo", "xlnx,zynq-7000";
I'm proposing to change it to:
Quoted 1 line
compatible = "digilent,zybo", "xlnx,zynq-7000";
(I know I must keep the old value too, I'm simplifying)
In the case of a Zybo board with a microblaze, the property could be:
Quoted 1 line
compatible = "digilent,zybo", "xlnx,microblaze";
That would allow to differentiate between zynq and microblaze.
I have no problem on dropping the patch if you like. There might be something that I'm not seeing or a use case that I'm missing.
Thanks,
Luis Araneda.
Rob Herring
maintainerRe: [RFC PATCH 5/5] arm: dts: zynq: remove "zynq" prefix from compatible property
Quoted 9 lines · Luis Araneda
Hi Michal,
Quoted 3 lines · Michal Simek
zynq name here is correct which is saying that hardblock is going to be described. Without it it is suggesting that hardblock is not used and it is for example on zybo with microblaze.
In my opinion, the zynq name is just adding redundant information to the "xlnx,zynq-7000" value.
Maybe so, but you can't just go around changing compatible strings. Once set, it's an ABI.
Rob
Re: [RFC PATCH 5/5] arm: dts: zynq: remove "zynq" prefix from compatible property
Hi Rob,
Quoted 2 lines · Rob Herring
Maybe so, but you can't just go around changing compatible strings. Once set, it's an ABI.
Ok, I'll drop the patch from v2.
Thanks,
Luis Araneda.