forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
....@@ -505,6 +505,8 @@
505505 plat_dat->has_gmac4 = 1;
506506 plat_dat->pmt = 1;
507507 plat_dat->tso_en = of_property_read_bool(np, "snps,tso");
508
+ if (of_device_is_compatible(np, "qcom,qcs404-ethqos"))
509
+ plat_dat->rx_clk_runs_in_lpi = 1;
508510
509511 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res);
510512 if (ret)