Thread (11 messages) 11 messages, 5 authors, 2024-06-19

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

From: Sam Protsenko <semen.protsenko@linaro.org>
Date: 2024-06-18 17:47:41
Also in: linux-samsung-soc, lkml

On Fri, Jun 14, 2024 at 9:04 AM Peter Griffin [off-list ref] 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@linaro.org>
---
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>

[snip]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help