firmware: arm_scmi: Increase the maximum opp count in the perf protocol
authorSibi Sankar <quic_sibis@quicinc.com>
Wed, 29 Nov 2023 06:57:48 +0000 (12:27 +0530)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 30 Nov 2023 20:45:35 +0000 (20:45 +0000)
commitc3f17d5f89fc72d7b170beaf393a8687ae938b19
tree329917d4466f132d3c3649b2dff2be24e9ed6ad9
parent3cc12bb83e6794de7f50799ce43d85c7a3d55828
firmware: arm_scmi: Increase the maximum opp count in the perf protocol

The number of opps on certain variants of the X1E80100 SoC are greater
than current maximum of 16, so increase the MAX_OPP count to 32 (next
power of 2) to accommodate that.

Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Link: https://lore.kernel.org/r/20231129065748.19871-4-quic_sibis@quicinc.com
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/perf.c