Re: [PATCH v11 1/3] PCI: rockchip: Simplify clock handling by using clk_bulk*() function
From: Lorenzo Pieralisi
Date: Tue Dec 31 2024 - 06:26:58 EST
On Mon, 02 Dec 2024 20:41:42 +0530, Anand Moon wrote:
> Currently, the driver acquires clks and prepare enable/disable unprepare
> the clks individually thereby making the driver complex to read.
> But this can be simplified by using the clk_bulk*() APIs.
> Use devm_clk_bulk_get_all() API to acquire all the clks and use
> clk_bulk_prepare_enable() to prepare enable clks
> and clk_bulk_disable_unprepare() APIs disable unprepare them in bulk.
>
> [...]
Applied to controller/rockchip, thanks!
[1/3] PCI: rockchip: Simplify clock handling by using clk_bulk*() function
https://git.kernel.org/pci/pci/c/fa0ce454cd4e
[2/3] PCI: rockchip: Simplify reset control handling by using reset_control_bulk*() function
https://git.kernel.org/pci/pci/c/853c711e2caf
[3/3] PCI: rockchip: Refactor rockchip_pcie_disable_clocks() function signature
https://git.kernel.org/pci/pci/c/8261bf695c47
Thanks,
Lorenzo