Skip to content

Commit

Permalink
MIPS: lantiq: Remove separate GPHY Firmware loader
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
  • Loading branch information
hauke authored and paulburton committed Feb 25, 2019
1 parent 15205fc commit aeb669d
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 284 deletions.
36 changes: 0 additions & 36 deletions Documentation/devicetree/bindings/mips/lantiq/rcu-gphy.txt

This file was deleted.

18 changes: 0 additions & 18 deletions Documentation/devicetree/bindings/mips/lantiq/rcu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,6 @@ Example of the RCU bindings on a xRX200 SoC:
ranges = <0x0 0x203000 0x100>;
big-endian;

gphy0: gphy@20 {
compatible = "lantiq,xrx200a2x-gphy";
reg = <0x20 0x4>;

resets = <&reset0 31 30>, <&reset1 7 7>;
reset-names = "gphy", "gphy2";
lantiq,gphy-mode = <GPHY_MODE_GE>;
};

gphy1: gphy@68 {
compatible = "lantiq,xrx200a2x-gphy";
reg = <0x68 0x4>;

resets = <&reset0 29 28>, <&reset1 6 6>;
reset-names = "gphy", "gphy2";
lantiq,gphy-mode = <GPHY_MODE_GE>;
};

reset0: reset-controller@10 {
compatible = "lantiq,xrx200-reset";
reg = <0x10 4>, <0x14 4>;
Expand Down
1 change: 0 additions & 1 deletion arch/mips/configs/xway_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ CONFIG_EMBEDDED=y
# CONFIG_COMPAT_BRK is not set
CONFIG_LANTIQ=y
CONFIG_PCI_LANTIQ=y
CONFIG_XRX200_PHY_FW=y
CONFIG_CPU_MIPS32_R2=y
CONFIG_MIPS_VPE_LOADER=y
CONFIG_NR_CPUS=2
Expand Down
4 changes: 0 additions & 4 deletions arch/mips/lantiq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,4 @@ config PCI_LANTIQ
bool "PCI Support"
depends on SOC_XWAY && PCI

config XRX200_PHY_FW
bool "XRX200 PHY firmware loader"
depends on SOC_XWAY

endif
1 change: 0 additions & 1 deletion drivers/soc/lantiq/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
obj-y += fpi-bus.o
obj-$(CONFIG_XRX200_PHY_FW) += gphy.o
224 changes: 0 additions & 224 deletions drivers/soc/lantiq/gphy.c

This file was deleted.

0 comments on commit aeb669d

Please sign in to comment.