Skip to contentSkip to conversation

ARM64: meson: DT cleanups

PATCH Superseded Andreas Färber 5 participants 37 messages Jan 20, 2017 – Jan 30, 2017

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover ARM64: meson: DT cleanups

Hello,

This series fixes several cosmetic issues, on top of v4.11/dt64 branch.

Patches 3-5 rename a node, the rest should all be non-functional changes. Patches 10-18 could be squashed if desired.

Regards,
Andreas

Cc devicetree at vger.kernel.org

Andreas F?rber (18):
Documentation: devicetree: 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-gxm-nexbox-a1: Drop UART comment
ARM64: dts: meson-gxl-s905x: Comment typo fix
ARM64: dts: meson-gxm: Drop trailing white line
ARM64: dts: meson-gxbb-wetek-hub: Reference CVBS node by label
ARM64: dts: meson-gxbb: Reorder nodes
ARM64: dts: meson-gxbb-odroidc2: Reorder nodes
ARM64: dts: meson-gxbb-vega-s95: Reorder nodes
ARM64: dts: meson-gxbb-nexbox-a95x: Reorder nodes
ARM64: dts: meson-gxbb-p20x: Reorder nodes
ARM64: dts: meson-gxl: Reorder nodes
ARM64: dts: meson-gxl-s905x-nexbox-a95x: Reorder nodes
ARM64: dts: meson-gxm-nexbox-a1: Reorder nodes
ARM64: dts: meson-gx-p23x-q20x: Reorder nodes

 Documentation/devicetree/bindings/arm/amlogic.txt  | 19 ++++--
 arch/arm64/boot/dts/amlogic/Makefile               |  4 +-
 .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 26 ++++----
 .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts    | 28 ++++----
 .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 52 +++++++--------
 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi   | 58 ++++++++---------
 .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi      | 53 ++++++++-------
 .../boot/dts/amlogic/meson-gxbb-wetek-hub.dts      |  6 +-
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi        | 76 +++++++++++-----------
 .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts    | 28 ++++----
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi   |  2 +-
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi         | 40 ++++++------
 .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 59 +++++++++--------
 arch/arm64/boot/dts/amlogic/meson-gxm.dtsi         |  1 -
 14 files changed, 228 insertions(+), 224 deletions(-)
Signature · 1 line
2.10.2
#1 lore raw

PATCH 1/18 Documentation: devicetree: amlogic: Reorder boards

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

---
 Documentation/devicetree/bindings/arm/amlogic.txt | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/arm/amlogic.txt +13 -6
index c246cd2730d9..b03d23c9ea78 100644
@@ -29,23 +29,30 @@ 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 (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)
+
   - "amlogic,p230" (Meson gxl s905d)
   - "amlogic,p231" (Meson gxl s905d)
+
   - "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.10.2
#4 lore raw

PATCH 2/18 ARM64: dts: amlogic: Sort Makefile

In reply to Andreas Färber
---
 arch/arm64/boot/dts/amlogic/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/amlogic/Makefile +2 -2
index 3f94bce33b7f..efcd1763a82d 100644
@@ -7,13 +7,13 @@ 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-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-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.10.2
#5 lore raw

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

In reply to Andreas Färber

bcrmf -> brcmf

Fixes ab5b24fdd2d5 ("ARM64: dts: meson-gxbb-vega-s95: Add SD/SDIO/MMC and PWM nodes")
Cc Martin Blumenstingl <[email protected]>
---
 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 86709929fd20..e688e8971a95 100644
@@ -167,7 +167,7 @@
 	vmmc-supply = <&vcc_3v3>;
 	vqmmc-supply = <&vcc_1v8>;
 
-	brcmf: bcrmf at 1 {
+	brcmf: brcmf at 1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
Signature · 1 line
2.10.2
#6 lore raw

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

In reply to Andreas Färber

bcrmf -> brcmf

Fixes ab3943fe57a2 ("ARM64: dts: meson-gxbb: Add P20x Wifi SDIO support")
Cc Neil Armstrong <[email protected]>
---
 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 4a96e0f6f926..5183c5ce90c6 100644
@@ -193,7 +193,7 @@
 	vmmc-supply = <&vddao_3v3>;
 	vqmmc-supply = <&vddio_boot>;
 
-	brcmf: bcrmf at 1 {
+	brcmf: brcmf at 1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
Signature · 1 line
2.10.2
#10 lore raw

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

In reply to Andreas Färber

bcrmf -> brcmf

Fixes bb51b5350d2f ("ARM64: dts: Add support for Meson GXM")
Cc Neil Armstrong <[email protected]>
---
 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 7a078bef04cd..419c46cc64e4 100644
@@ -133,7 +133,7 @@
 	vmmc-supply = <&vddao_3v3>;
 	vqmmc-supply = <&vddio_boot>;
 
-	brcmf: bcrmf at 1 {
+	brcmf: brcmf at 1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
Signature · 1 line
2.10.2
#12 lore raw

PATCH 6/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.

---
 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 5a337d339df1..439060652689 100644
@@ -102,7 +102,6 @@
 	};
 };
 
-/* This UART is brought out to the DB9 connector */
 &uart_AO {
 	status = "okay";
 	pinctrl-0 = <&uart_ao_a_pins>;
Signature · 1 line
2.10.2
#14 lore raw

PATCH 7/18 ARM64: dts: meson-gxl-s905x: Comment typo fix

In reply to Andreas Färber
---
 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 08237ee1e362..d49ee3c04dd7 100644
@@ -47,7 +47,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.10.2
#16 lore raw

PATCH 8/18 ARM64: dts: meson-gxm: Drop trailing white line

In reply to Andreas Färber
---
 arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxm.dtsi +0 -1
index 4c55665a253f..78a004d13236 100644
@@ -125,4 +125,3 @@
 &vpu {
 	compatible = "amlogic,meson-gxm-vpu", "amlogic,meson-gx-vpu";
 };
-
Signature · 1 line
2.10.2
#17 lore raw

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

In reply to Andreas Färber
---
 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 5183c5ce90c6..0d134a85e3a0 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 56f855901262..6e35265dc2fc 100644
@@ -59,8 +59,8 @@
 			panic-indicator;
 		};
 	};
+};
 
-	cvbs-connector {
-		status = "disabled";
-	};
+&cvbs_connector {
+	status = "disabled";
 };
Signature · 1 line
2.10.2
#19 lore raw

PATCH 10/18 ARM64: dts: meson-gxbb: Reorder nodes

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 76 ++++++++++++++---------------
 1 file changed, 38 insertions(+), 38 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +38 -38
index 39a774ad83ce..5c22c794ed95 100644
@@ -97,24 +97,6 @@
 	};
 };
 
-&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";
-};
-
 &aobus {
 	pinctrl_aobus: pinctrl at 14 {
 		compatible = "amlogic,meson-gxbb-aobus-pinctrl";
@@ -230,6 +212,44 @@
 	};
 };
 
+&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";
+};
+
+&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_B {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_C {
+	clocks = <&clkc CLKID_I2C>;
+};
+
 &periphs {
 	pinctrl_periphs: pinctrl at 4b0 {
 		compatible = "amlogic,meson-gxbb-periphs-pinctrl";
@@ -470,26 +490,6 @@
 	};
 };
 
-&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_B {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_C {
-	clocks = <&clkc CLKID_I2C>;
-};
-
 &sd_emmc_a {
 	clocks = <&clkc CLKID_SD_EMMC_A>,
 		 <&xtal>,
Signature · 1 line
2.10.2
#23 lore raw

PATCH 11/18 ARM64: dts: meson-gxbb-odroidc2: Reorder nodes

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
 .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 52 +++++++++++-----------
 1 file changed, 26 insertions(+), 26 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +26 -26
index 238fbeacd330..a1ccfe702c27 100644
@@ -137,45 +137,22 @@
 	};
 };
 
-&uart_AO {
-	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
-};
-
 &ethmac {
 	status = "okay";
 	pinctrl-0 = <&eth_rgmii_pins>;
 	pinctrl-names = "default";
 };
 
-&ir {
-	status = "okay";
-	pinctrl-0 = <&remote_input_ao_pins>;
-	pinctrl-names = "default";
-};
-
 &i2c_A {
 	status = "okay";
 	pinctrl-0 = <&i2c_a_pins>;
 	pinctrl-names = "default";
 };
 
-&usb0_phy {
-	status = "okay";
-	phy-supply = <&usb_otg_pwr>;
-};
-
-&usb1_phy {
-	status = "okay";
-};
-
-&usb0 {
-	status = "okay";
-};
-
-&usb1 {
+&ir {
 	status = "okay";
+	pinctrl-0 = <&remote_input_ao_pins>;
+	pinctrl-names = "default";
 };
 
 /* SD */
@@ -215,3 +192,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.10.2
#24 lore raw

PATCH 12/18 ARM64: dts: meson-gxbb-vega-s95: Reorder nodes

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
 .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi      | 51 +++++++++++-----------
 1 file changed, 25 insertions(+), 26 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +25 -26
index e688e8971a95..81024886d232 100644
@@ -111,11 +111,10 @@
 	};
 };
 
-&uart_AO {
+&ethmac {
 	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
+	pinctrl-0 = <&eth_rgmii_pins>;
 	pinctrl-names = "default";
-
 };
 
 &ir {
@@ -124,27 +123,12 @@
 	pinctrl-names = "default";
 };
 
-&ethmac {
+&pwm_ef {
 	status = "okay";
-	pinctrl-0 = <&eth_rgmii_pins>;
+	pinctrl-0 = <&pwm_e_pins>;
 	pinctrl-names = "default";
-};
-
-&usb0_phy {
-	status = "okay";
-	phy-supply = <&usb_vbus>;
-};
-
-&usb1_phy {
-	status = "okay";
-};
-
-&usb0 {
-	status = "okay";
-};
-
-&usb1 {
-	status = "okay";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
 };
 
 /* Wireless SDIO Module */
@@ -210,10 +194,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.10.2
#25 lore raw

PATCH 13/18 ARM64: dts: meson-gxbb-nexbox-a95x: Reorder nodes

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
 .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts    | 28 +++++++++++-----------
 1 file changed, 14 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +14 -14
index 4cbd626a9e88..e642bfd5eec5 100644
@@ -154,10 +154,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 {
@@ -173,6 +173,14 @@
 	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";
@@ -232,16 +240,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&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";
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
 };
Signature · 1 line
2.10.2
#27 lore raw

PATCH 14/18 ARM64: dts: meson-gxbb-p20x: Reorder nodes

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 54 ++++++++++++------------
 1 file changed, 27 insertions(+), 27 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +27 -27
index 0d134a85e3a0..b6f9d051439c 100644
@@ -137,11 +137,10 @@
 	};
 };
 
-/* 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>;
+	};
 };
 
 &ethmac {
@@ -156,21 +155,12 @@
 	pinctrl-names = "default";
 };
 
-&usb0_phy {
-	status = "okay";
-	phy-supply = <&usb_pwr>;
-};
-
-&usb1_phy {
-	status = "okay";
-};
-
-&usb0 {
-	status = "okay";
-};
-
-&usb1 {
+&pwm_ef {
 	status = "okay";
+	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-names = "default";
+	clocks = <&clkc CLKID_FCLK_DIV4>;
+	clock-names = "clkin0";
 };
 
 /* Wireless SDIO Module */
@@ -237,16 +227,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>;
+};
+
+&usb1_phy {
+	status = "okay";
+};
+
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
 };
Signature · 1 line
2.10.2
#28 lore raw

PATCH 15/18 ARM64: dts: meson-gxl: Reorder nodes

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 40 +++++++++++++++---------------
 1 file changed, 20 insertions(+), 20 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +20 -20
index bdf2305a2e25..afa74455e1de 100644
@@ -120,6 +120,26 @@
 	};
 };
 
+&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_B {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_C {
+	clocks = <&clkc CLKID_I2C>;
+};
+
 &periphs {
 	pinctrl_periphs: pinctrl at 4b0 {
 		compatible = "amlogic,meson-gxl-periphs-pinctrl";
@@ -320,26 +340,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_B {
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_C {
-	clocks = <&clkc CLKID_I2C>;
-};
-
 &sd_emmc_a {
 	clocks = <&clkc CLKID_SD_EMMC_A>,
 		 <&xtal>,
Signature · 1 line
2.10.2
#30 lore raw

PATCH 16/18 ARM64: dts: meson-gxl-s905x-nexbox-a95x: Reorder nodes

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
 .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts    | 28 +++++++++++-----------
 1 file changed, 14 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +14 -14
index cea4a3eded9b..9e91f0809dcd 100644
@@ -129,10 +129,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 {
@@ -147,6 +147,14 @@
 	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";
@@ -206,16 +214,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&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";
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
 };
Signature · 1 line
2.10.2
#32 lore raw

PATCH 17/18 ARM64: dts: meson-gxm-nexbox-a1: Reorder nodes

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
 .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 58 +++++++++++-----------
 1 file changed, 29 insertions(+), 29 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +29 -29
index 439060652689..804e8de80f37 100644
@@ -102,10 +102,35 @@
 	};
 };
 
-&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>;
+
+	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>;
+	};
 };
 
 &ir {
@@ -152,33 +177,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&ethmac {
+&uart_AO {
 	status = "okay";
-
-	pinctrl-0 = <&eth_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
-
-	/* Select external PHY by default */
-	phy-handle = <&external_phy>;
-
-	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>;
-	};
 };
Signature · 1 line
2.10.2
#34 lore raw

PATCH 18/18 ARM64: dts: meson-gx-p23x-q20x: Reorder nodes

In reply to Andreas Färber

Sort nodes referenced by label alphabetically.

---
 .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +12 -12
index 419c46cc64e4..cfc26a2a3a90 100644
@@ -100,11 +100,8 @@
 	};
 };
 
