[0/3] pmdomain: imx: Keep the domains left on by the bootloader

Message ID 20261121130614.2482656-1-dario.binacchi@amarulasolutions.com
Headers
Series pmdomain: imx: Keep the domains left on by the bootloader |

Message

Dario Binacchi Nov. 21, 2026, 1:06 p.m. UTC
The i.MX8M power domain drivers register all their domains as off.
A domain left on by the bootloader, e.g. to show a splash screen, is
then powered up again by its first consumer, which on the i.MX8MN
turns the display off and hangs the system.

This series reads the state of the domains from the hardware, so that
the ones left on are kept on until their consumers have probed.

Tested on i.MX8MN (BSH SMM S2 PRO) and i.MX8MP (Engicam i.Core MX8M
Plus Fast Ethernet C.TOUCH 2.0).


Dario Binacchi (3):
  pmdomain: imx: gpcv2: Keep the domains left on by the bootloader
  pmdomain: imx8m-blk-ctrl: Keep the domains left on by the bootloader
  pmdomain: imx8m-blk-ctrl: Hold boot-on domain clocks until sync_state

 drivers/pmdomain/imx/gpcv2.c          |  61 +++++++++++++-
 drivers/pmdomain/imx/imx8m-blk-ctrl.c | 115 +++++++++++++++++++++++++-
 2 files changed, 173 insertions(+), 3 deletions(-)

---
base-commit: d0f871bfb831705d9f55479f5b2b40f636ea7b16
branch: imx-pmdomain-boot-on

-- 
2.43.0