phy: qcom: qmp-pcie: register PHY AUX clock for SM8[456]50 4x2 PCIe PHY
authorNeil Armstrong <neil.armstrong@linaro.org>
Fri, 22 Mar 2024 09:42:41 +0000 (10:42 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 5 Apr 2024 17:04:00 +0000 (22:34 +0530)
commit5cee04a8369049b92d52995e320abff18dfeda44
tree7ea484963d799d74d7cb1e5d3dc88ec7edb4acde
parent583ca9ccfa806605ae1391aafa3f78a8a2cc0b48
phy: qcom: qmp-pcie: register PHY AUX clock for SM8[456]50 4x2 PCIe PHY

The PCIe Gen4x2 PHY found in the SM8[456]50 SoCs have a second clock,
enable this second clock by setting the proper 20MHz hardware rate in
the Gen4x2 SM8[456]50 aux_clock_rate config fields.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240322-topic-sm8x50-upstream-pcie-1-phy-aux-clk-v2-4-3ec0a966d52f@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c