diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-03-23 06:32:55 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-25 03:48:02 +0300 |
commit | ffba2123e1714a27e9362fda57c42155dda37efc (patch) | |
tree | 3fa7e395a1edf08a05623956770a444c5a2351b7 /tools/perf/scripts/python/stackcollapse.py | |
parent | 169e77764adc041b1dacba84ea90516a895d43b2 (diff) | |
download | linux-ffba2123e1714a27e9362fda57c42155dda37efc.tar.xz |
net: stmmac: dwmac-qcom-ethqos: Enable RGMII functional clock on resume
When the Qualcomm ethqos driver is properly described in its associated
GDSC power-domain, the hardware will be powered down and loose its state
between qcom_ethqos_probe() and stmmac_init_dma_engine().
The result of this is that the functional clock from the RGMII IO macro
is no longer provides and the DMA software reset in dwmac4_dma_reset()
will time out, due to lacking clock signal.
Re-enable the functional clock, as part of the Qualcomm specific clock
enablement sequence to avoid this problem.
The final clock configuration will be adjusted by ethqos_fix_mac_speed()
once the link is being brought up.
Fixes: a7c30e62d4b8 ("net: stmmac: Add driver for Qualcomm ethqos")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-and-reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Link: https://lore.kernel.org/r/20220323033255.2282930-1-bjorn.andersson@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions