summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorKomal Seelam <kseelam@codeaurora.org>2016-05-10 14:36:50 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-24 04:42:47 -0700
commit3136a40d03729a8f7fe33ef869f8c98302b782dc (patch)
tree8292a17e6826f14783238138ec3d430617c6c5ae /include/net
parent9e5835025b74a8b3d66135fe1a8a2ebf6bf631f5 (diff)
cnss: Provide API to CLD Driver to control SPDT GPIO
Antenna Sharing GPIO need to be toggled between QCA PCIe and SDIO devices based on the requirement. If SDIO device is to be operational, this GPIO should be turned ON high. Expose API to CLD Driver to control this GPIO for dual-wifi platforms. CRs-Fixed: 1013494 Change-Id: I271ba273a4c70717f066d219ff02e8f0f56e2ac3 Signed-off-by: Komal Kumar <kseelam@codeaurora.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cnss.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/cnss.h b/include/net/cnss.h
index 3206b8d23bae..5508d5e46d18 100644
--- a/include/net/cnss.h
+++ b/include/net/cnss.h
@@ -19,6 +19,8 @@
#ifdef CONFIG_CNSS
#define CNSS_MAX_FILE_NAME 20
+#define PINCTRL_SLEEP 0
+#define PINCTRL_ACTIVE 1
enum cnss_bus_width_type {
CNSS_BUS_WIDTH_NONE,
@@ -244,4 +246,5 @@ extern int cnss_common_set_wlan_mac_address(struct device *dev, const u8 *in,
extern u8 *cnss_common_get_wlan_mac_address(struct device *dev, uint32_t *num);
extern int cnss_power_up(struct device *dev);
extern int cnss_power_down(struct device *dev);
+extern int cnss_sdio_configure_spdt(bool state);
#endif /* _NET_CNSS_H_ */