forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: mac80211: add rt2x00 5.19 kernel support kernel: refresh 5.19 patch (coolsnowwolf#9943) kernel: refresh 5.15 patch (coolsnowwolf#9944) rockchip: set rockchip_setup_macs for NanoPi R5S rockchip: add FriendlyElec NanoPi R5S support
- Loading branch information
Showing
11 changed files
with
53 additions
and
18 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
package/kernel/mac80211/patches/rt2x00/999-backport-to-linux-5.18.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00usb.c | ||
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00usb.c | ||
@@ -586,10 +586,18 @@ static void rt2x00usb_assign_endpoint(struct data_queue *queue, | ||
|
||
if (queue->qid == QID_RX) { | ||
pipe = usb_rcvbulkpipe(usb_dev, queue->usb_endpoint); | ||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,19,0) | ||
queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe, 0); | ||
+#else | ||
+ queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe); | ||
+#endif | ||
} else { | ||
pipe = usb_sndbulkpipe(usb_dev, queue->usb_endpoint); | ||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,19,0) | ||
queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe, 1); | ||
+#else | ||
+ queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe); | ||
+#endif | ||
} | ||
|
||
if (!queue->usb_maxpacket) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
target/linux/rockchip/patches-5.15/208-rockchip-rk3399-add-support-for-GuangMiao-G4C.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ Signed-off-by: wevsty <[email protected]> | |
reg = <0x0 0xff100000 0x0 0x1000>; | ||
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi | ||
@@ -1937,6 +1937,16 @@ | ||
@@ -2042,6 +2042,16 @@ | ||
}; | ||
}; | ||
|
||
|
@@ -48,9 +48,9 @@ Signed-off-by: wevsty <[email protected]> | |
gpu: gpu@ff9a0000 { | ||
compatible = "rockchip,rk3399-mali", "arm,mali-t860"; | ||
reg = <0x0 0xff9a0000 0x0 0x10000>; | ||
--- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi 2022-08-09 00:09:02.289032224 +0800 | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi 2022-08-09 00:11:01.829992919 +0800 | ||
@@ -89,6 +89,16 @@ | ||
--- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi | ||
@@ -211,6 +211,16 @@ | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ Signed-off-by: David Bauer <[email protected]> | |
|
||
--- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts | ||
@@ -137,6 +137,11 @@ | ||
@@ -121,6 +121,11 @@ | ||
status = "disabled"; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,6 @@ Signed-off-by: jensen <[email protected]> | |
2 files changed, 8220 insertions(+), 9 deletions(-) | ||
create mode 100644 drivers/phy/rockchip/p3phy.fw | ||
|
||
diff --git a/drivers/phy/rockchip/p3phy.fw b/drivers/phy/rockchip/p3phy.fw | ||
new file mode 100644 | ||
index 0000000000000..301c42837ad94 | ||
--- /dev/null | ||
+++ b/drivers/phy/rockchip/p3phy.fw | ||
@@ -0,0 +1,8192 @@ | ||
|
@@ -8209,8 +8206,6 @@ index 0000000000000..301c42837ad94 | |
+0x0000, | ||
+0x0000, | ||
+0x0000 | ||
diff --git a/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c b/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c | ||
index bb5fed0c03caf..53c4890f7391d 100644 | ||
--- a/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c | ||
+++ b/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c | ||
@@ -20,6 +20,7 @@ | ||
|
@@ -8221,7 +8216,7 @@ index bb5fed0c03caf..53c4890f7391d 100644 | |
#define GRF_PCIE30PHY_CON6 0x18 | ||
#define GRF_PCIE30PHY_CON9 0x24 | ||
#define GRF_PCIE30PHY_STATUS0 0x80 | ||
@@ -61,6 +62,10 @@ | ||
@@ -61,6 +62,10 @@ struct rockchip_p3phy_ops { | ||
int (*phy_init)(struct rockchip_p3phy_priv *priv); | ||
}; | ||
|
||
|
@@ -8232,15 +8227,15 @@ index bb5fed0c03caf..53c4890f7391d 100644 | |
static int rockchip_p3phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) | ||
{ | ||
struct rockchip_p3phy_priv *priv = phy_get_drvdata(phy); | ||
@@ -86,6 +91,7 @@ | ||
@@ -86,6 +91,7 @@ static int rockchip_p3phy_rk3568_init(st | ||
struct phy *phy = priv->phy; | ||
bool bifurcation = false; | ||
int ret; | ||
+ int i; | ||
u32 reg; | ||
|
||
/* Deassert PCIe PMA output clamp mode */ | ||
@@ -110,16 +116,35 @@ | ||
@@ -110,16 +116,35 @@ static int rockchip_p3phy_rk3568_init(st | ||
(0xf << 16) & ~RK3568_BIFURCATION_LANE_0_1); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters