[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240213132751.46813-1-shradha.t@samsung.com>
Date: Tue, 13 Feb 2024 18:57:49 +0530
From: Shradha Todi <shradha.t@...sung.com>
To: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org
Cc: mturquette@...libre.com, sboyd@...nel.org, jingoohan1@...il.com,
lpieralisi@...nel.org, kw@...ux.com, robh@...nel.org, bhelgaas@...gle.com,
krzysztof.kozlowski@...aro.org, alim.akhtar@...sung.com,
linux@...linux.org.uk, m.szyprowski@...sung.com,
manivannan.sadhasivam@...aro.org, pankaj.dubey@...sung.com,
gost.dev@...sung.com, Shradha Todi <shradha.t@...sung.com>
Subject: [PATCH v5 0/2] Add helper function to get and enable all bulk
clocks
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 in the exynos driver.
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
v3:
- https://lore.kernel.org/all/20240110110115.56270-1-shradha.t@samsung.com/
- Took Marek's suggestion to make a common bulk clk wrapper and use it in
the exynos driver
v4:
- https://lore.kernel.org/all/20240124103838.32478-1-shradha.t@samsung.com/
- Addressed Alim and Manivannan's comments
- Changed enabled->enable and disabled->disable in function name
- Remove num_clks out parameter as it is not required by user
- Removed exit callback and used function name directly in release
v5:
- Rephrased comments for better readability
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 | 40 ++++++++++++++++++
drivers/pci/controller/dwc/pci-exynos.c | 54 ++-----------------------
include/linux/clk.h | 23 +++++++++++
3 files changed, 67 insertions(+), 50 deletions(-)
--
2.17.1
Powered by blists - more mailing lists