Skip to content

Commit

Permalink
Merge branch 'net-cleanup-arc-emac'
Browse files Browse the repository at this point in the history
Johan Jonker says:

====================
cleanup arc emac

The Rockchip emac binding for rk3036/rk3066/rk3188 has been converted to YAML
with the ethernet-phy node in a mdio node. This requires some driver fixes
by someone that can do hardware testing.

In order to make a future fix easier make the driver 'Rockchip only'
by removing the obsolete part of the arc emac driver.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jun 21, 2024
2 parents 86474de + 8a3913c commit 9413b1b
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 154 deletions.
46 changes: 0 additions & 46 deletions Documentation/devicetree/bindings/net/arc_emac.txt

This file was deleted.

4 changes: 0 additions & 4 deletions arch/arm/boot/dts/rockchip/rk3066a.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,3 @@
&wdt {
compatible = "rockchip,rk3066-wdt", "snps,dw-wdt";
};

&emac {
compatible = "rockchip,rk3066-emac";
};
7 changes: 2 additions & 5 deletions arch/arm/boot/dts/rockchip/rk3xxx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -194,17 +194,14 @@
};

emac: ethernet@10204000 {
compatible = "snps,arc-emac";
compatible = "rockchip,rk3066-emac";
reg = <0x10204000 0x3c>;
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;

rockchip,grf = <&grf>;

clocks = <&cru HCLK_EMAC>, <&cru SCLK_MAC>;
clock-names = "hclk", "macref";
max-speed = <100>;
phy-mode = "rmii";

rockchip,grf = <&grf>;
status = "disabled";
};

Expand Down
10 changes: 0 additions & 10 deletions drivers/net/ethernet/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@ config ARC_EMAC_CORE
select PHYLIB
select CRC32

config ARC_EMAC
tristate "ARC EMAC support"
select ARC_EMAC_CORE
depends on OF_IRQ
depends on ARC || COMPILE_TEST
help
On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x
non-standard on-chip ethernet device ARC EMAC 10/100 is used.
Say Y here if you have such a board. If unsure, say N.

config EMAC_ROCKCHIP
tristate "Rockchip EMAC support"
select ARC_EMAC_CORE
Expand Down
1 change: 0 additions & 1 deletion drivers/net/ethernet/arc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@

arc_emac-objs := emac_main.o emac_mdio.o
obj-$(CONFIG_ARC_EMAC_CORE) += arc_emac.o
obj-$(CONFIG_ARC_EMAC) += emac_arc.o
obj-$(CONFIG_EMAC_ROCKCHIP) += emac_rockchip.o
88 changes: 0 additions & 88 deletions drivers/net/ethernet/arc/emac_arc.c

This file was deleted.

0 comments on commit 9413b1b

Please sign in to comment.