]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: Provide managed helper to get and enable bulk clocks
authorShradha Todi <shradha.t@samsung.com>
Tue, 20 Feb 2024 08:40:45 +0000 (14:10 +0530)
committerStephen Boyd <sboyd@kernel.org>
Thu, 22 Feb 2024 05:13:36 +0000 (21:13 -0800)
commit265b07df758a998f60cf5b5aec6bd72ca676655e
treef4ae9430aaece4a1d16665fdff7fde575a6668e0
parent6613476e225e090cc9aad49be7fa504e290dd33d
clk: Provide managed helper to get and enable bulk clocks

Provide a managed devm_clk_bulk* wrapper to get and enable all
bulk clocks in order to simplify drivers that keeps all clocks
enabled for the time of driver operation.

Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Shradha Todi <shradha.t@samsung.com>
Link: https://lore.kernel.org/r/20240220084046.23786-2-shradha.t@samsung.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-devres.c
include/linux/clk.h