Commit 0b38c5c2 authored by Peng Fan's avatar Peng Fan Committed by Carlos Llamas
Browse files

FROMGIT: firmware: arm_scmi: Implement clock get permissions



ARM SCMI v3.2 introduces clock get permission command. To implement the
same let us stash the values of those permissions in the scmi_clock_info.
They indicate if the operation is forbidden or not.

If the CLOCK_GET_PERMISSIONS command is not supported, the default
permissions are set to allow the operations, otherwise they will be set
according to the response of CLOCK_GET_PERMISSIONS from the SCMI
platform firmware.

Reviewed-by: default avatarCristian Marussi <cristian.marussi@arm.com>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20240121110901.1414856-1-peng.fan@oss.nxp.com


Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>

Bug: 339773531
(cherry picked from commit dc36561e
https: //git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git for-linux-next)
Change-Id: Id2d3644cf1e298b574d2d071b1c6966815ebfc2a
Signed-off-by: default avatarZhipeng Wang <zhipeng.wang_1@nxp.com>
parent 839994cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment