From: Rakesh Pillai <pillair@qti.qualcomm.com> To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Govind Singh <govinds@qti.qualcomm.com>, Rakesh Pillai <pillair@qti.qualcomm.com> Subject: [PATCH v2 1/3] ath10k: Add SNOC bus type for WCN3990 target Date: Thu, 21 Dec 2017 21:35:20 +0530 [thread overview] Message-ID: <1513872322-26636-2-git-send-email-pillair@qti.qualcomm.com> (raw) In-Reply-To: <1513872322-26636-1-git-send-email-pillair@qti.qualcomm.com> From: Govind Singh <govinds@qti.qualcomm.com> WCN3990 is integrated chipset which uses system NOC. Add SNOC bus type and related definitions. Signed-off-by: Govind Singh <govinds@qti.qualcomm.com> Signed-off-by: Rakesh Pillai <pillair@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/core.c | 1 + drivers/net/wireless/ath/ath10k/core.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 042175a5653f..b6d5bad6f5ec 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -1551,6 +1551,7 @@ static void ath10k_core_get_fw_name(struct ath10k *ar, char *fw_name, break; case ATH10K_BUS_PCI: case ATH10K_BUS_AHB: + case ATH10K_BUS_SNOC: scnprintf(fw_name, fw_name_len, "%s-%d.bin", ATH10K_FW_FILE_BASE, fw_api); break; diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index 398cd3c57139..81285ab30a7d 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -92,6 +92,7 @@ enum ath10k_bus { ATH10K_BUS_AHB, ATH10K_BUS_SDIO, ATH10K_BUS_USB, + ATH10K_BUS_SNOC, }; static inline const char *ath10k_bus_str(enum ath10k_bus bus) @@ -105,6 +106,8 @@ static inline const char *ath10k_bus_str(enum ath10k_bus bus) return "sdio"; case ATH10K_BUS_USB: return "usb"; + case ATH10K_BUS_SNOC: + return "snoc"; } return "unknown"; -- 2.11.0
WARNING: multiple messages have this Message-ID (diff)
From: Rakesh Pillai <pillair@qti.qualcomm.com> To: ath10k@lists.infradead.org Cc: Govind Singh <govinds@qti.qualcomm.com>, linux-wireless@vger.kernel.org, Rakesh Pillai <pillair@qti.qualcomm.com> Subject: [PATCH v2 1/3] ath10k: Add SNOC bus type for WCN3990 target Date: Thu, 21 Dec 2017 21:35:20 +0530 [thread overview] Message-ID: <1513872322-26636-2-git-send-email-pillair@qti.qualcomm.com> (raw) In-Reply-To: <1513872322-26636-1-git-send-email-pillair@qti.qualcomm.com> From: Govind Singh <govinds@qti.qualcomm.com> WCN3990 is integrated chipset which uses system NOC. Add SNOC bus type and related definitions. Signed-off-by: Govind Singh <govinds@qti.qualcomm.com> Signed-off-by: Rakesh Pillai <pillair@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/core.c | 1 + drivers/net/wireless/ath/ath10k/core.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 042175a5653f..b6d5bad6f5ec 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -1551,6 +1551,7 @@ static void ath10k_core_get_fw_name(struct ath10k *ar, char *fw_name, break; case ATH10K_BUS_PCI: case ATH10K_BUS_AHB: + case ATH10K_BUS_SNOC: scnprintf(fw_name, fw_name_len, "%s-%d.bin", ATH10K_FW_FILE_BASE, fw_api); break; diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index 398cd3c57139..81285ab30a7d 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -92,6 +92,7 @@ enum ath10k_bus { ATH10K_BUS_AHB, ATH10K_BUS_SDIO, ATH10K_BUS_USB, + ATH10K_BUS_SNOC, }; static inline const char *ath10k_bus_str(enum ath10k_bus bus) @@ -105,6 +106,8 @@ static inline const char *ath10k_bus_str(enum ath10k_bus bus) return "sdio"; case ATH10K_BUS_USB: return "usb"; + case ATH10K_BUS_SNOC: + return "snoc"; } return "unknown"; -- 2.11.0 _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2017-12-21 16:05 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-12-21 16:05 [PATCH v2 0/3] Core changes for wcn3990 Rakesh Pillai 2017-12-21 16:05 ` Rakesh Pillai 2017-12-21 16:05 ` Rakesh Pillai [this message] 2017-12-21 16:05 ` [PATCH v2 1/3] ath10k: Add SNOC bus type for WCN3990 target Rakesh Pillai 2017-12-27 10:09 ` [v2,1/3] " Kalle Valo 2017-12-27 10:09 ` Kalle Valo 2017-12-21 16:05 ` [PATCH v2 2/3] ath10k: Add debug mask for SNOC bus type Rakesh Pillai 2017-12-21 16:05 ` Rakesh Pillai 2017-12-21 16:05 ` [PATCH v2 3/3] ath10k: Add fw feature flag for non-bmi firmware load Rakesh Pillai 2017-12-21 16:05 ` Rakesh Pillai 2017-12-21 16:18 ` Rakesh Pillai 2017-12-21 16:18 ` Rakesh Pillai 2017-12-22 10:05 ` Kalle Valo 2017-12-22 10:05 ` Kalle Valo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1513872322-26636-2-git-send-email-pillair@qti.qualcomm.com \ --to=pillair@qti.qualcomm.com \ --cc=ath10k@lists.infradead.org \ --cc=govinds@qti.qualcomm.com \ --cc=linux-wireless@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.