mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
clk: zynqmp: Warn user if clock user are more than allowed
Warn user if clock is used by more than allowed devices. This check is done by firmware and returns respective error code. Upon receiving error code for excessive user, warn user for the same. This change is done to restrict VPLL use count. It is assumed that VPLL is used by one user only. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com> Link: https://lkml.kernel.org/r/1575527759-26452-4-git-send-email-rajan.vaja@xilinx.com Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
c1e846b8ee
commit
df2a4d94f1
3 changed files with 7 additions and 2 deletions
|
@ -89,6 +89,7 @@ enum pm_ret_status {
|
|||
XST_PM_INVALID_NODE,
|
||||
XST_PM_DOUBLE_REQ,
|
||||
XST_PM_ABORT_SUSPEND,
|
||||
XST_PM_MULT_USER = 2008,
|
||||
};
|
||||
|
||||
enum pm_ioctl_id {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue