ARM: dts: sunxi: Remove unused address-cells/size-cells of dwmac-sun8i
v2 cover ARM: dts: sunxi: Remove unused address-cells/size-cells of dwmac-sun8i
address-cells/size-cells is unnecessary for dwmac-sun8i node. It was in early days, but since a mdio node is used, it could be removed.
This patch fix the following DT warning:
Warning (avoid_unnecessary_addr_size): /soc/ethernet at 1c50000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
Changes since V1:
- splited patch
Corentin Labbe (5):
dt-bindings: net: dwmac-sun8i: Remove unused address-cells/size-cells
ARM: dts: sunxi-h3-h5: Remove unused address-cells/size-cells of
dwmac-sun8i
ARM: dts: sun8i: a83t: Remove unused address-cells/size-cells of
dwmac-sun8i
ARM: dts: sun8i: r40: Remove unused address-cells/size-cells of
dwmac-sun8i
ARM64: dts: sun50i: a64: Remove unused address-cells/size-cells of
dwmac-sun8i
Documentation/devicetree/bindings/net/dwmac-sun8i.txt | 8 -------- arch/arm/boot/dts/sun8i-a83t.dtsi | 2 -- arch/arm/boot/dts/sun8i-r40.dtsi | 2 -- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 -- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 2 -- 5 files changed, 16 deletions(-)
Signature · 1 line
2.16.4
PATCH v2 1/5 dt-bindings: net: dwmac-sun8i: Remove unused address-cells/size-cells
address-cells/size-cells is unnecessary for dwmac-sun8i node. It was in early days, but since a mdio node is used, it could be removed.
--- Documentation/devicetree/bindings/net/dwmac-sun8i.txt | 8 -------- 1 file changed, 8 deletions(-)
Documentation/devicetree/bindings/net/dwmac-sun8i.txt +0 -8
@@ -19,8 +19,6 @@ Required properties: - reset-names: must be "stmmaceth" - phy-mode: See ethernet.txt - phy-handle: See ethernet.txt -- #address-cells: shall be 1 -- #size-cells: shall be 0 - syscon: A phandle to the device containing the EMAC or GMAC clock register Optional properties:
@@ -86,8 +84,6 @@ emac: ethernet at 1c0b000 { reset-names = "stmmaceth"; clocks = <&ccu CLK_BUS_EMAC>; clock-names = "stmmaceth"; - #address-cells = <1>; - #size-cells = <0>; phy-handle = <&int_mii_phy>; phy-mode = "mii";
@@ -137,8 +133,6 @@ emac: ethernet at 1c0b000 { reset-names = "stmmaceth"; clocks = <&ccu CLK_BUS_EMAC>; clock-names = "stmmaceth"; - #address-cells = <1>; - #size-cells = <0>; phy-handle = <&ext_rgmii_phy>; phy-mode = "rgmii";
@@ -191,8 +185,6 @@ emac: ethernet at 1c0b000 { reset-names = "stmmaceth"; clocks = <&ccu CLK_BUS_EMAC>; clock-names = "stmmaceth"; - #address-cells = <1>; - #size-cells = <0>; phy-handle = <&ext_rgmii_phy>; phy-mode = "rgmii";
Signature · 1 line
2.16.4
PATCH v2 2/5 ARM: dts: sunxi-h3-h5: Remove unused address-cells/size-cells of dwmac-sun8i
In reply to Corentin Labbeaddress-cells/size-cells is unnecessary for dwmac-sun8i node. It was in early days, but since a mdio node is used, it could be removed.
This patch fix the following DT warning:
Warning (avoid_unnecessary_addr_size): /soc/ethernet at 1c50000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 -- 1 file changed, 2 deletions(-)
arch/arm/boot/dts/sunxi-h3-h5.dtsi +0 -2
@@ -516,8 +516,6 @@ reset-names = "stmmaceth"; clocks = <&ccu CLK_BUS_EMAC>; clock-names = "stmmaceth"; - #address-cells = <1>; - #size-cells = <0>; status = "disabled"; mdio: mdio {
Signature · 1 line
2.16.4
PATCH v2 3/5 ARM: dts: sun8i: a83t: Remove unused address-cells/size-cells of dwmac-sun8i
In reply to Corentin Labbeddress-cells/size-cells is unnecessary for dwmac-sun8i node. It was in early days, but since a mdio node is used, it could be removed.
This patch fix the following DT warning:
Warning (avoid_unnecessary_addr_size): /soc/ethernet at 1c50000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm/boot/dts/sun8i-a83t.dtsi | 2 -- 1 file changed, 2 deletions(-)
arch/arm/boot/dts/sun8i-a83t.dtsi +0 -2
@@ -913,8 +913,6 @@ reset-names = "stmmaceth"; clocks = <&ccu 27>; clock-names = "stmmaceth"; - #address-cells = <1>; - #size-cells = <0>; status = "disabled"; mdio: mdio {
Signature · 1 line
2.16.4
PATCH v2 4/5 ARM: dts: sun8i: r40: Remove unused address-cells/size-cells of dwmac-sun8i
In reply to Corentin Labbeaddress-cells/size-cells is unnecessary for dwmac-sun8i node. It was in early days, but since a mdio node is used, it could be removed.
This patch fix the following DT warning:
Warning (avoid_unnecessary_addr_size): /soc/ethernet at 1c50000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm/boot/dts/sun8i-r40.dtsi | 2 -- 1 file changed, 2 deletions(-)
arch/arm/boot/dts/sun8i-r40.dtsi +0 -2
@@ -576,8 +576,6 @@ reset-names = "stmmaceth"; clocks = <&ccu CLK_BUS_GMAC>; clock-names = "stmmaceth"; - #address-cells = <1>; - #size-cells = <0>; status = "disabled"; gmac_mdio: mdio {
Signature · 1 line
2.16.4
PATCH v2 5/5 ARM64: dts: sun50i: a64: Remove unused address-cells/size-cells of dwmac-sun8i
In reply to Corentin Labbeaddress-cells/size-cells is unnecessary for dwmac-sun8i node. It was in early days, but since a mdio node is used, it could be removed.
This patch fix the following DT warning:
Warning (avoid_unnecessary_addr_size): /soc/ethernet at 1c50000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +0 -2
@@ -668,8 +668,6 @@ clocks = <&ccu CLK_BUS_EMAC>; clock-names = "stmmaceth"; status = "disabled"; - #address-cells = <1>; - #size-cells = <0>; mdio: mdio { compatible = "snps,dwmac-mdio";
Signature · 1 line
2.16.4
Maxime Ripard
AppliedQuoted 6 lines · Corentin Labbe
address-cells/size-cells is unnecessary for dwmac-sun8i node. It was in early days, but since a mdio node is used, it could be removed.
This patch fix the following DT warning:
Warning (avoid_unnecessary_addr_size): /soc/ethernet at 1c50000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
Applied, thanks
Maxime
Signature · 10 lines
Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180719/fb156578/attachment.sig>