Skip to contentSkip to conversation

ARM64: meson: DT cleanups

PATCH In review Andreas Färber 7 participants 50 messages May 13, 2017 – May 25, 2017

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

v2 cover ARM64: meson: DT cleanups

Hello Kevin,

This series fixes several cosmetic issues, on top of your for-next branch.

Patches 3-6 rename a node, the rest should all be non-functional changes.

PLEASE STOP merging random new nodes at the bottom of DT files! Just like it's a convention to sort new nodes by unit address, it has been a convention to sort by-label nodes by their label. As discussed here and elsewhere, this helps avoid merge conflicts and makes nodes easy to find. I don't care whether we order A0 before A or after, but adding new HDMI or CVBS nodes at the very bottom is totally out of alphabetical order. Since my v1 you really should've known that...

Similarly, Khadas Vim shouldn't have been merged with the "bcrmf" typo.

Which proves my point that we need to fix these issues now so that they don't keep spreading (Broken Window Theory). New boards have not been checked for sort order, only boards already touched in v1.

Board and Makefile order affect my pending R-Box Pro patches. Node order affects Martin's pending Bluetooth patches among others.

Patches 7-9 (had and) have no dependency, please start applying.

Thanks,
Andreas

v1 -> v2:
* Rebased (new nodes/properties added)
* Chose a different name for the misnamed Wifi nodes (Rob)
* Added patch to fix another new misnamed Wifi node
* Dropped patch fixing a trailing white line error (resolved)
* Tweaked subjects

Cc Kevin Hilman <[email protected]>
Cc devicetree at vger.kernel.org
Cc Rob Herring <[email protected]>
Cc Neil Armstrong <[email protected]>
Cc Martin Blumenstingl <[email protected]>

Andreas F?rber (18):
dt-bindings: arm: amlogic: Reorder boards
arm64: dts: amlogic: Sort Makefile
arm64: dts: meson-gxbb-vega-s95: Fix Wifi node name
arm64: dts: meson-gxbb-p20x: Fix Wifi node name
arm64: dts: meson-gx-p23x-q20x: Fix Wifi node name
arm64: dts: meson-gxl-s905x-khadas-vim: Fix Wifi node name
arm64: dts: meson-gxm-nexbox-a1: Drop UART comment
arm64: dts: meson-gxl-s905x: Comment typo fix
arm64: dts: meson-gxbb-wetek-hub: Reference CVBS node by label
arm64: dts: meson-gxbb: Fix node order
arm64: dts: meson-gxbb-odroidc2: Fix node order
arm64: dts: meson-gxbb-vega-s95: Fix node order
arm64: dts: meson-gxbb-nexbox-a95x: Fix node order
arm64: dts: meson-gxbb-p20x: Fix node order
arm64: dts: meson-gxl: Fix node order
arm64: dts: meson-gxl-s905x-nexbox-a95x: Fix node order
arm64: dts: meson-gxm-nexbox-a1: Fix node order
arm64: dts: meson-gx-p23x-q20x: Fix node order

 Documentation/devicetree/bindings/arm/amlogic.txt  |  20 ++-
 arch/arm64/boot/dts/amlogic/Makefile               |   6 +-
 .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi |  60 ++++----
 .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts    |  52 +++----
 .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 108 ++++++-------
 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi   |  66 ++++----
 .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi      |  56 +++----
 .../boot/dts/amlogic/meson-gxbb-wetek-hub.dts      |   6 +-
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi        | 171 +++++++++++----------
 .../dts/amlogic/meson-gxl-s905x-khadas-vim.dts     |   2 +-
 .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts    |  52 +++----
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi   |   2 +-
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi         |  72 ++++-----
 .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts |  87 ++++++-----
 14 files changed, 388 insertions(+), 372 deletions(-)
Signature · 1 line
2.12.0
#1 lore raw

PATCH v2 1/18 dt-bindings: arm: amlogic: Reorder boards

Enforce groupment by SoCs, and order alphabetically within the group (with some exceptions). This should facilitate adding new boards.

---
v1 -> v2:
* Rebased (new boards added)
* Pointed out alphabetical order in the binding, too (Rob)

 Documentation/devicetree/bindings/arm/amlogic.txt | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
Documentation/devicetree/bindings/arm/amlogic.txt +13 -7
index bfd5b558477d..cad5b5a48d92 100644
@@ -29,26 +29,32 @@ Boards with the Amlogic Meson GXM S912 SoC shall have the following properties:
   Required root node property:
     compatible: "amlogic,s912", "amlogic,meson-gxm";
 
-Board compatible values:
+Board compatible values (alphabetically, grouped by SoC):
+
   - "geniatech,atv1200" (Meson6)
+
   - "minix,neo-x8" (Meson8)
-  - "tronfy,mxq" (Meson8b)
+
   - "hardkernel,odroid-c1" (Meson8b)
+  - "tronfy,mxq" (Meson8b)
+
+  - "amlogic,p200" (Meson gxbb)
+  - "amlogic,p201" (Meson gxbb)
+  - "hardkernel,odroid-c2" (Meson gxbb)
+  - "nexbox,a95x" (Meson gxbb or Meson gxl s905x)
   - "tronsmart,vega-s95-pro", "tronsmart,vega-s95" (Meson gxbb)
   - "tronsmart,vega-s95-meta", "tronsmart,vega-s95" (Meson gxbb)
   - "tronsmart,vega-s95-telos", "tronsmart,vega-s95" (Meson gxbb)
-  - "hardkernel,odroid-c2" (Meson gxbb)
-  - "amlogic,p200" (Meson gxbb)
-  - "amlogic,p201" (Meson gxbb)
   - "wetek,hub" (Meson gxbb)
   - "wetek,play2" (Meson gxbb)
+
   - "amlogic,p212" (Meson gxl s905x)
+  - "hwacom,amazetv" (Meson gxl s905x)
   - "khadas,vim" (Meson gxl s905x)
 
   - "amlogic,p230" (Meson gxl s905d)
   - "amlogic,p231" (Meson gxl s905d)
-  - "hwacom,amazetv" (Meson gxl s905x)
+
   - "amlogic,q200" (Meson gxm s912)
   - "amlogic,q201" (Meson gxm s912)
-  - "nexbox,a95x" (Meson gxbb or Meson gxl s905x)
   - "nexbox,a1" (Meson gxm s912)
Signature · 1 line
2.12.0
#2 lore raw

Re: [PATCH v2 01/18] dt-bindings: arm: amlogic: Reorder boards

Quoted 47 lines · Andreas F?rber

Enforce groupment by SoCs, and order alphabetically within the group (with some exceptions). This should facilitate adding new boards.

---
v1 -> v2:
* Rebased (new boards added)
* Pointed out alphabetical order in the binding, too (Rob)

 Documentation/devicetree/bindings/arm/amlogic.txt | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
Documentation/devicetree/bindings/arm/amlogic.txt +12 -5
index bfd5b558477d..cad5b5a48d92 100644
@@ -29,26 +29,32 @@ Boards with the Amlogic Meson GXM S912 SoC shall have the following properties:
   Required root node property:
     compatible: "amlogic,s912", "amlogic,meson-gxm";
 
-Board compatible values:
+Board compatible values (alphabetically, grouped by SoC):
+
   - "geniatech,atv1200" (Meson6)
+
   - "minix,neo-x8" (Meson8)
-  - "tronfy,mxq" (Meson8b)
+
   - "hardkernel,odroid-c1" (Meson8b)
+  - "tronfy,mxq" (Meson8b)
+
+  - "amlogic,p200" (Meson gxbb)
+  - "amlogic,p201" (Meson gxbb)
+  - "hardkernel,odroid-c2" (Meson gxbb)
+  - "nexbox,a95x" (Meson gxbb or Meson gxl s905x)
   - "tronsmart,vega-s95-pro", "tronsmart,vega-s95" (Meson gxbb)
   - "tronsmart,vega-s95-meta", "tronsmart,vega-s95" (Meson gxbb)
   - "tronsmart,vega-s95-telos", "tronsmart,vega-s95" (Meson gxbb)
-  - "hardkernel,odroid-c2" (Meson gxbb)
-  - "amlogic,p200" (Meson gxbb)
-  - "amlogic,p201" (Meson gxbb)
   - "wetek,hub" (Meson gxbb)
   - "wetek,play2" (Meson gxbb)
+
   - "amlogic,p212" (Meson gxl s905x)
+  - "hwacom,amazetv" (Meson gxl s905x)

Documentation/devicetree/bindings/arm/amlogic.txt Boards with the Amlogic Meson GXM S912 SoC shall have the following properties: · line 60

Quoted 10 lines
Documentation/devicetree/bindings/arm/amlogic.txt +1 -2
   - "khadas,vim" (Meson gxl s905x)
 
   - "amlogic,p230" (Meson gxl s905d)
   - "amlogic,p231" (Meson gxl s905d)
-  - "hwacom,amazetv" (Meson gxl s905x)
+
   - "amlogic,q200" (Meson gxm s912)
   - "amlogic,q201" (Meson gxm s912)
-  - "nexbox,a95x" (Meson gxbb or Meson gxl s905x)
   - "nexbox,a1" (Meson gxm s912)

Like patch 2, S905X should go after S905D.

Neil

maintainer Acked-by on v2 1/18
#3 lore raw

Re: [PATCH v2 01/18] dt-bindings: arm: amlogic: Reorder boards

In reply to Andreas Färber
Quoted 11 lines · Andreas F?rber

Enforce groupment by SoCs, and order alphabetically within the group (with some exceptions). This should facilitate adding new boards.

---
v1 -> v2:
* Rebased (new boards added)
* Pointed out alphabetical order in the binding, too (Rob)

 Documentation/devicetree/bindings/arm/amlogic.txt | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
#4 lore raw

PATCH v2 2/18 arm64: dts: amlogic: Sort Makefile

In reply to Andreas Färber

Sort the .dtb files alphabetically to make clear where to add new ones.

---
v1 -> v2:
* Rebased (new boards added)
* Extended commit message

 arch/arm64/boot/dts/amlogic/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/amlogic/Makefile +3 -3
index b9ad2db7398b..14fa27ccd589 100644
@@ -7,15 +7,15 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-meta.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-telos.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-wetek-hub.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-wetek-play2.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-hwacom-amazetv.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-khadas-vim.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb
-dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-hwacom-amazetv.dtb
-dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q200.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q201.dtb
-dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb
 
 always		:= $(dtb-y)
 subdir-y	:= $(dts-dirs)
Signature · 1 line
2.12.0
#5 lore raw

Re: [PATCH v2 02/18] arm64: dts: amlogic: Sort Makefile

Le 13/05/2017 ? 16:33, Andreas F?rber a ?crit :

Quoted 16 lines

Sort the .dtb files alphabetically to make clear where to add new ones.

---
v1 -> v2:
* Rebased (new boards added)
* Extended commit message

  arch/arm64/boot/dts/amlogic/Makefile | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/amlogic/Makefile +0 -0
index b9ad2db7398b..14fa27ccd589 100644

arch/arm64/boot/dts/amlogic/Makefile dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-meta.dtb · line 15

Quoted 9 lines
arch/arm64/boot/dts/amlogic/Makefile +2 -0
@@ -7,15 +7,15 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-meta.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-telos.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-wetek-hub.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-wetek-play2.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-hwacom-amazetv.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-khadas-vim.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb

s905d should be before s905x if you are imposing alphabetical order.

Quoted 9 lines
arch/arm64/boot/dts/amlogic/Makefile +1 -3
-dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-hwacom-amazetv.dtb
-dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q200.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q201.dtb
-dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb
 
  always		:= $(dtb-y)
  subdir-y	:= $(dts-dirs)
#6 lore raw

Re: [PATCH v2 02/18] arm64: dts: amlogic: Sort Makefile

Am 14.05.2017 um 06:28 schrieb Chris Moore:

Quoted 21 lines

Le 13/05/2017 ? 16:33, Andreas F?rber a ?crit :

