summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-08-26 22:22:54 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-26 22:22:54 -0700
commitfad851b94a7eb25cf0ef6ee31fc41aa69c4d2089 (patch)
treef7d0f8016b7f0bc2077620706dccdcf7bf1737c1 /include
parent9a7c65cabed11146b6522bcf13574eb061e58a64 (diff)
parent3136a40d03729a8f7fe33ef869f8c98302b782dc (diff)
Merge "cnss: Provide API to CLD Driver to control SPDT GPIO"
Diffstat (limited to 'include')
-rw-r--r--include/net/cnss.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/cnss.h b/include/net/cnss.h
index ab9b50100504..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,
@@ -242,4 +244,7 @@ extern void cnss_common_schedule_recovery_work(struct device *dev);
extern int cnss_common_set_wlan_mac_address(struct device *dev, const u8 *in,
uint32_t len);
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_ */