mbox series

[v2,0/2] Add QRTR MHI client driver

Message ID 20200507125306.32157-1-manivannan.sadhasivam@linaro.org (mailing list archive)
Headers show
Series Add QRTR MHI client driver | expand

Message

Manivannan Sadhasivam May 7, 2020, 12:53 p.m. UTC
Hi Dave,

Here is the series adding MHI client driver support to Qualcomm IPC router
protocol. MHI is a newly added bus to kernel which is used to communicate to
external modems over a physical interface like PCI-E. This driver is used to
transfer the QMI messages between the host processor and external modems over
the "IPCR" channel.

For QRTR, this driver is just another driver acting as a transport layer like
SMD.

Currently this driver is needed to control the QCA6390 WLAN device from ath11k.
The ath11k MHI controller driver will take care of booting up QCA6390 and
bringing it to operating state. Later, this driver will be used to transfer QMI
messages over the MHI-IPCR channel.

The second patch of this series removes the ARCH_QCOM dependency for QRTR. This
is needed because the QRTR driver will be used with x86 machines as well to talk
to devices like QCA6390.

Thanks,
Mani

Changes in v2:

* Added cover letter
* Removed casting of void pointer.

Manivannan Sadhasivam (2):
  net: qrtr: Add MHI transport layer
  net: qrtr: Do not depend on ARCH_QCOM

 net/qrtr/Kconfig  |   8 ++-
 net/qrtr/Makefile |   2 +
 net/qrtr/mhi.c    | 127 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 136 insertions(+), 1 deletion(-)
 create mode 100644 net/qrtr/mhi.c

Comments

David Miller May 7, 2020, 8:21 p.m. UTC | #1
From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Date: Thu,  7 May 2020 18:23:04 +0530

> Here is the series adding MHI client driver support to Qualcomm IPC router
> protocol. MHI is a newly added bus to kernel which is used to communicate to
> external modems over a physical interface like PCI-E. This driver is used to
> transfer the QMI messages between the host processor and external modems over
> the "IPCR" channel.
> 
> For QRTR, this driver is just another driver acting as a transport layer like
> SMD.
> 
> Currently this driver is needed to control the QCA6390 WLAN device from ath11k.
> The ath11k MHI controller driver will take care of booting up QCA6390 and
> bringing it to operating state. Later, this driver will be used to transfer QMI
> messages over the MHI-IPCR channel.
> 
> The second patch of this series removes the ARCH_QCOM dependency for QRTR. This
> is needed because the QRTR driver will be used with x86 machines as well to talk
> to devices like QCA6390.

Series applied to net-next, thanks.