firmware: arm_scmi: Fix the clock protocol version for v3.2
authorCristian Marussi <cristian.marussi@arm.com>
Tue, 9 Jan 2024 15:01:06 +0000 (15:01 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 22 Jan 2024 10:01:17 +0000 (10:01 +0000)
commit27600c96e2ffa6c1b2cb378ddc75c6620c628d04
tree9dd1ee3985d271f8ac9878bdcbfc672baf13cc79
parentb5dc0ffd36560dbadaed9a3d9fd7838055d62d74
firmware: arm_scmi: Fix the clock protocol version for v3.2

The clock protocol version as per the SCMI v3.2 specification is 0x30000.
Enable the v3.0 clock protocol features only when clock protocol version
equals 0x30000.

The previous beta version of the spec had this value set to 0x20001 and
th same value trickled down from the initial development. The version
update were missed in the driver.

Fixes: e49e314a2cf7 ("firmware: arm_scmi: Add clock v3.2 CONFIG_SET support")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240109150106.2066739-1-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/clock.c