PCIe RK3399 clock and reset using new helper functions
From: | Anand Moon <linux.amoon-AT-gmail.com> | |
To: | Shawn Lin <shawn.lin-AT-rock-chips.com>, Lorenzo Pieralisi <lpieralisi-AT-kernel.org>, Krzysztof WilczyĆski <kw-AT-linux.com>, Manivannan Sadhasivam <manivannan.sadhasivam-AT-linaro.org>, Rob Herring <robh-AT-kernel.org>, Bjorn Helgaas <bhelgaas-AT-google.com>, Heiko Stuebner <heiko-AT-sntech.de>, Philipp Zabel <p.zabel-AT-pengutronix.de>, linux-pci-AT-vger.kernel.org (open list:PCIE DRIVER FOR ROCKCHIP), linux-rockchip-AT-lists.infradead.org (open list:PCIE DRIVER FOR ROCKCHIP), linux-arm-kernel-AT-lists.infradead.org (moderated list:ARM/Rockchip SoC support), linux-kernel-AT-vger.kernel.org (open list) | |
Subject: | [PATCH v9 0/3] PCIe RK3399 clock and reset using new helper functions | |
Date: | Wed, 16 Oct 2024 17:19:05 +0530 | |
Message-ID: | <20241016114915.2823-1-linux.amoon@gmail.com> | |
Cc: | Anand Moon <linux.amoon-AT-gmail.com> | |
Archive-link: | Article |
Following changes are used to reduce the code and used new clk_bulk()* API d reset_control_bulk()* API 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 future. Thanks -Anand Previous changes. v7: https://lore.kernel.org/all/20241012050611.1908-2-linux.a... v6: https://lore.kernel.org/r/20241006182445.3713-2-linux.amo... v5: https://lore.kernel.org/all/20240901183221.240361-2-linux... V4: https://lore.kernel.org/all/20240625104039.48311-1-linux.... V3: https://lore.kernel.org/all/20240622061845.3678-1-linux.a... V2: https://lore.kernel.org/all/20240621064426.282048-1-linux... V1: https://lore.kernel.org/all/20240618164133.223194-2-linux... *** BLURB HERE *** 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 | 222 +++++-------------------- drivers/pci/controller/pcie-rockchip.h | 35 ++-- 2 files changed, 60 insertions(+), 197 deletions(-) base-commit: 2f87d0916ce0d2925cedbc9e8f5d6291ba2ac7b2 -- 2.44.0