Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add sysfs entry to EDL mode
@ 2024-04-11  3:15 Qiang Yu
  2024-04-11  3:15 ` [PATCH v2 1/2] bus: mhi: host: Add sysfs entry to force device to enter EDL Qiang Yu
  2024-04-11  3:15 ` [PATCH v2 2/2] bus: mhi: host: pci_generic: Add edl callback " Qiang Yu
  0 siblings, 2 replies; 9+ messages in thread
From: Qiang Yu @ 2024-04-11  3:15 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.

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 (2):
  bus: mhi: host: Add sysfs entry to force device to enter EDL
  bus: mhi: host: pci_generic: Add edl callback to enter EDL

 drivers/bus/mhi/host/init.c        | 35 ++++++++++++++++++++++++++
 drivers/bus/mhi/host/pci_generic.c | 50 ++++++++++++++++++++++++++++++++++++++
 include/linux/mhi.h                |  1 +
 3 files changed, 86 insertions(+)

-- 
2.7.4


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

end of thread, other threads:[~2024-04-15  5:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11  3:15 [PATCH v2 0/2] Add sysfs entry to EDL mode Qiang Yu
2024-04-11  3:15 ` [PATCH v2 1/2] bus: mhi: host: Add sysfs entry to force device to enter EDL Qiang Yu
2024-04-11 14:41   ` Jeffrey Hugo
2024-04-11  3:15 ` [PATCH v2 2/2] bus: mhi: host: pci_generic: Add edl callback " Qiang Yu
2024-04-11 14:46   ` Jeffrey Hugo
2024-04-12  7:13     ` Qiang Yu
2024-04-12 14:16       ` Jeffrey Hugo
2024-04-12 17:09         ` Manivannan Sadhasivam
2024-04-15  5:48           ` Qiang Yu

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