rockchip: rk3288: grf: Fix shift for RK3288_TXCLK_DLY_ENA_GMAC_ENABLE
Subsystems (2)
PATCH 1/1 rockchip: rk3288: grf: Fix shift for RK3288_TXCLK_DLY_ENA_GMAC_ENABLE
RK3288_TXCLK_DLY_ENA_GMAC_ENABLE, in GRF_SOC_CON3, is supposed to be bit 0xe and not 0xf. Otherwise, it is RGMII RX clock delayline enable and introduces random delays and data lose.
This commit fixes the issue by replacing RK3288_TXCLK_DLY_ENA_GMAC_ENABLE with the right shift.
--- arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/include/asm/arch-rockchip/grf_rk3288.h +1 -1
@@ -813,7 +813,7 @@ enum { (1 <<RK3288_TXCLK_DLY_ENA_GMAC_SHIFT ),RK3288_TXCLK_DLY_ENA_GMAC_DISABLE =0 ,RK3288_TXCLK_DLY_ENA_GMAC_ENABLE = - (1 <<RK3288_RXCLK_DLY_ENA_GMAC_SHIFT ), + (1 <<RK3288_TXCLK_DLY_ENA_GMAC_SHIFT ),RK3288_CLK_RX_DL_CFG_GMAC_SHIFT =0x7 , RK3288_CLK_RX_DL_CFG_GMAC_MASK =
Signature · 1 line
2.11.0
PATCH 1/1 rockchip: rk3288: grf: Fix shift for RK3288_TXCLK_DLY_ENA_GMAC_ENABLE
Quoted 11 lines · Romain Perier
RK3288_TXCLK_DLY_ENA_GMAC_ENABLE, inGRF_SOC_CON3, is supposed to be bit0xeand not0xf. Otherwise, it is RGMII RX clock delayline enable and introduces random delays and data lose.This commit fixes the issue by replacing
RK3288_TXCLK_DLY_ENA_GMAC_ENABLEwith the right shift.Signed-off-by Romain Perier <[email protected]>--- arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH 1/1 rockchip: rk3288: grf: Fix shift for RK3288_TXCLK_DLY_ENA_GMAC_ENABLE
Quoted 11 lines · Romain Perier
RK3288_TXCLK_DLY_ENA_GMAC_ENABLE, inGRF_SOC_CON3, is supposed to be bit0xeand not0xf. Otherwise, it is RGMII RX clock delayline enable and introduces random delays and data lose.This commit fixes the issue by replacing
RK3288_TXCLK_DLY_ENA_GMAC_ENABLEwith the right shift.Signed-off-by Romain Perier <[email protected]>--- arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-rockchip, thanks!