]> git.ipfire.org Git - thirdparty/linux.git/commit
i3c: mipi-i3c-hci: Add optional Runtime PM support
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 13 Jan 2026 07:27:01 +0000 (09:27 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Jan 2026 16:21:10 +0000 (17:21 +0100)
commitb9a15012a14520b2b006ecb770f32eb9a57d4b8b
tree0e86cbb156ac9bb8288ab4bc8b37015e8b1cc345
parent990c149c61ee45da4fb6372e6b2fdd9808414e7a
i3c: mipi-i3c-hci: Add optional Runtime PM support

Implement optional Runtime PM support for the MIPI I3C HCI driver.
Introduce runtime suspend and resume callbacks to manage bus state and
restore hardware configuration after resume.  Optionally enable autosuspend
with a default delay of 1 second, and add helper functions to control
Runtime PM during probe and remove.

Read quirks from i3c_hci_driver_ids[] and set new quirk
HCI_QUIRK_RPM_ALLOWED for intel-lpss-i3c devices to enable runtime PM for
them.

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