diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2022-02-17 14:12:34 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2022-02-21 11:37:00 +0100 |
commit | 38a0e5b735d6152d334d2f94b925a1c8a93bd7eb (patch) | |
tree | 839d60019d65bc93a70262c8c63f0edbb60db5b9 /include | |
parent | firmware: arm_scmi: Add support for clock_enable_latency (diff) | |
download | linux-38a0e5b735d6152d334d2f94b925a1c8a93bd7eb.tar.xz linux-38a0e5b735d6152d334d2f94b925a1c8a93bd7eb.zip |
clk: scmi: Support atomic clock enable/disable API
Support also atomic enable/disable clk_ops beside the bare non-atomic one
(prepare/unprepare) when the underlying SCMI transport is configured to
support atomic transactions for synchronous commands.
Compare the SCMI system-wide configured atomic threshold latency time and
the per-clock advertised enable latency (if any) to choose whether to
provide sleeping prepare/unprepare vs atomic enable/disable.
Link: https://lore.kernel.org/r/20220217131234.50328-9-cristian.marussi@arm.com
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: linux-clk@vger.kernel.org
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions