rockchip64-dev: tweak tx/rx delay in network stability patch

seems like this patch headed upstream for rk3328-roc-cc:
https://patchwork.kernel.org/patch/10804863/
doesn't include the tx/rx delay changes in the original rock64 patch:
https://patchwork.kernel.org/patch/10178969/

My testing showed these changes help with a link down and reset that happens on heavy
exchanges, like streaming. Maybe we should sumbit upstream a patch that hadles this as well?
This commit is contained in:
Leonidas P 2019-02-28 16:30:21 +02:00
parent 03e839e240
commit 2a080d6a7c

View file

@ -1,8 +1,8 @@
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
index 53c7a02ee..9c26f3864 100644
index 53c7a02ee..5d252f5f9 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
@@ -104,6 +104,7 @@
@@ -104,11 +104,12 @@
phy-mode = "rgmii";
pinctrl-names = "default";
pinctrl-0 = <&rgmiim1_pins>;
@ -10,3 +10,10 @@ index 53c7a02ee..9c26f3864 100644
snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
snps,reset-delays-us = <0 10000 50000>;
- tx_delay = <0x25>;
- rx_delay = <0x11>;
+ tx_delay = <0x24>;
+ rx_delay = <0x18>;
status = "okay";
};