mbox series

[v4,0/2] PCI: qcom: fix PCIe support on sm8250

Message ID 20210113154935.3972869-1-dmitry.baryshkov@linaro.org
Headers show
Series PCI: qcom: fix PCIe support on sm8250 | expand

Message

Dmitry Baryshkov Jan. 13, 2021, 3:49 p.m. UTC
SM8250 platform requires additional clock to be enabled for PCIe to
function. In case it is disabled, PCIe access will result in IOMMU
timeouts. Add device tree binding and driver support for this clock.

Changes since v3:
 - Merge clock handling back into qcom_pcie_get_resources_2_7_0().
   Define res->num_clks to the amount of clocks used for this particular
   platform.

Changes since v2:
 - Split this clock handling from qcom_pcie_get_resources_2_7_0()
 - Change comment to point that the clock is required rather than
   optional

Changes since v1:
 - Added Fixes: tags, as respective patches have hit the upstream Linux
   tree.