diff options
author | Peter Griffin <[email protected]> | 2024-06-21 12:55:44 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-06-26 16:47:05 +0100 |
commit | 35d6b98c625867209bc47df99cf03edf4280799f (patch) | |
tree | 9086bb23c561f8776373281624a4393ea928f20a /scripts/rustdoc_test_builder.rs | |
parent | 769cb63166d90f1fadafa4352f180cbd96b6cb77 (diff) |
soc: samsung: exynos-pmu: update to use of_syscon_register_regmap()
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 <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Reviewed-by: Sam Protsenko <[email protected]>
Tested-by: Will McVicker <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions