]> git.ipfire.org Git - thirdparty/linux.git/commit
i3c: mipi-i3c-hci: Add optional System Suspend support
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 23 Jan 2026 06:33:24 +0000 (08:33 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 30 Jan 2026 23:02:24 +0000 (00:02 +0100)
commitc3357bdd9be9cd9e34e46fe100e1d425503d4acf
tree886d4e1e4e36ec0339b265d15923ed77ec0c2348
parentc481ef12e713fb7c292d04f53b3532ac0804ab3d
i3c: mipi-i3c-hci: Add optional System Suspend support

Add system suspend callbacks.  Implement them by forcing runtime PM.
Consequently bail out if Runtime PM is not allowed.

On resume from System Suspend (suspend to RAM), rerun Dynamic Address
Assignment to restore addresses for devices that may have lost power.

On resume from System Hibernation (suspend to disk), use the new
i3c_master_do_daa_ext() helper with 'rstdaa' set to true, which
additionally handles the case where devices are assigned different dynamic
addresses after a hibernation boot.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260123063325.8210-3-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/core.c