[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260204111511.78626-1-adrian.hunter@intel.com>
Date: Wed, 4 Feb 2026 13:15:05 +0200
From: Adrian Hunter <adrian.hunter@...el.com>
To: alexandre.belloni@...tlin.com
Cc: Frank.Li@....com,
rafael@...nel.org,
linux-i3c@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: [PATCH V2 0/6] i3c: mipi-i3c-hci-pci: Enable IBI while runtime suspended for Intel controllers
Hi
Changes in V2:
i3c: mipi-i3c-hci-pci: Set d3hot_delay to 0 for Intel controllers
Add Frank's Rev'd-by
i3c: master: Allow controller drivers to select runtime PM device
Patch dropped
i3c: master: Mark last_busy on IBI when runtime PM is allowed
Adjusted slightly for earlier changes
i3c: mipi-i3c-hci: Allow parent to manage runtime PM
For HCI_QUIRK_RPM_PARENT_MANAGED case, change from
disabling runtime PM to instead causing the runtime PM
callbacks to do nothing
i3c: mipi-i3c-hci-pci: Add optional ability to manage child runtime PM
Do not enable autosuspend.
Callbacks for parent-managed invocation were renamed
from i3c_hci_runtime_suspend to i3c_hci_rpm_suspend and
from i3c_hci_runtime_resume to i3c_hci_rpm_resume.
Amend commit message slightly.
i3c: mipi-i3c-hci-pci: Enable IBI while runtime suspended for Intel controllers
Retain HCI_QUIRK_RPM_ALLOWED
Amend commit message accordingly
Here are patches related to enabling IBI while runtime suspended for Intel
controllers.
Intel LPSS I3C controllers can wake from runtime suspend to receive
in-band interrupts (IBIs).
It is non-trivial to implement because the parent PCI device has 2 I3C bus
instances (MIPI I3C HCI Multi-Bus Instance capability) represented by
platform devices with a separate driver, but the IBI-wakeup is shared by
both, which means runtime PM has to be managed by the parent PCI driver.
To make that work, the PCI driver handles runtime PM, but leverages the
mipi-i3c-hci platform driver's functionality for saving and restoring
controller state.
Adrian Hunter (6):
i3c: mipi-i3c-hci-pci: Set d3hot_delay to 0 for Intel controllers
i3c: master: Mark last_busy on IBI when runtime PM is allowed
i3c: mipi-i3c-hci: Add quirk to allow IBI while runtime suspended
i3c: mipi-i3c-hci: Allow parent to manage runtime PM
i3c: mipi-i3c-hci-pci: Add optional ability to manage child runtime PM
i3c: mipi-i3c-hci-pci: Enable IBI while runtime suspended for Intel controllers
drivers/i3c/master.c | 5 +
drivers/i3c/master/mipi-i3c-hci/core.c | 35 +++++-
drivers/i3c/master/mipi-i3c-hci/hci.h | 7 ++
drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c | 138 +++++++++++++++++++++
4 files changed, 180 insertions(+), 5 deletions(-)
Regards
Adrian
Powered by blists - more mailing lists