[GIT PULL] MHI changes for v6.10

Manivannan Sadhasivam manivannan.sadhasivam at linaro.org
Tue Apr 30 21:34:50 PDT 2024


The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git tags/mhi-for-6.10

for you to fetch changes up to 48f98496b1de132f2e056605b5330209136066dc:

  bus: mhi: host: pci_generic: Add generic edl_trigger to allow devices to enter EDL mode (2024-04-25 20:25:45 +0530)

----------------------------------------------------------------
MHI Host
========

- Added a new API mhi_power_down_keep_dev() to not destroy the struct dev
  associated with the MHI channels during MHI power down. This is useful in
  scenarios such as system suspend/hibernation where the probability of
  channels coming back is very high. So the PM maintainer suggested not to
  destroy the struct dev in those cases.

  This API is introduced for fixing the failure reported in the ath11k driver
  during resume from system suspend.

  NOTE: Due to the API dependency, the patch adding the API is pushed to an
  immutable branch (mhi-immutable) and merged into both mhi and ath trees. But
  the merge commit is not visible in mhi tree due to git being smart with
  'fast-forward'.

- Added an optional sysfs entry to force the MHI devices to enter the Emergency
  Download (EDL) mode to download the firmware from host.

- Added EDL mode support for Qcom SDX75/65/55 modems as per the MHI spec v1.2,
  Chapter 13.2. This involves writing a cookie to the EDL doorbell registers and
  then triggering the device reset from host.

----------------------------------------------------------------
Baochen Qiang (1):
      bus: mhi: host: Add mhi_power_down_keep_dev() API to support system suspend/hibernation

Qiang Yu (3):
      bus: mhi: host: Add sysfs entry to force device to enter EDL
      bus: mhi: host: Add a new API for getting channel doorbell offset
      bus: mhi: host: pci_generic: Add generic edl_trigger to allow devices to enter EDL mode

 Documentation/ABI/stable/sysfs-bus-mhi | 13 +++++++++++++
 drivers/bus/mhi/host/init.c            | 41 ++++++++++++++++++++++++++++++++++++-----
 drivers/bus/mhi/host/internal.h        |  4 +++-
 drivers/bus/mhi/host/main.c            | 16 ++++++++++++++++
 drivers/bus/mhi/host/pci_generic.c     | 45 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/bus/mhi/host/pm.c              | 42 ++++++++++++++++++++++++++++++++++++------
 include/linux/mhi.h                    | 29 ++++++++++++++++++++++++++++-
 7 files changed, 177 insertions(+), 13 deletions(-)

-- 
மணிவண்ணன் சதாசிவம்



More information about the ath11k mailing list