From: "Arnd Bergmann" <arnd@arndb.de>
To: "Peter Griffin" <peter.griffin@linaro.org>,
"Lee Jones" <lee@kernel.org>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Alim Akhtar" <alim.akhtar@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
"Tudor Ambarus" <tudor.ambarus@linaro.org>,
"André Draszik" <andre.draszik@linaro.org>,
"Saravana Kannan" <saravanak@google.com>,
"William McVicker" <willmcvicker@google.com>,
"Sam Protsenko" <semen.protsenko@linaro.org>,
kernel-team@android.com
Subject: Re: [PATCH 1/2] mfd: syscon: add of_syscon_register_regmap() API
Date: Tue, 18 Jun 2024 16:43:45 +0200 [thread overview]
Message-ID: <4e8f3cd6-de4f-492a-b1c0-8e0a356d2954@app.fastmail.com> (raw)
In-Reply-To: <20240614140421.3172674-2-peter.griffin@linaro.org>
On Fri, Jun 14, 2024, at 16:04, Peter Griffin wrote:
> The of_syscon_register_regmap() API allows an externally created regmap
> to be registered with syscon. This regmap can then be returned to client
> drivers using the syscon_regmap_lookup_by_phandle() APIs.
>
> The API is used by platforms where mmio access to the syscon registers is
> not possible, and a underlying soc driver like exynos-pmu provides a SoC
> specific regmap that can issue a SMC or hypervisor call to write the
> register.
>
> This approach keeps the SoC complexities out of syscon, but allows common
> drivers such as syscon-poweroff, syscon-reboot and friends that are used
> by many SoCs already to be re-used.
>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
next prev parent reply other threads:[~2024-06-18 14:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-14 14:04 [PATCH 0/2] Add syscon of_syscon_register_regmap api Peter Griffin
2024-06-14 14:04 ` [PATCH 1/2] mfd: syscon: add of_syscon_register_regmap() API Peter Griffin
2024-06-17 9:35 ` André Draszik
2024-06-18 14:43 ` Arnd Bergmann [this message]
2024-06-18 17:50 ` Sam Protsenko
2024-06-19 6:29 ` Krzysztof Kozlowski
2024-06-19 8:17 ` Peter Griffin
2024-06-14 14:04 ` [PATCH 2/2] soc: samsung: exynos-pmu: update to use of_syscon_register_regmap() Peter Griffin
2024-06-17 9:35 ` André Draszik
2024-06-18 14:43 ` Arnd Bergmann
2024-06-18 17:47 ` Sam Protsenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4e8f3cd6-de4f-492a-b1c0-8e0a356d2954@app.fastmail.com \
--to=arnd@arndb.de \
--cc=alim.akhtar@samsung.com \
--cc=andre.draszik@linaro.org \
--cc=kernel-team@android.com \
--cc=krzk@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=peter.griffin@linaro.org \
--cc=saravanak@google.com \
--cc=semen.protsenko@linaro.org \
--cc=tudor.ambarus@linaro.org \
--cc=willmcvicker@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®