[PATCH] ath79: fix the AR7{1,2}00 USB PHY patches

Rui Salvaterra rsalvaterra at gmail.com
Thu Jul 29 04:01:04 PDT 2021


PHY_SIMPLE is a bogus kconfig symbol, what we really need to select is
GENERIC_PHY.

Signed-off-by: Rui Salvaterra <rsalvaterra at gmail.com>
---
 .../ath79/patches-5.10/0004-phy-add-ath79-usb-phys.patch      | 4 ++--
 .../linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/ath79/patches-5.10/0004-phy-add-ath79-usb-phys.patch b/target/linux/ath79/patches-5.10/0004-phy-add-ath79-usb-phys.patch
index e319f738a5..56c3d61887 100644
--- a/target/linux/ath79/patches-5.10/0004-phy-add-ath79-usb-phys.patch
+++ b/target/linux/ath79/patches-5.10/0004-phy-add-ath79-usb-phys.patch
@@ -23,7 +23,7 @@ Signed-off-by: John Crispin <john at phrozen.org>
 +	tristate "Atheros AR7100 USB PHY driver"
 +	depends on ATH79 || COMPILE_TEST
 +	default y if USB_EHCI_HCD_PLATFORM
-+	select PHY_SIMPLE
++	select GENERIC_PHY
 +	help
 +	  Enable this to support the USB PHY on Atheros AR7100 SoCs.
 +
@@ -31,7 +31,7 @@ Signed-off-by: John Crispin <john at phrozen.org>
 +	tristate "Atheros AR7200 USB PHY driver"
 +	depends on ATH79 || COMPILE_TEST
 +	default y if USB_EHCI_HCD_PLATFORM
-+	select PHY_SIMPLE
++	select GENERIC_PHY
 +	help
 +	  Enable this to support the USB PHY on Atheros AR7200 SoCs.
 +
diff --git a/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch b/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch
index e319f738a5..56c3d61887 100644
--- a/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch
+++ b/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch
@@ -23,7 +23,7 @@ Signed-off-by: John Crispin <john at phrozen.org>
 +	tristate "Atheros AR7100 USB PHY driver"
 +	depends on ATH79 || COMPILE_TEST
 +	default y if USB_EHCI_HCD_PLATFORM
-+	select PHY_SIMPLE
++	select GENERIC_PHY
 +	help
 +	  Enable this to support the USB PHY on Atheros AR7100 SoCs.
 +
@@ -31,7 +31,7 @@ Signed-off-by: John Crispin <john at phrozen.org>
 +	tristate "Atheros AR7200 USB PHY driver"
 +	depends on ATH79 || COMPILE_TEST
 +	default y if USB_EHCI_HCD_PLATFORM
-+	select PHY_SIMPLE
++	select GENERIC_PHY
 +	help
 +	  Enable this to support the USB PHY on Atheros AR7200 SoCs.
 +
-- 
2.32.0




More information about the openwrt-devel mailing list