public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add sysfs entry to EDL mode
@ 2024-04-15  8:49 Qiang Yu
  2024-04-15  8:49 ` [PATCH v3 1/3] bus: mhi: host: Add sysfs entry to force device to enter EDL Qiang Yu
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Qiang Yu @ 2024-04-15  8:49 UTC (permalink / raw)
  To: mani, quic_jhugo
  Cc: mhi, linux-arm-msm, linux-kernel, quic_cang, quic_mrana, Qiang Yu

Add EDL sysfs entry for mhi controller that provides edl_trigger callback.
Add mhi_pci_generic_edl_trigger for qualcomm sdx55,sdx65 and sdx75 as
edl_trigger callback.

v2->v3:
1. Update Documentation/ABI/stable/sysfs-bus-mhi with description of
   force_edl sysfs entry.

2. Add comments about edl_trigger callback in mhi_controller struct.

3. Follow reverse christmas tree in mhi_pci_generic_edl_trigger.

4. Add a new API in MHI to allow controller to get CHDB address and avoid
   duplicating the definition of CHDBOFF.

v1->v2:
1. Move all process needed by qualcomm sdx55,sdx65,sdx75 to enter EDL into
   mhi_pci_generic_edl_trigger() as the callback to edl_trigger.

2. MHI stack creates EDL sysfs entry to invoke edl_trigger callback so
   that devices need different mechanism to enter EDL can provide its own
   edl_trigger callabck .

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 address
  bus: mhi: host: pci_generic: Add edl callback to enter EDL

 Documentation/ABI/stable/sysfs-bus-mhi | 11 ++++++++
 drivers/bus/mhi/host/init.c            | 35 +++++++++++++++++++++++++
 drivers/bus/mhi/host/main.c            | 17 ++++++++++++
 drivers/bus/mhi/host/pci_generic.c     | 47 ++++++++++++++++++++++++++++++++++
 include/linux/mhi.h                    |  9 +++++++
 5 files changed, 119 insertions(+)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-04-22 12:14 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-15  8:49 [PATCH v3 0/3] Add sysfs entry to EDL mode Qiang Yu
2024-04-15  8:49 ` [PATCH v3 1/3] bus: mhi: host: Add sysfs entry to force device to enter EDL Qiang Yu
2024-04-15 11:56   ` Manivannan Sadhasivam
2024-04-16  5:45     ` Qiang Yu
2024-04-22  7:24       ` Manivannan Sadhasivam
2024-04-22 12:13         ` Qiang Yu
2024-04-15  8:49 ` [PATCH v3 2/3] bus: mhi: host: Add a new API for getting channel doorbell address Qiang Yu
2024-04-15 12:02   ` Manivannan Sadhasivam
2024-04-15  8:49 ` [PATCH v3 3/3] bus: mhi: host: pci_generic: Add edl callback to enter EDL Qiang Yu
2024-04-15 12:12   ` Manivannan Sadhasivam
2024-04-15 23:53   ` Mayank Rana
2024-04-16  3:50     ` Qiang Yu
2024-04-16 18:12       ` Mayank Rana
2024-04-17  3:01         ` Qiang Yu
2024-04-17  4:41           ` Qiang Yu
2024-04-18 17:37             ` Mayank Rana
2024-04-22  8:08             ` Manivannan Sadhasivam
2024-04-22 12:06               ` Qiang Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox