[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c8c2dce5680f3ac859bbedfd13edd99a2d6d1067.camel@linaro.org>
Date: Mon, 17 Jun 2024 10:35:05 +0100
From: André Draszik <andre.draszik@...aro.org>
To: Peter Griffin <peter.griffin@...aro.org>, lee@...nel.org, arnd@...db.de,
krzk@...nel.org, alim.akhtar@...sung.com
Cc: linux-arm-kernel@...ts.infradead.org, linux-samsung-soc@...r.kernel.org,
linux-kernel@...r.kernel.org, tudor.ambarus@...aro.org,
saravanak@...gle.com, willmcvicker@...gle.com, semen.protsenko@...aro.org,
kernel-team@...roid.com
Subject: Re: [PATCH 2/2] soc: samsung: exynos-pmu: update to use
of_syscon_register_regmap()
On Fri, 2024-06-14 at 15:04 +0100, 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@...aro.org>
With this series, the exynos5 usb phy driver works on gs101 without
having to patch it to use exynos_get_pmu_regmap_by_phandle() instead
of the standard syscon_regmap_lookup_by_phandle():
Tested-by: André Draszik <andre.draszik@...aro.org>
Powered by blists - more mailing lists