]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/linux/scmi_protocol.h
firmware: arm_scmi: Drop config flag in clk_ops->rate_set
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 8 Jul 2019 08:42:22 +0000 (09:42 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 12 Aug 2019 11:23:01 +0000 (12:23 +0100)
commitd0aba11614552d43a61c3acdf36876b00060286e
treefab3e51b3fc4814254b43c8d2919510529f806a5
parentd09aac0eb17c6ce2b66095e1e324f60ec9dd8988
firmware: arm_scmi: Drop config flag in clk_ops->rate_set

CLOCK_PROTOCOL_ATTRIBUTES provides attributes to indicate the maximum
number of pending asynchronous clock rate changes supported by the
platform. If it's non-zero, then we should be able to use asynchronous
clock rate set for any clocks until the maximum limit is reached.

In order to add that support, let's drop the config flag passed to
clk_ops->rate_set and handle the asynchronous requests dynamically.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: linux-clk@vger.kernel.org
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/clk/clk-scmi.c
drivers/firmware/arm_scmi/clock.c
include/linux/scmi_protocol.h