Quoted 20 lines

Sort the .dtb files alphabetically to make clear where to add new ones.

---
v1 -> v2:
* Rebased (new boards added)
* Extended commit message

    arch/arm64/boot/dts/amlogic/Makefile | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/amlogic/Makefile +0 -0
index b9ad2db7398b..14fa27ccd589 100644
@@ -7,15 +7,15 @@ dtb-$(CONFIG_ARCH_MESON) +=

meson-gxbb-vega-s95-meta.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-telos.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-wetek-hub.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-wetek-play2.dtb

Quoted 8 lines

arch/arm64/boot/dts/amlogic/Makefile dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-meta.dtb · line 15

Quoted 6 lines
arch/arm64/boot/dts/amlogic/Makefile +2 -0
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-hwacom-amazetv.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-khadas-vim.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb

s905d should be before s905x if you are imposing alphabetical order.

True, but the above matches the SoC grouping in patch 01/18, and I'd rather not resend this series more often than necessary. If we need to respin it, we could insert white lines or comments to make it clearer. Or Kevin could just add "grouped by SoC" to the commit message. He had no comment in v1 and wanted to apply them but insisted on a respin.

Regards,
Andreas

Quoted 8 lines
Quoted 8 lines
arch/arm64/boot/dts/amlogic/Makefile +1 -3
-dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-hwacom-amazetv.dtb
-dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q200.dtb
  dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q201.dtb
-dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb
    always        := $(dtb-y)
  subdir-y    := $(dts-dirs)
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
#7 lore raw

PATCH v2 3/18 arm64: dts: meson-gxbb-vega-s95: Fix Wifi node name

In reply to Andreas Färber

bcrmf -> brcmf -> wifi

Fixes ab5b24fdd2d5 ("ARM64: dts: meson-gxbb-vega-s95: Add SD/SDIO/MMC and PWM nodes")
Cc Martin Blumenstingl <[email protected]>

---
v1 -> v2:
* Renamed node brmcf -> wifi (Rob)

 arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +1 -1
index aefa66dff72d..f4bfee8e2e08 100644
@@ -186,7 +186,7 @@
 	vmmc-supply = <&vcc_3v3>;
 	vqmmc-supply = <&vcc_1v8>;
 
