Re: [PATCH] misc: sram: Enable runtime PM
From: Arnd Bergmann
Date: Mon Nov 16 2026 - 02:19:26 EST
On Mon, Nov 16, 2026, at 00:02, Linus Walleij wrote:
> Enable runtime PM for generic SRAM devices after probe has initialized
> the SRAM mappings and partitions.
>
> This lets SRAM devices with attached power domains be managed through
> runtime PM references from their consumers.
>
> Keep sysfs-exported SRAM and SRAM requiring platform initialization
> powered while the driver is bound. This preserves exported contents
> and avoids unpowered sysfs accesses or an unsupported resume sequence.
>
> Reviewed-by: Frank Li <Frank.Li@xxxxxxx>
> Signed-off-by: Linus Walleij <linusw@xxxxxxxxxx>
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>