-/* This UART is brought out to the DB9 connector */
-&uart_AO {
+&ethmac {
 	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
 };
 
 &ir {
@@ -113,6 +110,14 @@
 	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";
@@ -177,14 +182,9 @@
 	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";
-};
-
-&ethmac {
-	status = "okay";
 };
Signature · 1 line
2.10.2
Reviewed-by on v1 4/18
#7 lore raw

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

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

bcrmf -> brcmf

Fixes ab3943fe57a2 ("ARM64: dts: meson-gxbb: Add P20x Wifi SDIO support")
Cc Neil Armstrong <[email protected]>
---
 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 4a96e0f6f926..5183c5ce90c6 100644

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

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

Good catch !

Reviewed-by on v1 5/18
#11 lore raw

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

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

bcrmf -> brcmf

Fixes bb51b5350d2f ("ARM64: dts: Add support for Meson GXM")
Cc Neil Armstrong <[email protected]>
---
 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 7a078bef04cd..419c46cc64e4 100644

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

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

Re: [PATCH 06/18] ARM64: dts: meson-gxm-nexbox-a1: Drop UART comment

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

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

---
 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 5a337d339df1..439060652689 100644

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

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

Exact

Reviewed-by on v1 7/18
#15 lore raw

Re: [PATCH 07/18] ARM64: dts: meson-gxl-s905x: Comment typo fix

In reply to Andreas Färber
Quoted 12 lines · Andreas F?rber
---
 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 08237ee1e362..d49ee3c04dd7 100644

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

Quoted 8 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi +1 -1
@@ -47,7 +47,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>;

Can't hurt

#18 lore raw

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

In reply to Andreas Färber
Quoted 26 lines · Andreas F?rber
---
 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 5183c5ce90c6..0d134a85e3a0 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 56f855901262..6e35265dc2fc 100644
@@ -59,8 +59,8 @@
 			panic-indicator;

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

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

Indeed, much cleaner

Reviewed-by on v1 13/18
#26 lore raw

Re: [PATCH 13/18] ARM64: dts: meson-gxbb-nexbox-a95x: Reorder nodes

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

Sort nodes referenced by label alphabetically.

---
 .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts    | 28 +++++++++++-----------
 1 file changed, 14 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +14 -6
index 4cbd626a9e88..e642bfd5eec5 100644
@@ -154,10 +154,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 {
@@ -173,6 +173,14 @@
 	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";
@@ -232,16 +240,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&pwm_ef {
+&uart_AO {
 	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;

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

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +0 -8
 	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
 };
Reviewed-by on v1 15/18
#29 lore raw

Re: [PATCH 15/18] ARM64: dts: meson-gxl: Reorder nodes

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

Sort nodes referenced by label alphabetically.

---
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 40 +++++++++++++++---------------
 1 file changed, 20 insertions(+), 20 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +20 -13
index bdf2305a2e25..afa74455e1de 100644
@@ -120,6 +120,26 @@
 	};
 };
 
+&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_B {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_C {
+	clocks = <&clkc CLKID_I2C>;
+};
+
 &periphs {
 	pinctrl_periphs: pinctrl at 4b0 {
 		compatible = "amlogic,meson-gxl-periphs-pinctrl";
@@ -320,26 +340,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_B {

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

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +0 -7
-	clocks = <&clkc CLKID_I2C>;
-};
-
-&i2c_C {
-	clocks = <&clkc CLKID_I2C>;
-};
-
 &sd_emmc_a {
 	clocks = <&clkc CLKID_SD_EMMC_A>,
 		 <&xtal>,
Reviewed-by on v1 16/18
#31 lore raw

Re: [PATCH 16/18] ARM64: dts: meson-gxl-s905x-nexbox-a95x: Reorder nodes

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

Sort nodes referenced by label alphabetically.

---
 .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts    | 28 +++++++++++-----------
 1 file changed, 14 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +14 -6
index cea4a3eded9b..9e91f0809dcd 100644
@@ -129,10 +129,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 {
@@ -147,6 +147,14 @@
 	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";
@@ -206,16 +214,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&pwm_ef {
+&uart_AO {
 	status = "okay";
-	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;

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

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +0 -8
 	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
 };
Reviewed-by on v1 17/18
#33 lore raw

Re: [PATCH 17/18] ARM64: dts: meson-gxm-nexbox-a1: Reorder nodes

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

Sort nodes referenced by label alphabetically.

---
 .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 58 +++++++++++-----------
 1 file changed, 29 insertions(+), 29 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +29 -20
index 439060652689..804e8de80f37 100644
@@ -102,10 +102,35 @@
 	};
 };
 
-&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>;
+
+	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>;
+	};
 };
 
 &ir {
@@ -152,33 +177,8 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&ethmac {
+&uart_AO {
 	status = "okay";
-
-	pinctrl-0 = <&eth_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
-
-	/* Select external PHY by default */
-	phy-handle = <&external_phy>;
-
-	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";

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

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +0 -9
-		reg = <0>;
-		max-speed = <1000>;
-	};
-};
-
-&cvbs_vdac_port {
-	cvbs_vdac_out: endpoint {
-		remote-endpoint = <&cvbs_connector_in>;
-	};
 };
Reviewed-by on v1 18/18
#35 lore raw

Re: [PATCH 18/18] ARM64: dts: meson-gx-p23x-q20x: Reorder nodes

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

Sort nodes referenced by label alphabetically.

---
 .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +11 -5
index 419c46cc64e4..cfc26a2a3a90 100644
@@ -100,11 +100,8 @@
 	};
 };
 
-/* This UART is brought out to the DB9 connector */
-&uart_AO {
+&ethmac {
 	status = "okay";
-	pinctrl-0 = <&uart_ao_a_pins>;
-	pinctrl-names = "default";
 };
 
 &ir {
@@ -113,6 +110,14 @@
 	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";
@@ -177,14 +182,9 @@
 	vqmmc-supply = <&vddio_boot>;
 };
 
-&pwm_ef {
+/* This UART is brought out to the DB9 connector */
+&uart_AO {
 	status = "okay";

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

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +1 -7
-	pinctrl-0 = <&pwm_e_pins>;
+	pinctrl-0 = <&uart_ao_a_pins>;
 	pinctrl-names = "default";
-	clocks = <&clkc CLKID_FCLK_DIV4>;
-	clock-names = "clkin0";
-};
-
-&ethmac {
-	status = "okay";
 };
maintainer
#2 lore raw

Re: [PATCH 01/18] Documentation: devicetree: amlogic: Reorder boards

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

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

---
 Documentation/devicetree/bindings/arm/amlogic.txt | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/arm/amlogic.txt +0 -0
index c246cd2730d9..b03d23c9ea78 100644

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

Quoted 5 lines
Documentation/devicetree/bindings/arm/amlogic.txt +1 -1
@@ -29,23 +29,30 @@ 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 (grouped by SoC):

...and alphabetical order within each SoC.

Quoted 34 lines
Documentation/devicetree/bindings/arm/amlogic.txt +12 -5
+
   - "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)
+
   - "amlogic,p230" (Meson gxl s905d)
   - "amlogic,p231" (Meson gxl s905d)
+
   - "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.10.2
maintainer
#8 lore raw

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

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

bcrmf -> brcmf

Fixes ab3943fe57a2 ("ARM64: dts: meson-gxbb: Add P20x Wifi SDIO support")
Cc Neil Armstrong <[email protected]>
---
 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 4a96e0f6f926..5183c5ce90c6 100644

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

Quoted 5 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1 -1
@@ -193,7 +193,7 @@
 	vmmc-supply = <&vddao_3v3>;
 	vqmmc-supply = <&vddio_boot>;
 
-	brcmf: bcrmf at 1 {
+	brcmf: brcmf at 1 {

wifi at 1

Quoted 6 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +0 -0
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
 	};
Signature · 1 line
2.10.2
maintainer
#20 lore raw

Re: [PATCH 10/18] ARM64: dts: meson-gxbb: Reorder nodes

In reply to Andreas Färber
Quoted 1 line · Andreas F?rber

Sort nodes referenced by label alphabetically.

Seems to be pointless churn.

Quoted 5 lines
---
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 76 ++++++++++++++---------------
 1 file changed, 38 insertions(+), 38 deletions(-)
#21 lore raw

Re: [PATCH 10/18] ARM64: dts: meson-gxbb: Reorder nodes

Am 23.01.2017 um 17:52 schrieb Rob Herring:

Quoted 4 lines · Andreas F?rber
Quoted 1 line

Sort nodes referenced by label alphabetically.

Seems to be pointless churn.

We are constantly adding new nodes, so this avoids duplicates, mismerges and uncertainties of where things should be added. Thought that would be obvious, as I've been asked to do it elsewhere.

It also helps with diff -u'ing .dts files to see actual differences.

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)
#9 lore raw

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

In reply to Rob Herring

Am 23.01.2017 um 17:50 schrieb Rob Herring:

Quoted 18 lines · Andreas F?rber
Quoted 17 lines

bcrmf -> brcmf

Fixes ab3943fe57a2 ("ARM64: dts: meson-gxbb: Add P20x Wifi SDIO support")
Cc Neil Armstrong <[email protected]>
---
 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 4a96e0f6f926..5183c5ce90c6 100644
@@ -193,7 +193,7 @@
 	vmmc-supply = <&vddao_3v3>;
 	vqmmc-supply = <&vddio_boot>;
 
Quoted 4 lines

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

Quoted 2 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +1 -1
-	brcmf: bcrmf at 1 {
+	brcmf: brcmf at 1 {

wifi at 1

Good point.

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)
#3 lore raw

Re: [PATCH 01/18] Documentation: devicetree: amlogic: Reorder boards

In reply to Rob Herring

Am 23.01.2017 um 17:48 schrieb Rob Herring:

Quoted 17 lines · Andreas F?rber
Quoted 16 lines

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

---
 Documentation/devicetree/bindings/arm/amlogic.txt | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/arm/amlogic.txt +0 -0
index c246cd2730d9..b03d23c9ea78 100644
@@ -29,23 +29,30 @@ Boards with the Amlogic Meson GXM S912 SoC shall have the following properties:
   Required root node property:
     compatible: "amlogic,s912", "amlogic,meson-gxm";
 
Quoted 4 lines

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

Quoted 2 lines
Documentation/devicetree/bindings/arm/amlogic.txt +1 -1
-Board compatible values:
+Board compatible values (grouped by SoC):

...and alphabetical order within each SoC.

...except for pro, meta, telos, which are in increasing feature set order - should we reorder them, or ignore but still write alphabetical?

Regards,
Andreas

Quoted 35 lines
Quoted 35 lines
Documentation/devicetree/bindings/arm/amlogic.txt +12 -5
+
   - "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)
+
   - "amlogic,p230" (Meson gxl s905d)
   - "amlogic,p231" (Meson gxl s905d)
+
   - "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.10.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
#36 lore raw
In reply to Andreas Färber
Quoted 5 lines · Andreas F?rber

Hello,

This series fixes several cosmetic issues, on top of v4.11/dt64 branch.

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

Can you respin patches 1-9 with minor comments addressed and acks/reviews collected and I'll apply those.

Quoted 1 line

Patches 10-18 could be squashed if desired.

I'm less sure about these as I tend to agree with Rob that this is just needless churn. If you want to resend those separately, making your arguments, I'll merge it if you convice the DT maintainers. :)

Kevin

#22 lore raw

Re: [PATCH 10/18] ARM64: dts: meson-gxbb: Reorder nodes

In reply to Rob Herring
Quoted 4 lines · Rob Herring
Quoted 1 line · Andreas F?rber

Sort nodes referenced by label alphabetically.

Seems to be pointless churn.

Depends - if, as the author of a dts file, I order the nodes alphabetically, and then someone comes along and adds a new node non-alphabetically, meanwhile someone else also adds a node elsewhere in the file which conflicts, git will silently merge the changes without complaint.

Having an alphabetical sorting order means that (a) conflicting changes are more likely to be highlighted, and (b) non-conflicting changes are less likely to cause merge issues.

I've noticed exactly this with clearfog when merging my tree with arm-soc. I have a version of the DSA patch, meanwhile the mvebu people merged the DSA patch. Somehow, the order of nodes in my file are alphabetical, the order in their file has the pinctrl and mdio nodes swapped, which results in totally unnecessary merge conflicts when I try merging the two trees.

It's more, unnecessary work.

So, I'm going to be submitting a patch to fix the mis-ordered nodes in the clearfog dts file today to avoid having to resolve this each time I rebuild my nightly build tree.

Signature · 3 lines
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.