PCI: qcom: Make all optional clocks optional
authorJohan Hovold <johan+linaro@kernel.org>
Thu, 14 Jul 2022 07:13:46 +0000 (09:13 +0200)
committerLorenzo Pieralisi <lpieralisi@kernel.org>
Tue, 23 Aug 2022 07:25:44 +0000 (09:25 +0200)
commit014aa3518a5826b88a601f5de867551db5c73855
treef41949b204c2eca44723b839582c86819c9574c6
parentc64f56d0857a28ad9f4e5b6e68877a6b05660073
PCI: qcom: Make all optional clocks optional

The kernel is not a devicetree validator and does not need to re-encode
information which is already available in the devicetree.

This is specifically true for the optional PCIe clocks, some of which
are really interconnect clocks.

Treat also the 2.7.0 optional clocks as truly optional instead of
maintaining a list of clocks per compatible (including two compatible
strings for the two identical controllers on sm8450) just to validate
the devicetree.

Link: https://lore.kernel.org/r/20220714071348.6792-7-johan+linaro@kernel.org
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
drivers/pci/controller/dwc/pcie-qcom.c