PCI: exynos: Adapt to use bulk clock APIs
authorShradha Todi <shradha.t@samsung.com>
Tue, 20 Feb 2024 08:40:46 +0000 (14:10 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 28 May 2024 16:15:01 +0000 (11:15 -0500)
commit6b11143f9344ddfb6f27559743db36b85e8e6a89
tree65e1400b224d992394f206d0914fa21e57d9ce3e
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
PCI: exynos: Adapt to use bulk clock APIs

There is no need to hardcode the clock info in the driver as driver can
rely on the devicetree to supply the clocks required for the functioning
of the peripheral.

Thus, remove the static clock info and obtain the platform supplied
clocks. All the clocks supplied are obtained and enabled using the
devm_clk_bulk_get_all_enable() API.

[kwilczynski: commit log]
Link: https://lore.kernel.org/linux-pci/20240220084046.23786-3-shradha.t@samsung.com
Signed-off-by: Shradha Todi <shradha.t@samsung.com>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/pci/controller/dwc/pci-exynos.c