diff options
author | 2024-12-16 21:02:01 +0000 | |
---|---|---|
committer | 2025-02-03 11:05:34 +0100 | |
commit | f6f73b891bf6beff069fcacc7b4a796e1009bf26 (patch) | |
tree | df1bf25ee278150784bdba0a03a5f058ee73f4fa /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 6.14-rc1 (diff) | |
download | wireguard-linux-f6f73b891bf6beff069fcacc7b4a796e1009bf26.tar.xz wireguard-linux-f6f73b891bf6beff069fcacc7b4a796e1009bf26.zip |
clk: renesas: rzg2l-cpg: Refactor Runtime PM clock validation
Refactor rzg2l_cpg_attach_dev to delegate clock validation for Runtime PM
to the updated rzg2l_cpg_is_pm_clk function. Ensure validation of clocks
associated with the power domain while excluding external and core clocks.
Prevent incorrect Runtime PM management for clocks outside the domain's
scope.
Update rzg2l_cpg_is_pm_clk to operate on a per-power-domain basis. Verify
clkspec.np against the domain's device node, check argument validity, and
validate clock type (CPG_MOD). Use the no_pm_mod_clks array to exclude
specific clocks from PM management.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20241216210201.239855-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions