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

From: Peng Fan (OSS)
Date: Tue Sep 12 2023 - 22:01:09 EST


Patch 1 & 2 are for common code.
Patch 3 is almost same as https://lore.kernel.org/all/20230814104127.1929-8-peng.fan@xxxxxxxxxxx/
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,
--
Peng Fan <peng.fan@xxxxxxx>