[PATCH v4 4/8] reset: Add reset_control_get_from_provider_exclusive()
Wolfram Sang
wsa+renesas at sang-engineering.com
Mon Nov 16 00:22:29 PST 2026
On Fri, Oct 16, 2026 at 05:55:43PM +0200, Geert Uytterhoeven wrote:
> When stacking two reset controllers, the upper one should go through the
> proper channels: request exclusive reset controls and use them via the
> reset_control_*() APIs. However, unlike the clock subsystem, which has
> of_clk_get_from_provider(), the reset subsystem does not offer a way to
> lookup and obtain a reset from a reset provider.
>
> Hence add a public helper reset_control_get_from_provider_exclusive()
> to lookup and obtain an exclusive reference to a reset controller, based
> on the recently introduced __reset_control_get_from_provider() helper.
> This will be used by the R-Car X5H Module Controller driver.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
Tested-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
More information about the linux-arm-kernel
mailing list