Re: [PATCH 08/10] PCI: qcom: Make all optional clocks optional
From: Rob Herring
Date: Fri Jul 01 2022 - 14:34:08 EST
On Wed, Jun 29, 2022 at 04:09:58PM +0200, Johan Hovold wrote:
> 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.
>
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
> ---
> drivers/pci/controller/dwc/pcie-qcom.c | 28 ++++----------------------
> 1 file changed, 4 insertions(+), 24 deletions(-)
I guess this depends on patch 6, but looks like a good cleanup.
Reviewed-by: Rob Herring <robh@xxxxxxxxxx>