From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from sabertooth01.qualcomm.com ([65.197.215.72]:5856 "EHLO sabertooth01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754123AbcA0J4X (ORCPT ); Wed, 27 Jan 2016 04:56:23 -0500 From: Raja Mani To: CC: , Raja Mani Subject: [PATCH 00/12] add ahb (qca4019) support Date: Wed, 27 Jan 2016 15:24:21 +0530 Message-ID: <1453888473-2879-1-git-send-email-rmani@qti.qualcomm.com> (sfid-20160127_105822_006241_60E8727E) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from sabertooth02.qualcomm.com ([65.197.215.38]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOMqB-0003F3-S7 for ath10k@lists.infradead.org; Wed, 27 Jan 2016 09:56:45 +0000 From: Raja Mani Subject: [PATCH 00/12] add ahb (qca4019) support Date: Wed, 27 Jan 2016 15:24:21 +0530 Message-ID: <1453888473-2879-1-git-send-email-rmani@qti.qualcomm.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Raja Mani 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 _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k