[PATCH v10 5/7] spmi: pmic-arb: Make core resources acquiring a version operation

Stephen Boyd sboyd at kernel.org
Fri Apr 19 18:47:57 PDT 2024


Quoting Abel Vesa (2024-04-17 13:00:57)
> Rather than setting up the core, obsrv and chnls in probe by using
> version specific conditionals, add a dedicated "get_core_resources"
> version specific op and move the acquiring in there. Since there are
> no current users of the second bus yet, drop the comment about why
> devm_platform_ioremap_resource can't be used in case of "core",
> as it is not applicable anymore.
> Don't switch to devm_platform_ioremap_resource though as we need
> to keep track of core size.
> 
> Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
> Signed-off-by: Abel Vesa <abel.vesa at linaro.org>
> ---

Applied to spmi-next



More information about the Linux-mediatek mailing list