[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <345206ea-512c-4781-b7c1-b53ef0da5f34@app.fastmail.com>
Date: Tue, 18 Jun 2024 16:43:11 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Peter Griffin" <peter.griffin@...aro.org>, "Lee Jones" <lee@...nel.org>,
"Krzysztof Kozlowski" <krzk@...nel.org>,
"Alim Akhtar" <alim.akhtar@...sung.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-samsung-soc@...r.kernel.org,
linux-kernel@...r.kernel.org, "Tudor Ambarus" <tudor.ambarus@...aro.org>,
André Draszik <andre.draszik@...aro.org>,
"Saravana Kannan" <saravanak@...gle.com>,
"William McVicker" <willmcvicker@...gle.com>,
"Sam Protsenko" <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, Jun 14, 2024, at 16:04, 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>
Reviewed-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists