ucentral: development update

* another ecw5410 fix

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2021-06-21 14:12:44 +02:00
parent 99f2840848
commit e9de5c0c69

View File

@@ -1,14 +1,16 @@
From c1859788b7dd2cfc79d4341406f6bf782428a98f Mon Sep 17 00:00:00 2001
From b820ffd87781ef60bd6b5ef64162adf9cbb7d72b Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Thu, 17 Jun 2021 16:13:40 +0200
Subject: [PATCH 1/3] ipq806x: simplify ecw5410 dts
Subject: [PATCH 2/4] ipq806x: simplify ecw5410 dts
Signed-off-by: John Crispin <john@phrozen.org>
---
.../etc/hotplug.d/firmware/11-ath10k-caldata | 6 +-
.../arm/boot/dts/qcom-ipq8068-ecw5410.dts | 83 +++++++++++--------
target/linux/ipq806x/image/Makefile | 2 +-
3 files changed, 52 insertions(+), 39 deletions(-)
.../linux/ipq806x/patches-5.4/999-at803.patch | 12 +++
4 files changed, 64 insertions(+), 39 deletions(-)
create mode 100644 target/linux/ipq806x/patches-5.4/999-at803.patch
diff --git a/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 3befc40630..e5715a79aa 100644
@@ -35,7 +37,7 @@ index 3befc40630..e5715a79aa 100644
linksys,ea8500)
caldata_extract "art" 0x5000 0x2f20
diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts
index 712910c261..e87ef16b9a 100644
index 712910c261..e6fc3453b0 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts
@@ -95,6 +95,16 @@
@@ -177,6 +179,24 @@ index 3bc60fa931..d620f0eb70 100644
endef
TARGET_DEVICES += edgecore_ecw5410
diff --git a/target/linux/ipq806x/patches-5.4/999-at803.patch b/target/linux/ipq806x/patches-5.4/999-at803.patch
new file mode 100644
index 0000000000..0dda8bdd59
--- /dev/null
+++ b/target/linux/ipq806x/patches-5.4/999-at803.patch
@@ -0,0 +1,12 @@
+Index: linux-5.4.111/drivers/net/phy/at803x.c
+===================================================================
+--- linux-5.4.111.orig/drivers/net/phy/at803x.c
++++ linux-5.4.111/drivers/net/phy/at803x.c
+@@ -486,6 +486,7 @@ static struct phy_driver at803x_driver[]
+ .phy_id_mask = AT803X_PHY_ID_MASK,
+ .probe = at803x_probe,
+ .config_init = at803x_config_init,
++ .link_change_notify = at803x_link_change_notify,
+ .set_wol = at803x_set_wol,
+ .get_wol = at803x_get_wol,
+ .suspend = at803x_suspend,
--
2.25.1