firmware: arm_scmi: Add generic OPP support to the SCMI performance domain
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Sep 2023 13:17:15 +0000 (15:17 +0200)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 6 Oct 2023 08:41:03 +0000 (09:41 +0100)
commit0a81b0eb81ca94f2be9712b85c2d1c32542a17b2
treedbfbc6ab99486cf4b78d297751f1d8c8ad132f85
parent5a6a104193520dc3b66ad2c7d823e00b50734ab6
firmware: arm_scmi: Add generic OPP support to the SCMI performance domain

To allow a consumer driver to use the OPP library to scale the performance
for its device, let's dynamically add the OPP table when the device gets
attached to its SCMI performance domain.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20230925131715.138411-10-ulf.hansson@linaro.org
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/pmdomain/arm/scmi_perf_domain.c