-	brcmf: bcrmf at 1 {
+	brcmf: wifi at 1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
Signature · 1 line
2.12.0
Reviewed-by on v2 3/18
#8 lore raw

Re: [PATCH v2 03/18] arm64: dts: meson-gxbb-vega-s95: Fix Wifi node name

Quoted 18 lines · Andreas F?rber

bcrmf -> brcmf -> wifi

Fixes ab5b24fdd2d5 ("ARM64: dts: meson-gxbb-vega-s95: Add SD/SDIO/MMC and PWM nodes")
Cc Martin Blumenstingl <[email protected]>

---
v1 -> v2:
* Renamed node brmcf -> wifi (Rob)

 arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +0 -0
index aefa66dff72d..f4bfee8e2e08 100644

arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi line 192

Quoted 8 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +1 -1
@@ -186,7 +186,7 @@
 	vmmc-supply = <&vcc_3v3>;
 	vqmmc-supply = <&vcc_1v8>;
 
-	brcmf: bcrmf at 1 {
+	brcmf: wifi at 1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
#9 lore raw

PATCH v2 4/18 arm64: dts: meson-gxbb-p20x: Fix Wifi node name

In reply to Andreas Färber

bcrmf -> brcmf -> wifi

Fixes ab3943fe57a2 ("ARM64: dts: meson-gxbb: Add P20x Wifi SDIO support")
Cc Neil Armstrong <[email protected]>

---
v1 -> v2:
* Renamed node brmcf -> wifi (Rob)

 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1 -1
index 3c6c0b7f4187..a5be438a5c03 100644
@@ -198,7 +198,7 @@
 	vmmc-supply = <&vddao_3v3>;
 	vqmmc-supply = <&vddio_boot>;
 
-	brcmf: bcrmf at 1 {
+	brcmf: wifi at 1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
Signature · 1 line
2.12.0
Reviewed-by on v2 4/18
#10 lore raw

Re: [PATCH v2 04/18] arm64: dts: meson-gxbb-p20x: Fix Wifi node name

Quoted 18 lines · Andreas F?rber

bcrmf -> brcmf -> wifi

Fixes ab3943fe57a2 ("ARM64: dts: meson-gxbb: Add P20x Wifi SDIO support")
Cc Neil Armstrong <[email protected]>

---
v1 -> v2:
* Renamed node brmcf -> wifi (Rob)

 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +0 -0
index 3c6c0b7f4187..a5be438a5c03 100644

arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi line 204

Quoted 8 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1 -1
@@ -198,7 +198,7 @@
 	vmmc-supply = <&vddao_3v3>;
 	vqmmc-supply = <&vddio_boot>;
 
-	brcmf: bcrmf at 1 {
+	brcmf: wifi at 1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
#11 lore raw

PATCH v2 5/18 arm64: dts: meson-gx-p23x-q20x: Fix Wifi node name

In reply to Andreas Färber

bcrmf -> brcmf -> wifi

Fixes bb51b5350d2f ("ARM64: dts: Add support for Meson GXM")
Cc Neil Armstrong <[email protected]>

---
v1 -> v2:
* Renamed node brmcf -> wifi (Rob)

 arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +1 -1
index a84e27622639..25eed18a7439 100644
@@ -154,7 +154,7 @@
 	vmmc-supply = <&vddao_3v3>;
 	vqmmc-supply = <&vddio_boot>;
 
-	brcmf: bcrmf at 1 {
+	brcmf: wifi at 1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
Signature · 1 line
2.12.0
Reviewed-by on v2 5/18
#12 lore raw

Re: [PATCH v2 05/18] arm64: dts: meson-gx-p23x-q20x: Fix Wifi node name

Quoted 18 lines · Andreas F?rber

bcrmf -> brcmf -> wifi

Fixes bb51b5350d2f ("ARM64: dts: Add support for Meson GXM")
Cc Neil Armstrong <[email protected]>

---
v1 -> v2:
* Renamed node brmcf -> wifi (Rob)

 arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +0 -0
index a84e27622639..25eed18a7439 100644

arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi line 160

Quoted 8 lines
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +1 -1
@@ -154,7 +154,7 @@
 	vmmc-supply = <&vddao_3v3>;
 	vqmmc-supply = <&vddio_boot>;
 
-	brcmf: bcrmf at 1 {
+	brcmf: wifi at 1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
#13 lore raw

PATCH v2 6/18 arm64: dts: meson-gxl-s905x-khadas-vim: Fix Wifi node name

In reply to Andreas Färber

bcrmf -> brcmf -> wifi

Fixes e15d2774b8c0 ("ARM64: dts: meson-gxl: add support for the Khadas VIM board")
Cc Martin Blumenstingl <[email protected]>

---
v2: New

 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +1 -1
index 3c8b0b51ef27..6a81f0168da5 100644
@@ -95,7 +95,7 @@
 };
 
 &sd_emmc_a {
-	brcmf: bcrmf at 1 {
+	brcmf: wifi at 1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
Signature · 1 line
2.12.0
Reviewed-by on v2 6/18
#14 lore raw

Re: [PATCH v2 06/18] arm64: dts: meson-gxl-s905x-khadas-vim: Fix Wifi node name

Quoted 17 lines · Andreas F?rber

bcrmf -> brcmf -> wifi

Fixes e15d2774b8c0 ("ARM64: dts: meson-gxl: add support for the Khadas VIM board")
Cc Martin Blumenstingl <[email protected]>

---
v2: New

 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +0 -0
index 3c8b0b51ef27..6a81f0168da5 100644

arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts line 101

Quoted 8 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +1 -1
@@ -95,7 +95,7 @@
 };
 
 &sd_emmc_a {
-	brcmf: bcrmf at 1 {
+	brcmf: wifi at 1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
reviewer Reviewed-by on v2 6/18
#15 lore raw

Re: [PATCH v2 06/18] arm64: dts: meson-gxl-s905x-khadas-vim: Fix Wifi node name

In reply to Andreas Färber
Quoted 5 lines · Andreas F?rber

bcrmf -> brcmf -> wifi

Fixes e15d2774b8c0 ("ARM64: dts: meson-gxl: add support for the Khadas VIM board")
Cc Martin Blumenstingl <[email protected]>
Quoted 22 lines

---
v2: New

 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +1 -2
index 3c8b0b51ef27..6a81f0168da5 100644
@@ -95,7 +95,7 @@
 };
 
 &sd_emmc_a {
-       brcmf: bcrmf at 1 {
+       brcmf: wifi at 1 {
                reg = <1>;
                compatible = "brcm,bcm4329-fmac";
        };
--

2.12.0

#16 lore raw

PATCH v2 7/18 arm64: dts: meson-gxm-nexbox-a1: Drop UART comment

In reply to Andreas Färber

Product pictures show no DB9 connector, so this seems copy&paste.

---
v1 -> v2: Unchanged

 arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +0 -1
index 11b0bf46a95c..920fac10de93 100644
@@ -113,7 +113,6 @@
 	};
 };
 
-/* This UART is brought out to the DB9 connector */
 &uart_AO {
 	status = "okay";
 	pinctrl-0 = <&uart_ao_a_pins>;
Signature · 1 line
2.12.0
Reviewed-by on v2 7/18
#17 lore raw

Re: [PATCH v2 07/18] arm64: dts: meson-gxm-nexbox-a1: Drop UART comment

Quoted 16 lines · Andreas F?rber

Product pictures show no DB9 connector, so this seems copy&paste.

---
v1 -> v2: Unchanged

 arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +0 -0
index 11b0bf46a95c..920fac10de93 100644

arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts line 118

Quoted 7 lines
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +0 -1
@@ -113,7 +113,6 @@
 	};
 };
 
-/* This UART is brought out to the DB9 connector */
 &uart_AO {
 	status = "okay";
 	pinctrl-0 = <&uart_ao_a_pins>;
#18 lore raw

PATCH v2 8/18 arm64: dts: meson-gxl-s905x: Comment typo fix

In reply to Andreas Färber

---
v1 -> v2: Unchanged

 arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi +1 -1
index 0f78d836edaf..3314a0b3dad9 100644
@@ -48,7 +48,7 @@
 	compatible = "amlogic,s905x", "amlogic,meson-gxl";
 };
 
-/* S905X Only has access to its internal PHY */
+/* S905X only has access to its internal PHY */
 &ethmac {
 	phy-mode = "rmii";
 	phy-handle = <&internal_phy>;
Signature · 1 line
2.12.0
Reviewed-by on v2 8/18
#19 lore raw

Re: [PATCH v2 08/18] arm64: dts: meson-gxl-s905x: Comment typo fix

Quoted 14 lines · Andreas F?rber

---
v1 -> v2: Unchanged

 arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi +0 -0
index 0f78d836edaf..3314a0b3dad9 100644

arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi line 54

Quoted 8 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi +1 -1
@@ -48,7 +48,7 @@
 	compatible = "amlogic,s905x", "amlogic,meson-gxl";
 };
 
-/* S905X Only has access to its internal PHY */
+/* S905X only has access to its internal PHY */
 &ethmac {
 	phy-mode = "rmii";
 	phy-handle = <&internal_phy>;
#20 lore raw

PATCH v2 9/18 arm64: dts: meson-gxbb-wetek-hub: Reference CVBS node by label

In reply to Andreas Färber

Makes the override safer.

---
v1 -> v2:
* Extended commit message

 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi     | 2 +-
 arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1 -1
index a5be438a5c03..0ec1d19522dd 100644
@@ -126,7 +126,7 @@
 		clock-names = "ext_clock";
 	};
 
-	cvbs-connector {
+	cvbs_connector: cvbs-connector {
 		compatible = "composite-video-connector";
 
 		port {
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts +3 -3
index f057fb48fee5..1878ac2b2b83 100644
@@ -59,10 +59,10 @@
 			panic-indicator;
 		};
 	};
+};
 
-	cvbs-connector {
-		status = "disabled";
-	};
+&cvbs_connector {
+	status = "disabled";
 };
 
 &ethmac {
Signature · 1 line
2.12.0
Reviewed-by on v2 9/18
#21 lore raw

Re: [PATCH v2 09/18] arm64: dts: meson-gxbb-wetek-hub: Reference CVBS node by label

Quoted 34 lines · Andreas F?rber

Makes the override safer.

---
v1 -> v2:
* Extended commit message

 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi     | 2 +-
 arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1 -1
index a5be438a5c03..0ec1d19522dd 100644
@@ -126,7 +126,7 @@
 		clock-names = "ext_clock";
 	};
 
-	cvbs-connector {
+	cvbs_connector: cvbs-connector {
 		compatible = "composite-video-connector";
 
 		port {
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts +0 -0
index f057fb48fee5..1878ac2b2b83 100644
@@ -59,10 +59,10 @@
 			panic-indicator;
 		};
 	};

arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts line 68

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts +3 -3
+};
 
-	cvbs-connector {
-		status = "disabled";
-	};
+&cvbs_connector {
+	status = "disabled";
 };
 
 &ethmac {
#22 lore raw

PATCH v2 10/18 arm64: dts: meson-gxbb: Fix node order

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 171 +++++++++++++++-------------
 1 file changed, 91 insertions(+), 80 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +91 -80
index 4afe1c46ec11..92dd5d1d73c8 100644
@@ -97,13 +97,6 @@
 	};
 };
 
-&ethmac {
-	clocks = <&clkc CLKID_ETH>,
-		 <&clkc CLKID_FCLK_DIV2>,
-		 <&clkc CLKID_MPLL2>;
-	clock-names = "stmmaceth", "clkin0", "clkin1";
-};
-
 &aobus {
 	pinctrl_aobus: pinctrl at 14 {
 		compatible = "amlogic,meson-gxbb-aobus-pinctrl";
@@ -252,6 +245,97 @@
 	};
 };
 
+&apb {
+	mali: gpu at c0000 {
+		compatible = "amlogic,meson-gxbb-mali", "arm,mali-450";
+		reg = <0x0 0xc0000 0x0 0x40000>;
+		interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "gp", "gpmmu", "pp", "pmu",
+			"pp0", "ppmmu0", "pp1", "ppmmu1",
+			"pp2", "ppmmu2";
+		clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>;
+		clock-names = "bus", "core";
+
+		/*
+		 * Mali clocking is provided by two identical clock paths
+		 * MALI_0 and MALI_1 muxed to a single clock by a glitch
+		 * free mux to safely change frequency while running.
+		 */
+		assigned-clocks = <&clkc CLKID_MALI_0_SEL>,
+				  <&clkc CLKID_MALI_0>,
+				  <&clkc CLKID_MALI>; /* Glitch free mux */
+		assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>,
+					 <0>, /* Do Nothing */
+					 <&clkc CLKID_MALI_0>;
+		assigned-clock-rates = <0>, /* Do Nothing */
+				       <666666666>,
+				       <0>; /* Do Nothing */
+	};
+};
+
+&cbus {
+	spifc: spi at 8c80 {
+		compatible = "amlogic,meson-gxbb-spifc";
+		reg = <0x0 0x08c80 0x0 0x80>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clocks = <&clkc CLKID_SPI>;
+		status = "disabled";
+	};
+};
+
+&ethmac {
+	clocks = <&clkc CLKID_ETH>,
+		 <&clkc CLKID_FCLK_DIV2>,
+		 <&clkc CLKID_MPLL2>;
+	clock-names = "stmmaceth", "clkin0", "clkin1";
+};
+
+&hdmi_tx {
+	compatible = "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
+	resets = <&reset RESET_HDMITX_CAPB3>,
+		 <&reset RESET_HDMI_SYSTEM_RESET>,
+		 <&reset RESET_HDMI_TX>;
+	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
+	clocks = <&clkc CLKID_HDMI_PCLK>,
+		 <&clkc CLKID_CLK81>,
+		 <&clkc CLKID_GCLK_VENCI_INT0>;
+	clock-names = "isfr", "iahb", "venci";
+};
+
+&hiubus {
+	clkc: clock-controller at 0 {
+		compatible = "amlogic,gxbb-clkc";
+		#clock-cells = <1>;
+		reg = <0x0 0x0 0x0 0x3db>;
+	};
+};
+
+&i2c_A {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_AO {
+	clocks = <&clkc CLKID_AO_I2C>;
+};
+
+&i2c_B {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_C {
+	clocks = <&clkc CLKID_I2C>;
+};
+
 &periphs {
 	pinctrl_periphs: pinctrl at 4b0 {
 		compatible = "amlogic,meson-gxbb-periphs-pinctrl";
@@ -521,67 +605,6 @@
 	};
 };
 
-&hiubus {
-	clkc: clock-controller at 0 {
-		compatible = "amlogic,gxbb-clkc";
-		#clock-cells = <1>;
-		reg = <0x0 0x0 0x0 0x3db>;
-	};
-};
-
-&apb {
-	mali: gpu at c0000 {
-		compatible = "amlogic,meson-gxbb-mali", "arm,mali-450";
-		reg = <0x0 0xc0000 0x0 0x40000>;
-		interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
-		interrupt-names = "gp", "gpmmu", "pp", "pmu",
-			"pp0", "ppmmu0", "pp1", "ppmmu1",
-			"pp2", "ppmmu2";
-		clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>;
-		clock-names = "bus", "core";
-
-		/*
-		 * Mali clocking is provided by two identical clock paths
-		 * MALI_0 and MALI_1 muxed to a single clock by a glitch
-		 * free mux to safely change frequency while running.
-		 */
-		assigned-clocks = <&clkc CLKID_MALI_0_SEL>,
-				  <&clkc CLKID_MALI_0>,
-				  <&clkc CLKID_MALI>; /* Glitch free mux */
-		assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>,
-					 <0>, /* Do Nothing */
-					 <&clkc CLKID_MALI_0>;
-		assigned-clock-rates = <0>, /* Do Nothing */
-				       <666666666>,
-				       <0>; /* Do Nothing */
-	};
-};
-
-&i2c_A {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_AO {
-	clocks = <&clkc CLKID_AO_I2C>;
-};
-
-&i2c_B {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_C {
-	clocks = <&clkc CLKID_I2C>;
-};
-
 &saradc {
 	compatible = "amlogic,meson-gxbb-saradc", "amlogic,meson-saradc";
 	clocks = <&xtal>,
@@ -620,15 +643,3 @@
 &vpu {
 	compatible = "amlogic,meson-gxbb-vpu", "amlogic,meson-gx-vpu";
 };
-
-&hdmi_tx {
-	compatible = "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
-	resets = <&reset RESET_HDMITX_CAPB3>,
-		 <&reset RESET_HDMI_SYSTEM_RESET>,
-		 <&reset RESET_HDMI_TX>;
-	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
-	clocks = <&clkc CLKID_HDMI_PCLK>,
-		 <&clkc CLKID_CLK81>,
-		 <&clkc CLKID_GCLK_VENCI_INT0>;
-	clock-names = "isfr", "iahb", "venci";
-};
Signature · 1 line
2.12.0
#23 lore raw

Re: [PATCH v2 10/18] arm64: dts: meson-gxbb: Fix node order

Quoted 201 lines · Andreas F?rber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 171 +++++++++++++++-------------
 1 file changed, 91 insertions(+), 80 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +91 -70
index 4afe1c46ec11..92dd5d1d73c8 100644
@@ -97,13 +97,6 @@
 	};
 };
 
-&ethmac {
-	clocks = <&clkc CLKID_ETH>,
-		 <&clkc CLKID_FCLK_DIV2>,
-		 <&clkc CLKID_MPLL2>;
-	clock-names = "stmmaceth", "clkin0", "clkin1";
-};
-
 &aobus {
 	pinctrl_aobus: pinctrl at 14 {
 		compatible = "amlogic,meson-gxbb-aobus-pinctrl";
@@ -252,6 +245,97 @@
 	};
 };
 
+&apb {
+	mali: gpu at c0000 {
+		compatible = "amlogic,meson-gxbb-mali", "arm,mali-450";
+		reg = <0x0 0xc0000 0x0 0x40000>;
+		interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "gp", "gpmmu", "pp", "pmu",
+			"pp0", "ppmmu0", "pp1", "ppmmu1",
+			"pp2", "ppmmu2";
+		clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>;
+		clock-names = "bus", "core";
+
+		/*
+		 * Mali clocking is provided by two identical clock paths
+		 * MALI_0 and MALI_1 muxed to a single clock by a glitch
+		 * free mux to safely change frequency while running.
+		 */
+		assigned-clocks = <&clkc CLKID_MALI_0_SEL>,
+				  <&clkc CLKID_MALI_0>,
+				  <&clkc CLKID_MALI>; /* Glitch free mux */
+		assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>,
+					 <0>, /* Do Nothing */
+					 <&clkc CLKID_MALI_0>;
+		assigned-clock-rates = <0>, /* Do Nothing */
+				       <666666666>,
+				       <0>; /* Do Nothing */
+	};
+};
+
+&cbus {
+	spifc: spi at 8c80 {
+		compatible = "amlogic,meson-gxbb-spifc";
+		reg = <0x0 0x08c80 0x0 0x80>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clocks = <&clkc CLKID_SPI>;
+		status = "disabled";
+	};
+};
+
+&ethmac {
+	clocks = <&clkc CLKID_ETH>,
+		 <&clkc CLKID_FCLK_DIV2>,
+		 <&clkc CLKID_MPLL2>;
+	clock-names = "stmmaceth", "clkin0", "clkin1";
+};
+
+&hdmi_tx {
+	compatible = "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
+	resets = <&reset RESET_HDMITX_CAPB3>,
+		 <&reset RESET_HDMI_SYSTEM_RESET>,
+		 <&reset RESET_HDMI_TX>;
+	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
+	clocks = <&clkc CLKID_HDMI_PCLK>,
+		 <&clkc CLKID_CLK81>,
+		 <&clkc CLKID_GCLK_VENCI_INT0>;
+	clock-names = "isfr", "iahb", "venci";
+};
+
+&hiubus {
+	clkc: clock-controller at 0 {
+		compatible = "amlogic,gxbb-clkc";
+		#clock-cells = <1>;
+		reg = <0x0 0x0 0x0 0x3db>;
+	};
+};
+
+&i2c_A {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_AO {
+	clocks = <&clkc CLKID_AO_I2C>;
+};
+
+&i2c_B {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_C {
+	clocks = <&clkc CLKID_I2C>;
+};
+
 &periphs {
 	pinctrl_periphs: pinctrl at 4b0 {
 		compatible = "amlogic,meson-gxbb-periphs-pinctrl";
@@ -521,67 +605,6 @@
 	};
 };
 
-&hiubus {
-	clkc: clock-controller at 0 {
-		compatible = "amlogic,gxbb-clkc";
-		#clock-cells = <1>;
-		reg = <0x0 0x0 0x0 0x3db>;
-	};
-};
-
-&apb {
-	mali: gpu at c0000 {
-		compatible = "amlogic,meson-gxbb-mali", "arm,mali-450";
-		reg = <0x0 0xc0000 0x0 0x40000>;
-		interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
-		interrupt-names = "gp", "gpmmu", "pp", "pmu",
-			"pp0", "ppmmu0", "pp1", "ppmmu1",
-			"pp2", "ppmmu2";
-		clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>;
-		clock-names = "bus", "core";
-
-		/*
-		 * Mali clocking is provided by two identical clock paths
-		 * MALI_0 and MALI_1 muxed to a single clock by a glitch
-		 * free mux to safely change frequency while running.
-		 */
-		assigned-clocks = <&clkc CLKID_MALI_0_SEL>,
-				  <&clkc CLKID_MALI_0>,
-				  <&clkc CLKID_MALI>; /* Glitch free mux */
-		assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>,
-					 <0>, /* Do Nothing */
-					 <&clkc CLKID_MALI_0>;
-		assigned-clock-rates = <0>, /* Do Nothing */
-				       <666666666>,
-				       <0>; /* Do Nothing */
-	};
-};
-
-&i2c_A {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_AO {
-	clocks = <&clkc CLKID_AO_I2C>;
-};
-
-&i2c_B {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_C {
-	clocks = <&clkc CLKID_I2C>;
-};
-
 &saradc {
 	compatible = "amlogic,meson-gxbb-saradc", "amlogic,meson-saradc";
 	clocks = <&xtal>,
@@ -620,15 +643,3 @@
 &vpu {
 	compatible = "amlogic,meson-gxbb-vpu", "amlogic,meson-gx-vpu";
 };
-
-&hdmi_tx {

arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi line 634

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +0 -10
-	compatible = "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
-	resets = <&reset RESET_HDMITX_CAPB3>,
-		 <&reset RESET_HDMI_SYSTEM_RESET>,
-		 <&reset RESET_HDMI_TX>;
-	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
-	clocks = <&clkc CLKID_HDMI_PCLK>,
-		 <&clkc CLKID_CLK81>,
-		 <&clkc CLKID_GCLK_VENCI_INT0>;
-	clock-names = "isfr", "iahb", "venci";
-};

Hi Andreas,

Like a previous attempt, I'm not OK with such rework since it will break bisect and add complexity for new patches handling.

The order is not alphabetically ordered, live with it.

Neil

#24 lore raw

Re: [PATCH v2 10/18] arm64: dts: meson-gxbb: Fix node order

Am 15.05.2017 um 10:17 schrieb Neil Armstrong:

Quoted 3 lines

Like a previous attempt, I'm not OK with such rework since it will break bisect and add complexity for new patches handling.

The order is not alphabetically ordered, live with it.

No. I was the one to add GXBB, so you live with my preferences, don't make my stuff ugly. What you do in your Nexboxes and reference boards is a different question.

Also this certainly does not break bisect!

Regards,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
#25 lore raw

PATCH v2 11/18 arm64: dts: meson-gxbb-odroidc2: Fix node order

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 108 ++++++++++-----------
 1 file changed, 54 insertions(+), 54 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +54 -54
index 54a9c6a6b392..d147c853ab05 100644
@@ -137,16 +137,6 @@
 	};
 };
 
-&scpi_clocks {
-	status = "disabled";
-};
-
-&uart_AO {
-	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
-};
-
 &ethmac {
 	status = "okay";
 	pinctrl-0 = <&eth_rgmii_pins>;
@@ -172,6 +162,33 @@
 	};
 };
 
+&gpio_ao {
+	/*
+	 * WARNING: The USB Hub on the Odroid-C2 needs a reset signal
+	 * to be turned high in order to be detected by the USB Controller
+	 * This signal should be handled by a USB specific power sequence
+	 * in order to reset the Hub when USB bus is powered down.
+	 */
+	usb-hub {
+		gpio-hog;
+		gpios = <GPIOAO_4 GPIO_ACTIVE_HIGH>;
+		output-high;
+		line-name = "usb-hub-reset";
+	};
+};
+
+&i2c_A {
+	status = "okay";
+	pinctrl-0 = <&i2c_a_pins>;
+	pinctrl-names = "default";
+};
+
+&ir {
+	status = "okay";
+	pinctrl-0 = <&remote_input_ao_pins>;
+	pinctrl-names = "default";
+};
+
 &pinctrl_aobus {
 	gpio-line-names = "UART TX", "UART RX", "VCCK En", "TF 3V3/1V8 En",
 			  "USB HUB nRESET", "USB OTG Power En",
@@ -223,55 +240,15 @@
 			  "";
 };
 
-&ir {
-	status = "okay";
-	pinctrl-0 = <&remote_input_ao_pins>;
-	pinctrl-names = "default";
-};
-
-&i2c_A {
-	status = "okay";
-	pinctrl-0 = <&i2c_a_pins>;
-	pinctrl-names = "default";
-};
-
-&gpio_ao {
-	/*
-	 * WARNING: The USB Hub on the Odroid-C2 needs a reset signal
-	 * to be turned high in order to be detected by the USB Controller
-	 * This signal should be handled by a USB specific power sequence
-	 * in order to reset the Hub when USB bus is powered down.
-	 */
-	usb-hub {
-		gpio-hog;
-		gpios = <GPIOAO_4 GPIO_ACTIVE_HIGH>;
-		output-high;
-		line-name = "usb-hub-reset";
-	};
-};
-
-&usb0_phy {
-	status = "okay";
-	phy-supply = <&usb_otg_pwr>;
-};
-
-&usb1_phy {
-	status = "okay";
-};
-
-&usb0 {
-	status = "okay";
-};
-
-&usb1 {
-	status = "okay";
-};
-
 &saradc {
 	status = "okay";
 	vref-supply = <&vcc1v8>;
 };
 
+&scpi_clocks {
+	status = "disabled";
+};
+
 /* SD */
 &sd_emmc_b {
 	status = "okay";
@@ -309,3 +286,26 @@
 	vmmc-supply = <&vcc3v3>;
 	vqmmc-supply = <&vcc1v8>;
 };
+
+&uart_AO {
+	status = "okay";
+	pinctrl-0 = <&uart_ao_a_pins>;
+	pinctrl-names = "default";
+};
+
+&usb0_phy {
+	status = "okay";
+	phy-supply = <&usb_otg_pwr>;
+};
+
+&usb1_phy {
+	status = "okay";
+};
+
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
+};
Signature · 1 line
2.12.0
#26 lore raw

Re: [PATCH v2 11/18] arm64: dts: meson-gxbb-odroidc2: Fix node order

Quoted 143 lines · Andreas F?rber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 108 ++++++++++-----------
 1 file changed, 54 insertions(+), 54 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +44 -54
index 54a9c6a6b392..d147c853ab05 100644
@@ -137,16 +137,6 @@
 	};
 };
 
-&scpi_clocks {
-	status = "disabled";
-};
-
-&uart_AO {
-	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
-};
-
 &ethmac {
 	status = "okay";
 	pinctrl-0 = <&eth_rgmii_pins>;
@@ -172,6 +162,33 @@
 	};
 };
 
+&gpio_ao {
+	/*
+	 * WARNING: The USB Hub on the Odroid-C2 needs a reset signal
+	 * to be turned high in order to be detected by the USB Controller
+	 * This signal should be handled by a USB specific power sequence
+	 * in order to reset the Hub when USB bus is powered down.
+	 */
+	usb-hub {
+		gpio-hog;
+		gpios = <GPIOAO_4 GPIO_ACTIVE_HIGH>;
+		output-high;
+		line-name = "usb-hub-reset";
+	};
+};
+
+&i2c_A {
+	status = "okay";
+	pinctrl-0 = <&i2c_a_pins>;
+	pinctrl-names = "default";
+};
+
+&ir {
+	status = "okay";
+	pinctrl-0 = <&remote_input_ao_pins>;
+	pinctrl-names = "default";
+};
+
 &pinctrl_aobus {
 	gpio-line-names = "UART TX", "UART RX", "VCCK En", "TF 3V3/1V8 En",
 			  "USB HUB nRESET", "USB OTG Power En",
@@ -223,55 +240,15 @@
 			  "";
 };
 
-&ir {
-	status = "okay";
-	pinctrl-0 = <&remote_input_ao_pins>;
-	pinctrl-names = "default";
-};
-
-&i2c_A {
-	status = "okay";
-	pinctrl-0 = <&i2c_a_pins>;
-	pinctrl-names = "default";
-};
-
-&gpio_ao {
-	/*
-	 * WARNING: The USB Hub on the Odroid-C2 needs a reset signal
-	 * to be turned high in order to be detected by the USB Controller
-	 * This signal should be handled by a USB specific power sequence
-	 * in order to reset the Hub when USB bus is powered down.
-	 */
-	usb-hub {
-		gpio-hog;
-		gpios = <GPIOAO_4 GPIO_ACTIVE_HIGH>;
-		output-high;
-		line-name = "usb-hub-reset";
-	};
-};
-
-&usb0_phy {
-	status = "okay";
-	phy-supply = <&usb_otg_pwr>;
-};
-
-&usb1_phy {
-	status = "okay";
-};
-
-&usb0 {
-	status = "okay";
-};
-
-&usb1 {
-	status = "okay";
-};
-
 &saradc {
 	status = "okay";
 	vref-supply = <&vcc1v8>;
 };
 
+&scpi_clocks {
+	status = "disabled";
+};
+
 /* SD */
 &sd_emmc_b {
 	status = "okay";
@@ -309,3 +286,26 @@
 	vmmc-supply = <&vcc3v3>;
 	vqmmc-supply = <&vcc1v8>;
 };
+
+&uart_AO {
+	status = "okay";
+	pinctrl-0 = <&uart_ao_a_pins>;
+	pinctrl-names = "default";
+};
+
+&usb0_phy {
+	status = "okay";
+	phy-supply = <&usb_otg_pwr>;
+};
+
+&usb1_phy {

arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts line 311

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +10 -0
+	status = "okay";
+};
+
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
+};

Hi Andreas,

Like a previous attempt, I'm not OK with such rework since it will break bisect and add complexity for new patches handling.

The order is not alphabetically ordered, live with it.

Neil

#27 lore raw

PATCH v2 12/18 arm64: dts: meson-gxbb-vega-s95: Fix node order

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi      | 54 +++++++++++-----------
 1 file changed, 27 insertions(+), 27 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +27 -27
index f4bfee8e2e08..346753fb6324 100644
@@ -111,18 +111,6 @@
 	};
 };
 
-&uart_AO {
-	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
-};
-
-&ir {
-	status = "okay";
-	pinctrl-0 = <&remote_input_ao_pins>;
-	pinctrl-names = "default";
-};
-
 &ethmac {
 	status = "okay";
 	pinctrl-0 = <&eth_rgmii_pins>;
@@ -149,21 +137,18 @@
 	};
 };
 
-&usb0_phy {
-	status = "okay";
-	phy-supply = <&usb_vbus>;
-};
-
-&usb1_phy {
-	status = "okay";
-};
-
-&usb0 {
+&ir {
 	status = "okay";
+	pinctrl-0 = <&remote_input_ao_pins>;
+	pinctrl-names = "default";
 };
 
-&usb1 {
+&pwm_ef {
 	status = "okay";
+	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-names = "default";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
 };
 
 /* Wireless SDIO Module */
@@ -229,10 +214,25 @@
 	vmmcq-sumpply = <&vcc_1v8>;
 };
 
-&pwm_ef {
+&uart_AO {
 	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
+};
+
+&usb0_phy {
+	status = "okay";
+	phy-supply = <&usb_vbus>;
+};
+
+&usb1_phy {
+	status = "okay";
+};
+
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
 };
Signature · 1 line
2.12.0
#28 lore raw

Re: [PATCH v2 12/18] arm64: dts: meson-gxbb-vega-s95: Fix node order

Quoted 84 lines · Andreas F?rber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi      | 54 +++++++++++-----------
 1 file changed, 27 insertions(+), 27 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +18 -27
index f4bfee8e2e08..346753fb6324 100644
@@ -111,18 +111,6 @@
 	};
 };
 
-&uart_AO {
-	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
-};
-
-&ir {
-	status = "okay";
-	pinctrl-0 = <&remote_input_ao_pins>;
-	pinctrl-names = "default";
-};
-
 &ethmac {
 	status = "okay";
 	pinctrl-0 = <&eth_rgmii_pins>;
@@ -149,21 +137,18 @@
 	};
 };
 
-&usb0_phy {
-	status = "okay";
-	phy-supply = <&usb_vbus>;
-};
-
-&usb1_phy {
-	status = "okay";
-};
-
-&usb0 {
+&ir {
 	status = "okay";
+	pinctrl-0 = <&remote_input_ao_pins>;
+	pinctrl-names = "default";
 };
 
-&usb1 {
+&pwm_ef {
 	status = "okay";
+	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-names = "default";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
 };
 
 /* Wireless SDIO Module */
@@ -229,10 +214,25 @@
 	vmmcq-sumpply = <&vcc_1v8>;
 };
 
-&pwm_ef {
+&uart_AO {
 	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
+};
+
+&usb0_phy {
+	status = "okay";
+	phy-supply = <&usb_vbus>;
+};
+
+&usb1_phy {

arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi line 238

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +9 -0
+	status = "okay";
+};
+
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
 };

Hi Andreas,

Like a previous attempt, I'm not OK with such rework since it will break bisect and add complexity for new patches handling.

The order is not alphabetically ordered, live with it.

Neil

#29 lore raw

PATCH v2 13/18 arm64: dts: meson-gxbb-nexbox-a95x: Fix node order

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts    | 52 +++++++++++-----------
 1 file changed, 26 insertions(+), 26 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +26 -26
index 87198eafb04b..a1078b3e1c76 100644
@@ -165,10 +165,10 @@
 	};
 };
 
-&uart_AO {
-	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
 };
 
 &ethmac {
@@ -195,12 +195,32 @@
 	};
 };
 
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
+};
+
 &ir {
 	status = "okay";
 	pinctrl-0 = <&remote_input_ao_pins>;
 	pinctrl-names = "default";
 };
 
+&pwm_ef {
+	status = "okay";
+	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-names = "default";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
+};
+
 /* Wireless SDIO Module */
 &sd_emmc_a {
 	status = "okay";
@@ -260,28 +280,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&pwm_ef {
-	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
-	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
-};
-
-&hdmi_tx {
+&uart_AO {
 	status = "okay";
-	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
 };
-
-&hdmi_tx_tmds_port {
-	hdmi_tx_tmds_out: endpoint {
-		remote-endpoint = <&hdmi_connector_in>;
-	};
-};
Signature · 1 line
2.12.0
#30 lore raw

Re: [PATCH v2 13/18] arm64: dts: meson-gxbb-nexbox-a95x: Fix node order

Quoted 84 lines · Andreas F?rber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts    | 52 +++++++++++-----------
 1 file changed, 26 insertions(+), 26 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +25 -19
index 87198eafb04b..a1078b3e1c76 100644
@@ -165,10 +165,10 @@
 	};
 };
 
-&uart_AO {
-	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
 };
 
 &ethmac {
@@ -195,12 +195,32 @@
 	};
 };
 
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
+};
+
 &ir {
 	status = "okay";
 	pinctrl-0 = <&remote_input_ao_pins>;
 	pinctrl-names = "default";
 };
 
+&pwm_ef {
+	status = "okay";
+	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-names = "default";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
+};
+
 /* Wireless SDIO Module */
 &sd_emmc_a {
 	status = "okay";
@@ -260,28 +280,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&pwm_ef {
-	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
-	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
-};
-
-&hdmi_tx {
+&uart_AO {
 	status = "okay";

arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts line 287

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +1 -7
-	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
 };
-
-&hdmi_tx_tmds_port {
-	hdmi_tx_tmds_out: endpoint {
-		remote-endpoint = <&hdmi_connector_in>;
-	};
-};

Hi Andreas,

Like a previous attempt, I'm not OK with such rework since it will break bisect and add complexity for new patches handling.

The order is not alphabetically ordered, live with it.

Neil

#31 lore raw

PATCH v2 14/18 arm64: dts: meson-gxbb-p20x: Fix node order

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 62 ++++++++++++------------
 1 file changed, 31 insertions(+), 31 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +31 -31
index 0ec1d19522dd..d904deb1018c 100644
@@ -148,34 +148,36 @@
 	};
 };
 
-/* This UART is brought out to the DB9 connector */
-&uart_AO {
-	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
 };
 
