firmware: arm_scmi: Extend perf protocol ops to get information of a domain
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 25 Aug 2023 11:26:22 +0000 (13:26 +0200)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 21 Sep 2023 15:24:27 +0000 (16:24 +0100)
commit3d99ed60721bf2e108c8fc660775766057689a92
treee75dd0d485b1e7a0c5e6f053965553cb8334e1b5
parente9090e70e618cd62ab7bf2914511e5eea31a2535
firmware: arm_scmi: Extend perf protocol ops to get information of a domain

Similar to other protocol ops, it's useful for an scmi module driver to get
some generic information of a performance domain. Therefore, let's add a
new callback to provide this information. The information is currently
limited to the name of the performance domain and whether the set-level
operation is supported, although this can easily be extended if we find the
need for it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20230825112633.236607-3-ulf.hansson@linaro.org
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/perf.c
include/linux/scmi_protocol.h