mbox series

[0/4] Add PCI client driver for QCA6390 chipset

Message ID 20200508085730.23272-1-govinds@codeaurora.org (mailing list archive)
Headers show
Series Add PCI client driver for QCA6390 chipset | expand

Message

Govind Singh May 8, 2020, 8:57 a.m. UTC
QCA6390 chipsets is PCI based 11ax chipset to be supported in ath11k.

Add PCI client driver for QCA6390 chipset with enumeration/resource initialization/msi vector mapping.
With these changes driver is splitted in two modules(bus layer module/ common core module).
This is required due to following reasons.

 1) PCI based transport layer for QCA6390 chipsets.
 2) FW loading based on MHI protocol unlike rproc in IPQ8074A.
 3) MSI based data path/CE/fw RAM dump interrupt.
 4) CE assignments is different.
 5) Different boot up sequence due to requirement of voltage regulators/bootstrap
    pinctrls for QCA6390.
 6) Clear separation in bus level operation.


For AHB based devices:
ath11k_ahb.ko
ath11k_ko

For PCI based devices:
ath11k_pci.ko
ath11k.ko

Tested HW:
	IPQ8074A
	X86 + QCA6390: pci probe/resource setup

Govind Singh (4):
  ath11k: Add PCI client driver for QCA6390 chipset
  ath11k: setup pci resource for QCA6390 target
  ath11k: Add msi config init for QCA6390
  ath11k: Register mhi controller device for qca6390

 drivers/net/wireless/ath/ath11k/Kconfig  |  13 +-
 drivers/net/wireless/ath/ath11k/Makefile |   7 +-
 drivers/net/wireless/ath/ath11k/ahb.c    |  71 -----
 drivers/net/wireless/ath/ath11k/ce.c     |   2 +
 drivers/net/wireless/ath/ath11k/core.c   |   7 +
 drivers/net/wireless/ath/ath11k/core.h   |  11 +-
 drivers/net/wireless/ath/ath11k/debug.c  |   6 +-
 drivers/net/wireless/ath/ath11k/debug.h  |   1 +
 drivers/net/wireless/ath/ath11k/dp.c     |   1 +
 drivers/net/wireless/ath/ath11k/hal.c    |   1 +
 drivers/net/wireless/ath/ath11k/hif.h    |  77 ++++-
 drivers/net/wireless/ath/ath11k/mhi.c    | 379 ++++++++++++++++++++++
 drivers/net/wireless/ath/ath11k/mhi.h    |  28 ++
 drivers/net/wireless/ath/ath11k/pci.c    | 385 +++++++++++++++++++++++
 drivers/net/wireless/ath/ath11k/pci.h    |  49 +++
 15 files changed, 954 insertions(+), 84 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath11k/mhi.c
 create mode 100644 drivers/net/wireless/ath/ath11k/mhi.h
 create mode 100644 drivers/net/wireless/ath/ath11k/pci.c
 create mode 100644 drivers/net/wireless/ath/ath11k/pci.h