[net,0/2] allwinner: a523: Rename emac0 to gmac0

Message ID 20250628054438.2864220-1-wens@kernel.org (mailing list archive)
Headers
Series allwinner: a523: Rename emac0 to gmac0 |

Message

Chen-Yu Tsai June 28, 2025, 5:44 a.m. UTC
From: Chen-Yu Tsai <wens@csie.org>

Hi folks,

This small series aims to align the name of the first ethernet
controller found on the Allwinner A523 SoC family with the name
found in the datasheets. It renames the compatible string and
any other references from "emac0" to "gmac0".

When support of the hardware was introduced, the name chosen was
"EMAC", which followed previous generations. However the datasheets
use the name "GMAC" instead, likely because there is another "GMAC"
based on a newer DWMAC IP.

The first patch fixes the compatible string entry in the device tree
binding.

The second patch fixes all references in the existing device trees.

Since this was introduced in v6.16-rc1, I hope to land this for v6.16
as well.

There's a small conflict in patch one around the patch context with 

    dt-bindings: net: sun8i-emac: Add A100 EMAC compatible

that just landed in net-next today. I will leave this patch to the net
mainainers to merge to avoid making a bigger mess. Once that is landed
I will merge the second patch through the sunxi tree.


Thanks
ChenYu


Chen-Yu Tsai (2):
  dt-bindings: net: sun8i-emac: Rename A523 EMAC0 to GMAC0
  arm64: dts: allwinner: a523: Rename emac0 to gmac0

 .../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml  | 2 +-
 arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi              | 6 +++---
 arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts     | 4 ++--
 arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts     | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)