linux-stable/drivers/firmware/arm_scmi
Sudeep Holla 2bc06ffa06 firmware: arm_scmi: Use asynchronous CLOCK_RATE_SET when possible
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.

Tracking the current count of pending asynchronous clock set rate
requests, we can decide if the incoming/new request for clock set rate
can be handled asynchronously or not until the maximum limit is
reached.

Cc: linux-clk@vger.kernel.org
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2019-08-12 12:23:01 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
base.c firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings 2018-09-10 10:08:44 +01:00
bus.c firmware: arm_scmi: provide the mandatory device release callback 2019-01-30 11:34:42 +01:00
clock.c firmware: arm_scmi: Use asynchronous CLOCK_RATE_SET when possible 2019-08-12 12:23:01 +01:00
common.h firmware: arm_scmi: Add support for asynchronous commands and delayed response 2019-08-12 12:23:00 +01:00
driver.c firmware: arm_scmi: Add support for asynchronous commands and delayed response 2019-08-12 12:23:00 +01:00
perf.c firmware: arm_scmi: add a getter for power of performance states 2018-09-10 17:37:06 +01:00
power.c firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings 2018-09-10 10:08:44 +01:00
scmi_pm_domain.c firmware: arm_scmi: add device power domain support using genpd 2018-02-28 16:37:57 +00:00
sensors.c firmware: arm_scmi: Add asynchronous sensor read if it supports 2019-08-12 12:23:01 +01:00