[PATCH v3 0/2] Add helper function to get and enable all bulk clocks
Shradha Todi
shradha.t at samsung.com
Wed Jan 10 03:01:13 PST 2024
Create a managed API wrapper to get all the bulk clocks and enable them
as it is a very common practice in many drivers. The second patch uses
this API to adapt to clk_bulk_* APIs.
v1:
- https://lore.kernel.org/lkml/20231009062216.6729-1-shradha.t@samsung.com/
v2:
- https://lore.kernel.org/lkml/20231115065621.27014-1-shradha.t@samsung.com/
- Addressed Manivannan's comments to improve patch
Shradha Todi (2):
clk: Provide managed helper to get and enable bulk clocks
PCI: exynos: Adapt to clk_bulk_* APIs
drivers/clk/clk-devres.c | 41 ++++++++++++++++++
drivers/pci/controller/dwc/pci-exynos.c | 55 +++----------------------
include/linux/clk.h | 25 +++++++++++
3 files changed, 71 insertions(+), 50 deletions(-)
--
2.17.1
More information about the linux-arm-kernel
mailing list