[PATCH 00/12] add ahb (qca4019) support

Raja Mani rmani at qti.qualcomm.com
Wed Jan 27 01:54:21 PST 2016


This patch series attempts to add ahb support (qca4019) in ath10k.
All ahb related ops are grouped and kept in new file called ahb.c/ahb.h 
and will get compiled/linked to ath10k_pci.ko based on kernel config flag
CONFIG_ATH10K_AHB flag. Most of function in pci.c file are reusable and
called as it's without changing function name (ath10k_pci_*) in ahb.c.

Still, some more work needs to be done in ath10k driver to make ahb
functional (qca4019). Hence, i disabled device probing in ahb module
for the time being. I'll post follow patch soon to enable it along
with missing patches.

The patch to update device tree bindings document with list of DT node
attributes referred in this patch series is already committed in ath.git,

      https://patchwork.kernel.org/patch/8022221/

Raja Mani (12):
  ath10k: make some of ath10k_pci_* func reusable
  ath10k: make ath10k_pci_read32/write32() ops more generic
  ath10k: pull reusable code from pci probe and remove for ahb
  ath10k: add basic skeleton to support ahb
  ath10k: include qca4019 register map table
  ath10k: add helper functions in ahb.c for reg rd/wr
  ath10k: add clock ctrl related functions in ahb
  ath10k: add reset ctrl related functions in ahb
  ath10k: add chip and bus halt logic in ahb
  ath10k: include irq related functions in ahb
  ath10k: add resource init and deinit in ahb
  ath10k: expose hif ops for ahb

 drivers/net/wireless/ath/ath10k/Kconfig  |   6 +
 drivers/net/wireless/ath/ath10k/Makefile |   2 +
 drivers/net/wireless/ath/ath10k/ahb.c    | 933 +++++++++++++++++++++++++++++++
 drivers/net/wireless/ath/ath10k/ahb.h    |  87 +++
 drivers/net/wireless/ath/ath10k/core.c   |   4 +
 drivers/net/wireless/ath/ath10k/core.h   |   3 +
 drivers/net/wireless/ath/ath10k/debug.h  |   1 +
 drivers/net/wireless/ath/ath10k/hw.c     |  39 ++
 drivers/net/wireless/ath/ath10k/hw.h     |   5 +
 drivers/net/wireless/ath/ath10k/pci.c    | 169 ++++--
 drivers/net/wireless/ath/ath10k/pci.h    |  49 ++
 11 files changed, 1241 insertions(+), 57 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath10k/ahb.c
 create mode 100644 drivers/net/wireless/ath/ath10k/ahb.h

-- 
1.8.1.2




More information about the ath10k mailing list