diff options
author | Hiago De Franco <hiago.franco@toradex.com> | 2025-06-29 14:25:10 -0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-07-16 20:54:27 +0200 |
commit | 09813cde376d9d8f30eaf761534532101a0a7755 (patch) | |
tree | 2de0ea0f93736410f69bff657d52e2791e806720 /scripts/lib/kdoc/kdoc_output.py | |
parent | fcddcb7e8f38a40db99f87a962c5d0a153a76566 (diff) |
pmdomain: core: introduce dev_pm_genpd_is_on()
This helper function returns the current power status of a given generic
power domain.
As example, remoteproc/imx_rproc.c can now use this function to check
the power status of the remote core to properly set "attached" or
"offline" modes.
Suggested-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Link: https://lore.kernel.org/r/20250629172512.14857-2-hiagofranco@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions