[PATCH v3 2/2] soc: samsung: exynos-pmu: update to use of_syscon_register_regmap()

William McVicker willmcvicker at google.com
Fri Jun 21 16:57:15 PDT 2024


On 06/21/2024, Peter Griffin wrote:
> For SoCs like gs101 that need a special regmap, register this with
> of_syscon_register_regmap api, so it can be returned by
> syscon_regmap_lookup_by_phandle() and friends.
> 
> For SoCs that don't require a custom regmap, revert back to syscon
> creating the mmio regmap rather than duplicating the logic here.
> 
> exynos_get_pmu_regmap_by_phandle() api is also updated to retrieve
> the regmap via syscon. The exynos_get_pmu_regmap_by_phandle() api
> is kept around until fw_devlink support for syscon property is added
> for the pinctrl-samsung driver that also runs at postcore_initcall
> level.
> 
> All other exynos client drivers can revert back to
> syscon_regmap_lookup_by_phandle().
> 
> Signed-off-by: Peter Griffin <peter.griffin at linaro.org>
> Reviewed-by: Arnd Bergmann <arnd at arndb.de>
> Reviewed-by: Sam Protsenko <semen.protsenko at linaro.org>

Tested-by: Will McVicker <willmcvicker at google.com>

[...]

(Testing details in patch 1)

Thanks,
Will



More information about the linux-arm-kernel mailing list