Skip to content

genpd: imx8: support multiple states

Peng Fan (OSS) linux-arm-kernel linux-pm lkml 1 version New

Get series with b4
b4 am [email protected] change-id 20230913-multiple-state-scu-8ddcb0373d3c

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PM / Domains: Support enter deepest state for multiple states domainsdrivers/base/power/domain.c include/linux/pm_domain.h+18 -10 replies
2/3PM / Domains: Choose the deepest state to enter if no devices using itdrivers/base/power/domain.c+4 -00 replies
3/3genpd: imx: scu-pd: add multi states supportdrivers/genpd/imx/scu-pd.c+40 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] genpd: imx8: support multiple states

Patch 1 & 2 are for common code.
Patch 3 is almost same as https://lore.kernel.org/all/[email protected]/
For patch 3, I thought of using QoS constraint in the clk-scu driver,
but the clk-scu not support runtime pm, and using simple_qos_governer
would introduce complexity for current SCU Power domain, and the SCU
power domain not only used by clk-scu, but also used by other devices.
So keep current design as NXP downstream which has passed several
rounds LTS releases.

Patch 1&2 has been in NXP LTS for quite some time and pass through several releases. patch 3 is an update of NXP downstream patch.

---
Dong Aisheng (2):
PM / Domains: Support enter deepest state for multiple states domains PM / Domains: Choose the deepest state to enter if no devices using it

Peng Fan (1):
genpd: imx: scu-pd: add multi states support

 drivers/base/power/domain.c | 22 +++++++++++++++++++++-
 drivers/genpd/imx/scu-pd.c  | 42 ++++++++++++++++++++++++++++++++++++++++--
 include/linux/pm_domain.h   |  1 +
 3 files changed, 62 insertions(+), 3 deletions(-)

---
base-commit: 3c13c772fc233a10342c8e1605ff0855dfdf0c89
change-id: 20230913-multiple-state-scu-8ddcb0373d3c

Best regards,

Signature · 1 line
Peng Fan <[email protected]>