[PATCH v4 0/4] pmdomain: imx: Keep the domains left on by the bootloader
Ulf Hansson
ulf.hansson at oss.qualcomm.com
Thu Nov 26 05:32:06 PST 2026
On Sun, Nov 22, 2026 at 9:51 PM Dario Binacchi
<dario.binacchi at amarulasolutions.com> wrote:
>
> 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.
>
> The first patch fixes an error path of the blk-ctrl probe. The clocks
> held by the last patch are released at sync_state, so they stay on
> until all the consumers of the blk-ctrl have probed.
>
> Tested on i.MX8MN (BSH SMM S2 PRO).
>
> Changes in v4:
> - Register the power notifier before powering up the bus domain
>
> Changes in v3:
> - Add Reported-by and Closes tags
> - Drop the runtime PM reference synchronously in the probe error path
> - Keep the bus domain on while the state of the domains is read
> - Remove the domains before releasing their boot-on references
>
> Changes in v2:
> - New patch
> - Release the resources of the domains left on when the driver is
> removed
> - Take the references once the probe can no longer be deferred
> - Clear the boot-on state when the domain is powered off
> - Release the references when the driver is removed
> - Rebase on the changes of the previous patch
>
> Dario Binacchi (4):
> pmdomain: imx8m-blk-ctrl: Remove the power notifier on probe failure
> 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 | 77 ++++++++++++-
> drivers/pmdomain/imx/imx8m-blk-ctrl.c | 156 ++++++++++++++++++++++++--
> 2 files changed, 223 insertions(+), 10 deletions(-)
>
> ---
> base-commit: d0f871bfb831705d9f55479f5b2b40f636ea7b16
> branch: imx-pmdomain-boot-on-v4
>
> --
> 2.43.0
>
I started by applying patch1 for fixes and by adding a stable tag for
it. Deferring the remaining three to conclude on the reviews.
Kind regards
Uffe
More information about the linux-arm-kernel
mailing list