-&ir {
+&hdmi_tx {
 	status = "okay";
-	pinctrl-0 = <&remote_input_ao_pins>;
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
 	pinctrl-names = "default";
 };
 
-&usb0_phy {
-	status = "okay";
-	phy-supply = <&usb_pwr>;
-};
-
-&usb1_phy {
-	status = "okay";
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
 };
 
-&usb0 {
+&ir {
 	status = "okay";
+	pinctrl-0 = <&remote_input_ao_pins>;
+	pinctrl-names = "default";
 };
 
-&usb1 {
+&pwm_ef {
 	status = "okay";
+	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-names = "default";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
 };
 
 /* Wireless SDIO Module */
@@ -242,28 +244,26 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&pwm_ef {
+/* This UART is brought out to the DB9 connector */
+&uart_AO {
 	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
 };
 
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
+&usb0_phy {
+	status = "okay";
+	phy-supply = <&usb_pwr>;
 };
 
-&hdmi_tx {
+&usb1_phy {
 	status = "okay";
-	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
-	pinctrl-names = "default";
 };
 
-&hdmi_tx_tmds_port {
-	hdmi_tx_tmds_out: endpoint {
-		remote-endpoint = <&hdmi_connector_in>;
-	};
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
 };
Signature · 1 line
2.12.0
#32 lore raw

Re: [PATCH v2 14/18] arm64: dts: meson-gxbb-p20x: Fix node order

Quoted 100 lines · Andreas F?rber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 62 ++++++++++++------------
 1 file changed, 31 insertions(+), 31 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +25 -28
index 0ec1d19522dd..d904deb1018c 100644
@@ -148,34 +148,36 @@
 	};
 };
 
-/* This UART is brought out to the DB9 connector */
-&uart_AO {
-	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
 };
 
-&ir {
+&hdmi_tx {
 	status = "okay";
-	pinctrl-0 = <&remote_input_ao_pins>;
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
 	pinctrl-names = "default";
 };
 
-&usb0_phy {
-	status = "okay";
-	phy-supply = <&usb_pwr>;
-};
-
-&usb1_phy {
-	status = "okay";
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
 };
 
-&usb0 {
+&ir {
 	status = "okay";
+	pinctrl-0 = <&remote_input_ao_pins>;
+	pinctrl-names = "default";
 };
 
-&usb1 {
+&pwm_ef {
 	status = "okay";
+	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-names = "default";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
 };
 
 /* Wireless SDIO Module */
@@ -242,28 +244,26 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&pwm_ef {
+/* This UART is brought out to the DB9 connector */
+&uart_AO {
 	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
 };
 
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
+&usb0_phy {
+	status = "okay";
+	phy-supply = <&usb_pwr>;
 };
 
-&hdmi_tx {
+&usb1_phy {
 	status = "okay";
-	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
-	pinctrl-names = "default";
 };
 
-&hdmi_tx_tmds_port {

arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi line 269

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +6 -3
-	hdmi_tx_tmds_out: endpoint {
-		remote-endpoint = <&hdmi_connector_in>;
-	};
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
 };

Hi Andreas,

Like a previous attempt, I'm not OK with such rework since it will break bisect and add complexity for new patches handling.

The order is not alphabetically ordered, live with it.

Neil

#33 lore raw

PATCH v2 15/18 arm64: dts: meson-gxl: Fix node order

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 72 +++++++++++++++---------------
 1 file changed, 36 insertions(+), 36 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +36 -36
index d8e096dff10a..3efad5f0bca4 100644
@@ -193,6 +193,42 @@
 	};
 };
 
+&hdmi_tx {
+	compatible = "amlogic,meson-gxl-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
+	resets = <&reset RESET_HDMITX_CAPB3>,
+		 <&reset RESET_HDMI_SYSTEM_RESET>,
+		 <&reset RESET_HDMI_TX>;
+	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
+	clocks = <&clkc CLKID_HDMI_PCLK>,
+		 <&clkc CLKID_CLK81>,
+		 <&clkc CLKID_GCLK_VENCI_INT0>;
+	clock-names = "isfr", "iahb", "venci";
+};
+
+&hiubus {
+	clkc: clock-controller at 0 {
+		compatible = "amlogic,gxl-clkc", "amlogic,gxbb-clkc";
+		#clock-cells = <1>;
+		reg = <0x0 0x0 0x0 0x3db>;
+	};
+};
+
+&i2c_A {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_AO {
+	clocks = <&clkc CLKID_AO_I2C>;
+};
+
+&i2c_B {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_C {
+	clocks = <&clkc CLKID_I2C>;
+};
+
 &periphs {
 	pinctrl_periphs: pinctrl at 4b0 {
 		compatible = "amlogic,meson-gxl-periphs-pinctrl";
@@ -501,30 +537,6 @@
 	};
 };
 
-&hiubus {
-	clkc: clock-controller at 0 {
-		compatible = "amlogic,gxl-clkc", "amlogic,gxbb-clkc";
-		#clock-cells = <1>;
-		reg = <0x0 0x0 0x0 0x3db>;
-	};
-};
-
-&i2c_A {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_AO {
-	clocks = <&clkc CLKID_AO_I2C>;
-};
-
-&i2c_B {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_C {
-	clocks = <&clkc CLKID_I2C>;
-};
-
 &saradc {
 	compatible = "amlogic,meson-gxl-saradc", "amlogic,meson-saradc";
 	clocks = <&xtal>,
@@ -563,15 +575,3 @@
 &vpu {
 	compatible = "amlogic,meson-gxl-vpu", "amlogic,meson-gx-vpu";
 };
-
-&hdmi_tx {
-	compatible = "amlogic,meson-gxl-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
-	resets = <&reset RESET_HDMITX_CAPB3>,
-		 <&reset RESET_HDMI_SYSTEM_RESET>,
-		 <&reset RESET_HDMI_TX>;
-	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
-	clocks = <&clkc CLKID_HDMI_PCLK>,
-		 <&clkc CLKID_CLK81>,
-		 <&clkc CLKID_GCLK_VENCI_INT0>;
-	clock-names = "isfr", "iahb", "venci";
-};
Signature · 1 line
2.12.0
#34 lore raw

Re: [PATCH v2 15/18] arm64: dts: meson-gxl: Fix node order

Quoted 95 lines · Andreas F?rber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 72 +++++++++++++++---------------
 1 file changed, 36 insertions(+), 36 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +36 -26
index d8e096dff10a..3efad5f0bca4 100644
@@ -193,6 +193,42 @@
 	};
 };
 
+&hdmi_tx {
+	compatible = "amlogic,meson-gxl-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
+	resets = <&reset RESET_HDMITX_CAPB3>,
+		 <&reset RESET_HDMI_SYSTEM_RESET>,
+		 <&reset RESET_HDMI_TX>;
+	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
+	clocks = <&clkc CLKID_HDMI_PCLK>,
+		 <&clkc CLKID_CLK81>,
+		 <&clkc CLKID_GCLK_VENCI_INT0>;
+	clock-names = "isfr", "iahb", "venci";
+};
+
+&hiubus {
+	clkc: clock-controller at 0 {
+		compatible = "amlogic,gxl-clkc", "amlogic,gxbb-clkc";
+		#clock-cells = <1>;
+		reg = <0x0 0x0 0x0 0x3db>;
+	};
+};
+
+&i2c_A {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_AO {
+	clocks = <&clkc CLKID_AO_I2C>;
+};
+
+&i2c_B {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_C {
+	clocks = <&clkc CLKID_I2C>;
+};
+
 &periphs {
 	pinctrl_periphs: pinctrl at 4b0 {
 		compatible = "amlogic,meson-gxl-periphs-pinctrl";
@@ -501,30 +537,6 @@
 	};
 };
 
-&hiubus {
-	clkc: clock-controller at 0 {
-		compatible = "amlogic,gxl-clkc", "amlogic,gxbb-clkc";
-		#clock-cells = <1>;
-		reg = <0x0 0x0 0x0 0x3db>;
-	};
-};
-
-&i2c_A {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_AO {
-	clocks = <&clkc CLKID_AO_I2C>;
-};
-
-&i2c_B {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_C {
-	clocks = <&clkc CLKID_I2C>;
-};
-
 &saradc {
 	compatible = "amlogic,meson-gxl-saradc", "amlogic,meson-saradc";
 	clocks = <&xtal>,
@@ -563,15 +575,3 @@
 &vpu {
 	compatible = "amlogic,meson-gxl-vpu", "amlogic,meson-gx-vpu";
 };
-
-&hdmi_tx {

arch/arm64/boot/dts/amlogic/meson-gxl.dtsi line 577

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +0 -10
-	compatible = "amlogic,meson-gxl-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
-	resets = <&reset RESET_HDMITX_CAPB3>,
-		 <&reset RESET_HDMI_SYSTEM_RESET>,
-		 <&reset RESET_HDMI_TX>;
-	reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
-	clocks = <&clkc CLKID_HDMI_PCLK>,
-		 <&clkc CLKID_CLK81>,
-		 <&clkc CLKID_GCLK_VENCI_INT0>;
-	clock-names = "isfr", "iahb", "venci";
-};

Hi Andreas,

Like a previous attempt, I'm not OK with such rework since it will break bisect and add complexity for new patches handling.

The order is not alphabetically ordered, live with it.

Neil

#35 lore raw

PATCH v2 16/18 arm64: dts: meson-gxl-s905x-nexbox-a95x: Fix node order

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts    | 52 +++++++++++-----------
 1 file changed, 26 insertions(+), 26 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +26 -26
index 8873c058fad2..6633a5d8fdd3 100644
@@ -140,10 +140,10 @@
 	};
 };
 
-&uart_AO {
-	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
 };
 
 &ethmac {
@@ -152,12 +152,32 @@
 	phy-handle = <&internal_phy>;
 };
 
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
+};
+
 &ir {
 	status = "okay";
 	pinctrl-0 = <&remote_input_ao_pins>;
 	pinctrl-names = "default";
 };
 
+&pwm_ef {
+	status = "okay";
+	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-names = "default";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
+};
+
 /* Wireless SDIO Module */
 &sd_emmc_a {
 	status = "okay";
@@ -217,28 +237,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&pwm_ef {
-	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
-	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
-};
-
-&hdmi_tx {
+&uart_AO {
 	status = "okay";
-	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
 };
-
-&hdmi_tx_tmds_port {
-	hdmi_tx_tmds_out: endpoint {
-		remote-endpoint = <&hdmi_connector_in>;
-	};
-};
Signature · 1 line
2.12.0
#36 lore raw

Re: [PATCH v2 16/18] arm64: dts: meson-gxl-s905x-nexbox-a95x: Fix node order

Quoted 84 lines · Andreas F?rber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts    | 52 +++++++++++-----------
 1 file changed, 26 insertions(+), 26 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +25 -19
index 8873c058fad2..6633a5d8fdd3 100644
@@ -140,10 +140,10 @@
 	};
 };
 
-&uart_AO {
-	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
 };
 
 &ethmac {
@@ -152,12 +152,32 @@
 	phy-handle = <&internal_phy>;
 };
 
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
+};
+
 &ir {
 	status = "okay";
 	pinctrl-0 = <&remote_input_ao_pins>;
 	pinctrl-names = "default";
 };
 
+&pwm_ef {
+	status = "okay";
+	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-names = "default";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
+};
+
 /* Wireless SDIO Module */
 &sd_emmc_a {
 	status = "okay";
@@ -217,28 +237,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&pwm_ef {
-	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
-	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
-};
-
-&hdmi_tx {
+&uart_AO {
 	status = "okay";

arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts line 244

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +1 -7
-	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
 };
-
-&hdmi_tx_tmds_port {
-	hdmi_tx_tmds_out: endpoint {
-		remote-endpoint = <&hdmi_connector_in>;
-	};
-};

Hi Andreas,

Like a previous attempt, I'm not OK with such rework since it will break bisect and add complexity for new patches handling.

The order is not alphabetically ordered, live with it.

Neil

#37 lore raw

PATCH v2 17/18 arm64: dts: meson-gxm-nexbox-a1: Fix node order

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 86 +++++++++++-----------
 1 file changed, 43 insertions(+), 43 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +43 -43
index 920fac10de93..5f626d683088 100644
@@ -113,10 +113,49 @@
 	};
 };
 
-&uart_AO {
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
+};
+
+&ethmac {
 	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
+
+	pinctrl-0 = <&eth_pins>;
 	pinctrl-names = "default";
+
+	/* Select external PHY by default */
+	phy-handle = <&external_phy>;
+
+	amlogic,tx-delay-ns = <2>;
+
+	snps,reset-gpio = <&gpio GPIOZ_14 0>;
+	snps,reset-delays-us = <0 10000 1000000>;
+	snps,reset-active-low;
+
+	/* External PHY is in RGMII */
+	phy-mode = "rgmii";
+};
+
+&external_mdio {
+	external_phy: ethernet-phy at 0 {
+		compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22";
+		reg = <0>;
+		max-speed = <1000>;
+	};
+};
+
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
 };
 
 &ir {
@@ -163,47 +202,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&ethmac {
-	status = "okay";
-
-	pinctrl-0 = <&eth_pins>;
-	pinctrl-names = "default";
-
-	/* Select external PHY by default */
-	phy-handle = <&external_phy>;
-
-	amlogic,tx-delay-ns = <2>;
-
-	snps,reset-gpio = <&gpio GPIOZ_14 0>;
-	snps,reset-delays-us = <0 10000 1000000>;
-	snps,reset-active-low;
-
-	/* External PHY is in RGMII */
-	phy-mode = "rgmii";
-};
-
-&external_mdio {
-	external_phy: ethernet-phy at 0 {
-		compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22";
-		reg = <0>;
-		max-speed = <1000>;
-	};
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
-};
-
-&hdmi_tx {
+&uart_AO {
 	status = "okay";
-	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
 };
-
-&hdmi_tx_tmds_port {
-	hdmi_tx_tmds_out: endpoint {
-		remote-endpoint = <&hdmi_connector_in>;
-	};
-};
Signature · 1 line
2.12.0
#38 lore raw

Re: [PATCH v2 17/18] arm64: dts: meson-gxm-nexbox-a1: Fix node order

Quoted 107 lines · Andreas F?rber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 86 +++++++++++-----------
 1 file changed, 43 insertions(+), 43 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +42 -36
index 920fac10de93..5f626d683088 100644
@@ -113,10 +113,49 @@
 	};
 };
 
-&uart_AO {
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
+};
+
+&ethmac {
 	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
+
+	pinctrl-0 = <&eth_pins>;
 	pinctrl-names = "default";
+
+	/* Select external PHY by default */
+	phy-handle = <&external_phy>;
+
+	amlogic,tx-delay-ns = <2>;
+
+	snps,reset-gpio = <&gpio GPIOZ_14 0>;
+	snps,reset-delays-us = <0 10000 1000000>;
+	snps,reset-active-low;
+
+	/* External PHY is in RGMII */
+	phy-mode = "rgmii";
+};
+
+&external_mdio {
+	external_phy: ethernet-phy at 0 {
+		compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22";
+		reg = <0>;
+		max-speed = <1000>;
+	};
+};
+
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
 };
 
 &ir {
@@ -163,47 +202,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&ethmac {
-	status = "okay";
-
-	pinctrl-0 = <&eth_pins>;
-	pinctrl-names = "default";
-
-	/* Select external PHY by default */
-	phy-handle = <&external_phy>;
-
-	amlogic,tx-delay-ns = <2>;
-
-	snps,reset-gpio = <&gpio GPIOZ_14 0>;
-	snps,reset-delays-us = <0 10000 1000000>;
-	snps,reset-active-low;
-
-	/* External PHY is in RGMII */
-	phy-mode = "rgmii";
-};
-
-&external_mdio {
-	external_phy: ethernet-phy at 0 {
-		compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22";
-		reg = <0>;
-		max-speed = <1000>;
-	};
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
-};
-
-&hdmi_tx {
+&uart_AO {
 	status = "okay";

arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts line 209

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +1 -7
-	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
 };
-
-&hdmi_tx_tmds_port {
-	hdmi_tx_tmds_out: endpoint {
-		remote-endpoint = <&hdmi_connector_in>;
-	};
-};

Hi Andreas,

Like a previous attempt, I'm not OK with such rework since it will break bisect and add complexity for new patches handling.

The order is not alphabetically ordered, live with it.

Neil

#39 lore raw

PATCH v2 18/18 arm64: dts: meson-gx-p23x-q20x: Fix node order

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 58 +++++++++++-----------
 1 file changed, 29 insertions(+), 29 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +29 -29
index 25eed18a7439..dc478d094c11 100644
@@ -121,19 +121,42 @@
 	};
 };
 
-/* This UART is brought out to the DB9 connector */
-&uart_AO {
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
+};
+
+&ethmac {
 	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
+};
+
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
 	pinctrl-names = "default";
 };
 
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
+};
+
 &ir {
 	status = "okay";
 	pinctrl-0 = <&remote_input_ao_pins>;
 	pinctrl-names = "default";
 };
 
+&pwm_ef {
+	status = "okay";
+	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-names = "default";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
+};
+
 /* Wireless SDIO Module */
 &sd_emmc_a {
 	status = "okay";
@@ -198,32 +221,9 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&pwm_ef {
-	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
-	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
-};
-
-&ethmac {
-	status = "okay";
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
-};
-
-&hdmi_tx {
+/* This UART is brought out to the DB9 connector */
+&uart_AO {
 	status = "okay";
-	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
 };
-
-&hdmi_tx_tmds_port {
-	hdmi_tx_tmds_out: endpoint {
-		remote-endpoint = <&hdmi_connector_in>;
-	};
-};
Signature · 1 line
2.12.0
#40 lore raw

Re: [PATCH v2 18/18] arm64: dts: meson-gx-p23x-q20x: Fix node order

Quoted 87 lines · Andreas F?rber

Sort nodes referenced by label alphabetically.

---
v1 -> v2:
* Rebased (new nodes added)

 .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 58 +++++++++++-----------
 1 file changed, 29 insertions(+), 29 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +28 -22
index 25eed18a7439..dc478d094c11 100644
@@ -121,19 +121,42 @@
 	};
 };
 
-/* This UART is brought out to the DB9 connector */
-&uart_AO {
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
+};
+
+&ethmac {
 	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
+};
+
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
 	pinctrl-names = "default";
 };
 
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
+};
+
 &ir {
 	status = "okay";
 	pinctrl-0 = <&remote_input_ao_pins>;
 	pinctrl-names = "default";
 };
 
+&pwm_ef {
+	status = "okay";
+	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-names = "default";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
+};
+
 /* Wireless SDIO Module */
 &sd_emmc_a {
 	status = "okay";
@@ -198,32 +221,9 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&pwm_ef {
-	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
-	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
-};
-
-&ethmac {
-	status = "okay";
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
-};
-
-&hdmi_tx {
+/* This UART is brought out to the DB9 connector */
+&uart_AO {
 	status = "okay";

arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi line 229

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +1 -7
-	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
 };
-
-&hdmi_tx_tmds_port {
-	hdmi_tx_tmds_out: endpoint {
-		remote-endpoint = <&hdmi_connector_in>;
-	};
-};

Hi Andreas,

Like a previous attempt, I'm not OK with such rework since it will break bisect and add complexity for new patches handling.

The order is not alphabetically ordered, live with it.

Neil

#41 lore raw
In reply to Andreas Färber

Hi Andreas,

Quoted 5 lines · Andreas F?rber

Hello Kevin,

This series fixes several cosmetic issues, on top of your for-next branch.

Patches 3-6 rename a node, the rest should all be non-functional changes.

These are OK.

Quoted 8 lines

PLEASE STOP merging random new nodes at the bottom of DT files! Just like it's a convention to sort new nodes by unit address, it has been a convention to sort by-label nodes by their label. As discussed here and elsewhere, this helps avoid merge conflicts and makes nodes easy to find. I don't care whether we order A0 before A or after, but adding new HDMI or CVBS nodes at the very bottom is totally out of alphabetical order. Since my v1 you really should've known that...

It's not perfect, but now it's done, live with it, this has already been discussed.

Please try to refactor boards DTS with their parent reference design instead like it was done with the P212 and what I did with the Wetek Hub and Play2.

Quoted 2 lines

Similarly, Khadas Vim shouldn't have been merged with the "bcrmf" typo.

Well, this is why we have 7 rc releases after the merge window...

Quoted 7 lines

Which proves my point that we need to fix these issues now so that they don't keep spreading (Broken Window Theory). New boards have not been checked for sort order, only boards already touched in v1.

Board and Makefile order affect my pending R-Box Pro patches. Node order affects Martin's pending Bluetooth patches among others.

Please order S905x after S905d, and we'll be OK.

Quoted 2 lines

Patches 7-9 (had and) have no dependency, please start applying.

I'll wait for Kevin's advice, but I'm against these since they are only purely cosmetic and will break bisect and add unnecessary complexity to handle further patches on these board.

Quoted 2 lines

Thanks,
Andreas

Thanks,
Neil

Quoted 50 lines

v1 -> v2:
* Rebased (new nodes/properties added)
* Chose a different name for the misnamed Wifi nodes (Rob)
* Added patch to fix another new misnamed Wifi node
* Dropped patch fixing a trailing white line error (resolved)
* Tweaked subjects

Cc Kevin Hilman <[email protected]>
Cc devicetree at vger.kernel.org
Cc Rob Herring <[email protected]>
Cc Neil Armstrong <[email protected]>
Cc Martin Blumenstingl <[email protected]>

Andreas F?rber (18):
dt-bindings: arm: amlogic: Reorder boards
arm64: dts: amlogic: Sort Makefile
arm64: dts: meson-gxbb-vega-s95: Fix Wifi node name
arm64: dts: meson-gxbb-p20x: Fix Wifi node name
arm64: dts: meson-gx-p23x-q20x: Fix Wifi node name
arm64: dts: meson-gxl-s905x-khadas-vim: Fix Wifi node name
arm64: dts: meson-gxm-nexbox-a1: Drop UART comment
arm64: dts: meson-gxl-s905x: Comment typo fix
arm64: dts: meson-gxbb-wetek-hub: Reference CVBS node by label
arm64: dts: meson-gxbb: Fix node order
arm64: dts: meson-gxbb-odroidc2: Fix node order
arm64: dts: meson-gxbb-vega-s95: Fix node order
arm64: dts: meson-gxbb-nexbox-a95x: Fix node order
arm64: dts: meson-gxbb-p20x: Fix node order
arm64: dts: meson-gxl: Fix node order
arm64: dts: meson-gxl-s905x-nexbox-a95x: Fix node order
arm64: dts: meson-gxm-nexbox-a1: Fix node order
arm64: dts: meson-gx-p23x-q20x: Fix node order

 Documentation/devicetree/bindings/arm/amlogic.txt  |  20 ++-
 arch/arm64/boot/dts/amlogic/Makefile               |   6 +-
 .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi |  60 ++++----
 .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts    |  52 +++----
 .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 108 ++++++-------
 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi   |  66 ++++----
 .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi      |  56 +++----
 .../boot/dts/amlogic/meson-gxbb-wetek-hub.dts      |   6 +-
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi        | 171 +++++++++++----------
 .../dts/amlogic/meson-gxl-s905x-khadas-vim.dts     |   2 +-
 .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts    |  52 +++----
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi   |   2 +-
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi         |  72 ++++-----
 .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts |  87 ++++++-----
 14 files changed, 388 insertions(+), 372 deletions(-)
#42 lore raw

Hi Neil,

Am 15.05.2017 um 10:16 schrieb Neil Armstrong:

Quoted 19 lines

Hi Andreas,

Quoted 5 lines · Andreas F?rber

Hello Kevin,

This series fixes several cosmetic issues, on top of your for-next branch.

Patches 3-6 rename a node, the rest should all be non-functional changes.

These are OK.

Quoted 7 lines

PLEASE STOP merging random new nodes at the bottom of DT files! Just like it's a convention to sort new nodes by unit address, it has been a convention to sort by-label nodes by their label. As discussed here and elsewhere, this helps avoid merge conflicts and makes nodes easy to find. I don't care whether we order A0 before A or after, but adding new HDMI or CVBS nodes at the very bottom is totally out of alphabetical order. Since my v1 you really should've known that...

Quoted 1 line

It's not perfect, but now it's done, live with it, this has already been discussed.

No.

Copy&pasting your comment N times does not make it any more valid. My files, my rules - I insist on vega-s95, gxbb and gx, which you guys refactored out from my gxbb, to be tidy.

Quoted 2 lines

Please try to refactor boards DTS with their parent reference design instead like it was done with the P212 and what I did with the Wetek Hub and Play2.

Negative, that means any additions and changes for the reference boards will slip through into boards that you do not test.

We've already seen how "well" that works with R-Box Pro having inherited a broken U-Boot network configuration due to internal vs. external PHY.

Quoted 3 lines
Quoted 1 line

Similarly, Khadas Vim shouldn't have been merged with the "bcrmf" typo.

Well, this is why we have 7 rc releases after the merge window...

If Kevin is the maintainer, then he needs to carefully review patches. It is not my job to review all patches when BayLibre gets paid for it!

Quoted 8 lines
Quoted 6 lines

Which proves my point that we need to fix these issues now so that they don't keep spreading (Broken Window Theory). New boards have not been checked for sort order, only boards already touched in v1.

Board and Makefile order affect my pending R-Box Pro patches. Node order affects Martin's pending Bluetooth patches among others.

Please order S905x after S905d, and we'll be OK.

Isn't the historical SoC order S905X before S905D?

Otherwise your strict interpretation leads to meson-gxbb before meson8, which seems unlogical to me.

Quoted 5 lines
Quoted 1 line

Patches 7-9 (had and) have no dependency, please start applying.

I'll wait for Kevin's advice, but I'm against these since they are only purely cosmetic and will break bisect and add unnecessary complexity to handle further patches on these board.

See the gxbb patch for why that statement is wrong.

Also note that not cleaning up an existing mess and making it worse are two things.

I will also remind that I was forced to clean up the node order in ALL exynos5250 .dts files before I could get my new exynos5250-spring.dts merged, so I have zero understanding about these "churn" and "live with it" comments here. The same rules need to apply to all (that's ?galit? for you!), BayLibre is not above everyone else.

Regards,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
#43 lore raw
Quoted 30 lines · Andreas F?rber

Hi Neil,

Am 15.05.2017 um 10:16 schrieb Neil Armstrong:

Quoted 19 lines

Hi Andreas,

Quoted 5 lines · Andreas F?rber

Hello Kevin,

This series fixes several cosmetic issues, on top of your for-next branch.

Patches 3-6 rename a node, the rest should all be non-functional changes.

These are OK.

Quoted 7 lines

PLEASE STOP merging random new nodes at the bottom of DT files! Just like it's a convention to sort new nodes by unit address, it has been a convention to sort by-label nodes by their label. As discussed here and elsewhere, this helps avoid merge conflicts and makes nodes easy to find. I don't care whether we order A0 before A or after, but adding new HDMI or CVBS nodes at the very bottom is totally out of alphabetical order. Since my v1 you really should've known that...

Quoted 1 line

It's not perfect, but now it's done, live with it, this has already been discussed.

No.

Copy&pasting your comment N times does not make it any more valid. My files, my rules - I insist on vega-s95, gxbb and gx, which you guys refactored out from my gxbb, to be tidy.

Quoted 8 lines
Quoted 2 lines

Please try to refactor boards DTS with their parent reference design instead like it was done with the P212 and what I did with the Wetek Hub and Play2.

Negative, that means any additions and changes for the reference boards will slip through into boards that you do not test.

We've already seen how "well" that works with R-Box Pro having inherited a broken U-Boot network configuration due to internal vs. external PHY.

could you please share your vision how we can a) keep the amount of duplicate .dts code low while b) avoiding "accidental" changes? maybe there's a better way (compared to what we have now) which I've not thought of yet

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Similarly, Khadas Vim shouldn't have been merged with the "bcrmf" typo.

Well, this is why we have 7 rc releases after the merge window...

If Kevin is the maintainer, then he needs to carefully review patches. It is not my job to review all patches when BayLibre gets paid for it!

please stop these accusations, I have just sent a fix which should actually allow Kevin (and anybody else) to properly review the Broadcom FullMAC wireless SDIO devices in the future: [0]

Quoted 31 lines
Quoted 8 lines
Quoted 6 lines

Which proves my point that we need to fix these issues now so that they don't keep spreading (Broken Window Theory). New boards have not been checked for sort order, only boards already touched in v1.

Board and Makefile order affect my pending R-Box Pro patches. Node order affects Martin's pending Bluetooth patches among others.

Please order S905x after S905d, and we'll be OK.

Isn't the historical SoC order S905X before S905D?

Otherwise your strict interpretation leads to meson-gxbb before meson8, which seems unlogical to me.

Quoted 5 lines
Quoted 1 line

Patches 7-9 (had and) have no dependency, please start applying.

I'll wait for Kevin's advice, but I'm against these since they are only purely cosmetic and will break bisect and add unnecessary complexity to handle further patches on these board.

See the gxbb patch for why that statement is wrong.

Also note that not cleaning up an existing mess and making it worse are two things.

I will also remind that I was forced to clean up the node order in ALL exynos5250 .dts files before I could get my new exynos5250-spring.dts merged, so I have zero understanding about these "churn" and "live with it" comments here. The same rules need to apply to all (that's ?galit? for you!), BayLibre is not above everyone else.

Quoted 7 lines

Regards,
Andreas

--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg)

[0] https://marc.info/?l=linux-wireless&m=149487928516583&w=2

#44 lore raw

Am 15.05.2017 um 22:24 schrieb Martin Blumenstingl:

Quoted 37 lines · Andreas F?rber
Quoted 36 lines

Hi Neil,

Am 15.05.2017 um 10:16 schrieb Neil Armstrong:

Quoted 19 lines

Hi Andreas,

Quoted 5 lines · Andreas F?rber

Hello Kevin,

This series fixes several cosmetic issues, on top of your for-next branch.

Patches 3-6 rename a node, the rest should all be non-functional changes.

These are OK.

Quoted 7 lines

PLEASE STOP merging random new nodes at the bottom of DT files! Just like it's a convention to sort new nodes by unit address, it has been a convention to sort by-label nodes by their label. As discussed here and elsewhere, this helps avoid merge conflicts and makes nodes easy to find. I don't care whether we order A0 before A or after, but adding new HDMI or CVBS nodes at the very bottom is totally out of alphabetical order. Since my v1 you really should've known that...

Quoted 1 line

It's not perfect, but now it's done, live with it, this has already been discussed.

No.

Copy&pasting your comment N times does not make it any more valid. My files, my rules - I insist on vega-s95, gxbb and gx, which you guys refactored out from my gxbb, to be tidy.

Quoted 2 lines

Please try to refactor boards DTS with their parent reference design instead like it was done with the P212 and what I did with the Wetek Hub and Play2.

Negative, that means any additions and changes for the reference boards will slip through into boards that you do not test.

Quoted 6 lines
Quoted 2 lines

We've already seen how "well" that works with R-Box Pro having inherited a broken U-Boot network configuration due to internal vs. external PHY.

could you please share your vision how we can a) keep the amount of duplicate .dts code low while b) avoiding "accidental" changes? maybe there's a better way (compared to what we have now) which I've not thought of yet

The reason for aligning all exynos5250 .dts files was to be able to use diff -u to compare files for differences. Obviously the board compatible will always show up, but by ordering alphabetically and by inheriting some common order for the other nodes without particular convention only the actual changes show up. That's why I had started the voluntary work of also cleaning up boards that I do not have access to. You had already adopted alphabetical order for Vim, thanks for that.

Basically we have two different concepts here:
One is physical reuse, e.g., the boards all use the same S905 chip from Amlogic, so we can safely inherit meson-gxbb.dtsi.
The other is design reuse. Rather than reusing the same physical board, they are different boards based on a common template but they may contain variations. Thus there is no guarantee that everything in the original template is in each derived board. The difficulty for us here is that for most TV boxes no schematics are available to decide whether there are any differences compared to Amlogic's P/Q reference boards. So we would only find out when something breaks.

For example, continuing my work on the NanoPi K2 I have found several minor variations of how power supplies are called and which GPIO is being used, compared to Odroid-C2 or Vega.

Therefore the usual solution is that contributors of individual board trees also need to maintain them long-term, as opposed to expecting BayLibre to do that and magically getting everything for free. Specifically, I added the vega-s95 and am adding the nanopi-k2, so once you add serdev and Bluetooth nodes for your Vim, we will have to manually adopt those for other boards. If we don't notice or don't do our additions, the boards will continue to boot as before but just not get any new cool features. On the other hand, if some driver change gets performed, all in-tree files need to be updated, which provides some more motivation for vendors and users to participate in mainline development.

Quoted 7 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Similarly, Khadas Vim shouldn't have been merged with the "bcrmf" typo.

Well, this is why we have 7 rc releases after the merge window...

If Kevin is the maintainer, then he needs to carefully review patches. It is not my job to review all patches when BayLibre gets paid for it!

please stop these accusations,

Being the Amlogic maintainer is not an "accusation".

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts?id=e15d2774b8c096f116bf7192b37e8652da71369e

carries his Signed-off-by, that's for a fact.

Also FTR I found it a really weird assumption that ugly naming should be noticed during RC testing. Therefore my point that this is about review, not testing.

Fact is also that BayLibre people appear to be working on Amlogic stuff during the week and with few exceptions unlike you and me are rather silent the weekend, which is when I get to look into these platforms. So whatever their formula of payment may be (I don't care), they seem to have more time to spend on this as part of their job. Me, I am not a kernel developer in my day job. So telling a hobbyist contributor to do their job is really off.

Quoted 3 lines

I have just sent a fix which should
actually allow Kevin (and anybody else) to properly review the Broadcom FullMAC wireless SDIO devices in the future: [0]

Thanks for catching that. Note that you may have some more letter twists in your cover letter.

Regards,
Andreas

Quoted 1 line

[0] https://marc.info/?l=linux-wireless&m=149487928516583&w=2

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
maintainer
#45 lore raw
In reply to Andreas Färber

Hi Andreas,

Quoted 1 line · Andreas F?rber

Am 15.05.2017 um 10:16 schrieb Neil Armstrong:

[...]

Quoted 8 lines
Quoted 2 lines

It's not perfect, but now it's done, live with it, this has already been discussed.

No.

Copy&pasting your comment N times does not make it any more valid. My files, my rules - I insist on vega-s95, gxbb and gx, which you guys refactored out from my gxbb, to be tidy.

hmm, "my files, my rules, ... my gxbb"

Very interesting perspective, but sorry, these do not belong to you. They belong to the kernel community. You can insist if you like, but we do not make decisions just because someone says "mine". Again, the confrontaional tone is not helpful to the dialogue.

[...]

Quoted 4 lines
Quoted 2 lines

Well, this is why we have 7 rc releases after the merge window...

If Kevin is the maintainer, then he needs to carefully review patches.

Thank you for implying that I don't carefully review patches. You're winning me over. :(

Please see my reply to the cover letter as to why this kind of thing has not been on my priority list of things I look for during review.

Quoted 1 line

It is not my job to review all patches when BayLibre gets paid for it!

You have no idea who is getting paid for what kind of work, so please don't make decisions about what you review based on your assumptions.

[...]

Quoted 4 lines

I will also remind that I was forced to clean up the node order in ALL exynos5250 .dts files before I could get my new exynos5250-spring.dts merged, so I have zero understanding about these "churn" and "live with it" comments here. The same rules need to apply to all

It's a nice ideal that the same rules would apply to all, and in some areas of the kernel, it may be true. However, in actual practice, across the variety of kernel subsystems and platforms, there are in fact a rather large variety of "rules" with a huge amount of discretion left up to the maintainers.

While that is a point of endless frustration for some (many?) it's also part of what makes the kernel community healthy, vibrant and still alive.

Look, you convinced me based on sound technical arguments, good code, well written changelogs and persistence, even in spite of your accusatory tone and insinuations.

For future reference, I'd be much happier to review without the latter.

Thanks,

Kevin

#46 lore raw

Hi Kevin,

Am 18.05.2017 um 00:34 schrieb Kevin Hilman:

Quoted 10 lines
Quoted 8 lines · Andreas F?rber

Am 15.05.2017 um 10:16 schrieb Neil Armstrong:

Quoted 1 line

It's not perfect, but now it's done, live with it, this has already been discussed.

No.

Copy&pasting your comment N times does not make it any more valid. My files, my rules - I insist on vega-s95, gxbb and gx, which you guys refactored out from my gxbb, to be tidy.

Quoted 6 lines

hmm, "my files, my rules, ... my gxbb"

Very interesting perspective, but sorry, these do not belong to you. They belong to the kernel community. You can insist if you like, but we do not make decisions just because someone says "mine". Again, the confrontaional tone is not helpful to the dialogue.

We can certainly argue who started which tone here. From my perspective I kindly asked Jerome to fix his node order on IRC, he said okay, but neither he nor any of you ever sent such patches. (This was back when we had an actual mismerge.) Weeks later I grudgingly sent the v1 cleanup series myself, but instead of thanking me for doing "your" work, I was greeted with unfriendly opposition and - yes, frustratingly is a word here - put my efforts elsewhere. Neil's actions - who is neither author nor maintainer here - of copying an opinionated personal and partially wrong statement into a dozen neutral patches was highly offensive to me and further escalated things. Stating his opinion, which he is welcome to do, once would has sufficed.

Also what this "my" is about - and that should give you thought - is that you guys added nodes to the Vega .dtsi file without adding any BayLibre or other copyright. To someone downloading a tarball without git history, that makes it look as if _I_ misordered those nodes in the file that carries my name. So I would kindly suggest that you add your copyright when making non-trivial additions.

Thanks,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
#47 lore raw
Quoted 2 lines · Andreas F?rber

Hi Kevin,

/snip

Quoted 8 lines

We can certainly argue who started which tone here. From my perspective I kindly asked Jerome to fix his node order on IRC, he said okay, but neither he nor any of you ever sent such patches. (This was back when we had an actual mismerge.) Weeks later I grudgingly sent the v1 cleanup series myself, but instead of thanking me for doing "your" work, I was greeted with unfriendly opposition and - yes, frustratingly is a word here - put my efforts elsewhere. Neil's actions - who is neither author nor maintainer here - of copying an opinionated personal and partially

Uhm, probably we can fix at least this by making Neil maintainer instead of me given that Neil and BayLibre did much of the work on this platform.

Signature · 1 line
Carlo Caione
maintainer
#48 lore raw
In reply to Andreas Färber

Hi Andreas,

Quoted 11 lines · Andreas F?rber

This series fixes several cosmetic issues, on top of your for-next branch.

Patches 3-6 rename a node, the rest should all be non-functional changes.

PLEASE STOP merging random new nodes at the bottom of DT files! Just like it's a convention to sort new nodes by unit address, it has been a convention to sort by-label nodes by their label. As discussed here and elsewhere, this helps avoid merge conflicts and makes nodes easy to find. I don't care whether we order A0 before A or after, but adding new HDMI or CVBS nodes at the very bottom is totally out of alphabetical order. Since my v1 you really should've known that...

Your tone is a bit tiresome and frankly makes me hesitate before reviewing the patches. If you expect cordial dialogue and producitve collaboration, please dial the accusations back a notch.

[ ... deep breath ... ]

Yes, your point was clear in v1, but that doesn't mean I agreed with it, or that I particularily pay attention to that in my reviews because honestly, alphabetical sorting is not very high on the list of things I care about. Over many years of being a kernel maintainer, I've had to deal with my share of headaches, but conflicts caused by poorly sorted DT files hs never been on my list of pain points.

That being said, I understand your concerns and similar ones raised maintainers on other platforms. I'm not a big fan of the churn caused by this kind of rework, *but* I'm also not opposed to keeping things better organized. So, since there is an active contributor (and reviewer) that is willing to put in the time and effort to clean things up, I don't see a good (enough) reason to say no.

So, I will apply the series as is to my v4.13/dt64 branch

Going forward, I will try to keep an eye on the organization of DTS files, but honestly, it's low priority for me, so if this is something you care about, I trust that you will continue to help review DTS files.

I know you're already doing many reviews along with your contributions, so thanks for that, and please keep it up. :)

Quoted 8 lines

Similarly, Khadas Vim shouldn't have been merged with the "bcrmf" typo.

Which proves my point that we need to fix these issues now so that they don't keep spreading (Broken Window Theory). New boards have not been checked for sort order, only boards already touched in v1.

Board and Makefile order affect my pending R-Box Pro patches. Node order affects Martin's pending Bluetooth patches among others.

Yes, this series will affect a few other series that are in flight, and I apologize to those developers for the needed rebase, but I'd rather apply a series like this that affects so many DT files early in the cycle.

Thanks again for the fixes and cleanups,

Kevin

#49 lore raw

Hi Kevin,

Am 17.05.2017 um 23:46 schrieb Kevin Hilman:

Quoted 13 lines
Quoted 11 lines · Andreas F?rber

This series fixes several cosmetic issues, on top of your for-next branch.

Patches 3-6 rename a node, the rest should all be non-functional changes.

PLEASE STOP merging random new nodes at the bottom of DT files! Just like it's a convention to sort new nodes by unit address, it has been a convention to sort by-label nodes by their label. As discussed here and elsewhere, this helps avoid merge conflicts and makes nodes easy to find. I don't care whether we order A0 before A or after, but adding new HDMI or CVBS nodes at the very bottom is totally out of alphabetical order. Since my v1 you really should've known that...

Quoted 3 lines

Your tone is a bit tiresome and frankly makes me hesitate before reviewing the patches. If you expect cordial dialogue and producitve collaboration, please dial the accusations back a notch.

I have sketched the history in another reply, maybe you understand the sentiments better now.

I was annoyed to see that contributions by several people made the problem worse than it was originally. I.e., my v1 fix and now v2 grew more invasive because the issue did not get contained, not just not fixed. Rebasing this branch was no fun.

[snip]

I will continue to point things out in review or hindsight where I can, but as explained to Martin, this is not something I can continuously do in the pace that BayLibre's nice driver contributions have led to.

As for the question of ownership, there should be no doubt that I not only factually contributed meson-gxbb DT files but also figured out how to get any kernel to boot on S905 with the old vendor U-Boot and fixed serial output and added earlycon. That was before BayLibre stepped in. So from my perspective all your contributions are based on my pioneering S905 work (and my work in turn reused Carlo's S805 meson_uart etc.), and I will not react well when some BayLibre employee not initially involved with those efforts (Neil) now tells me to shut up and pretends as if he makes the rules now just because his colleague stepped up as maintainer. The ordering rules I applied here are not my invention but things I picked on from previous reviews. You yourself had stated that I could resend the patches and explain why - Russell and I already gave some reasons, and there were no responses, which I took as no opposition and was frankly surprised about the renewed level of opposition.

More generally, if a fix makes sense on its own and has no dependencies, then I personally prefer it getting applied after reviews. If there's a rule/reason for requiring full-series resends in Linux, it hasn't been explained to me yet.

Regards,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)