Following changes are used to reduce the code and used new clk_bulk and reset_control_bulk helper functions. Additional to the PCie core controller changes added some new PHY changes to help improve and clean up the code. Made lots of silly mistakes, will try to improve in the futuree. Thanks -Anand Previous changes. v7: https://lore.kernel.org/all/20241012050611.1908-2-linux.amoon@xxxxxxxxx/ v6: https://lore.kernel.org/r/20241006182445.3713-2-linux.amoon@xxxxxxxxx/ v5: https://lore.kernel.org/all/20240901183221.240361-2-linux.amoon@xxxxxxxxx/ V4: https://lore.kernel.org/all/20240625104039.48311-1-linux.amoon@xxxxxxxxx/ V3: https://lore.kernel.org/all/20240622061845.3678-1-linux.amoon@xxxxxxxxx/ V2: https://lore.kernel.org/all/20240621064426.282048-1-linux.amoon@xxxxxxxxx/ V1: https://lore.kernel.org/all/20240618164133.223194-2-linux.amoon@xxxxxxxxx/ Anand Moon (3): PCI: rockchip: Simplify clock handling by using clk_bulk*() function PCI: rockchip: Simplify reset control handling by using reset_control_bulk*() function PCI: rockchip: Refactor rockchip_pcie_disable_clocks() function signature drivers/pci/controller/pcie-rockchip.c | 223 +++++-------------------- drivers/pci/controller/pcie-rockchip.h | 35 ++-- 2 files changed, 61 insertions(+), 197 deletions(-) base-commit: 6485cf5ea253d40d507cd71253c9568c5470cd27 -- 2.44.0