Skip to content

Commit aeb669d

Browse files
haukepaulburton
authored andcommitted
MIPS: lantiq: Remove separate GPHY Firmware loader
The separate GPHY Firmware loader driver is not used any more, the GPHY firmware is now loaded by the GSWIP switch driver which also makes use of the GPHY. Remove the old unused GPHY firmware loader driver. The GPHY firmware is useless without an Ethernet and switch driver, it should not harm if loading this does not work for system using an old device tree. I am not aware of any vendor separating the device tree from the kernel binary, it should be ok to remove this. The code and the functionality form this separate GPHY firmware loader was added to the gswip driver in commit 14fceff ("net: dsa: Add Lantiq / Intel DSA driver for vrx200") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: john@phrozen.org Cc: netdev@vger.kernel.org
1 parent 15205fc commit aeb669d

File tree

6 files changed

+0
-284
lines changed

6 files changed

+0
-284
lines changed

Documentation/devicetree/bindings/mips/lantiq/rcu-gphy.txt

Lines changed: 0 additions & 36 deletions
This file was deleted.

Documentation/devicetree/bindings/mips/lantiq/rcu.txt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,6 @@ Example of the RCU bindings on a xRX200 SoC:
2626
ranges = <0x0 0x203000 0x100>;
2727
big-endian;
2828

29-
gphy0: gphy@20 {
30-
compatible = "lantiq,xrx200a2x-gphy";
31-
reg = <0x20 0x4>;
32-
33-
resets = <&reset0 31 30>, <&reset1 7 7>;
34-
reset-names = "gphy", "gphy2";
35-
lantiq,gphy-mode = <GPHY_MODE_GE>;
36-
};
37-
38-
gphy1: gphy@68 {
39-
compatible = "lantiq,xrx200a2x-gphy";
40-
reg = <0x68 0x4>;
41-
42-
resets = <&reset0 29 28>, <&reset1 6 6>;
43-
reset-names = "gphy", "gphy2";
44-
lantiq,gphy-mode = <GPHY_MODE_GE>;
45-
};
46-
4729
reset0: reset-controller@10 {
4830
compatible = "lantiq,xrx200-reset";
4931
reg = <0x10 4>, <0x14 4>;

arch/mips/configs/xway_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ CONFIG_EMBEDDED=y
1313
# CONFIG_COMPAT_BRK is not set
1414
CONFIG_LANTIQ=y
1515
CONFIG_PCI_LANTIQ=y
16-
CONFIG_XRX200_PHY_FW=y
1716
CONFIG_CPU_MIPS32_R2=y
1817
CONFIG_MIPS_VPE_LOADER=y
1918
CONFIG_NR_CPUS=2

arch/mips/lantiq/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,4 @@ config PCI_LANTIQ
5252
bool "PCI Support"
5353
depends on SOC_XWAY && PCI
5454

55-
config XRX200_PHY_FW
56-
bool "XRX200 PHY firmware loader"
57-
depends on SOC_XWAY
58-
5955
endif

drivers/soc/lantiq/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
obj-y += fpi-bus.o
2-
obj-$(CONFIG_XRX200_PHY_FW) += gphy.o

drivers/soc/lantiq/gphy.c

Lines changed: 0 additions & 224 deletions
This file was deleted.

0 commit comments

Comments
 (0)