diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2022-02-17 13:12:34 +0000 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2022-02-21 10:37:00 +0000 |
commit | 38a0e5b735d6152d334d2f94b925a1c8a93bd7eb (patch) | |
tree | 839d60019d65bc93a70262c8c63f0edbb60db5b9 /lib/mpi/mpi-bit.c | |
parent | 18f295b758b227857133f680a397a42e83c62f3f (diff) |
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 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions