]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'add-devm_clk_bulk_get_optional_enable-helper-and-use-in-axi-ethernet...
authorJakub Kicinski <kuba@kernel.org>
Thu, 22 Jan 2026 02:57:09 +0000 (18:57 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 22 Jan 2026 02:57:10 +0000 (18:57 -0800)
commit938b404e25d67be9004b3c853afa4a2e9723fe5b
tree80a6fc6d395fa9e05381407bbd10dedc4e16022a
parentd8f87aa5fa0a4276491fa8ef436cd22605a3f9ba
parent808d077f5b538065c524b76b340007c51fad215c
Merge branch 'add-devm_clk_bulk_get_optional_enable-helper-and-use-in-axi-ethernet-driver'

Suraj Gupta says:

====================
Add devm_clk_bulk_get_optional_enable() helper and use in AXI Ethernet driver

This patch series introduces a new managed clock framework helper function
and demonstrates its usage in AXI ethernet driver.

Device drivers frequently need to get optional bulk clocks, prepare them,
and enable them during probe, while ensuring automatic cleanup on device
unbind. Currently, this requires three separate operations with manual
cleanup handling.

The new devm_clk_bulk_get_optional_enable() helper combines these
operations into a single managed call, eliminating boilerplate code and
following the established pattern of devm_clk_bulk_get_all_enabled().
====================

Link: https://patch.msgid.link/20260116192725.972966-1-suraj.gupta2@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>