summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSarada Prasanna Garnayak <sgarna@codeaurora.org>2017-07-12 17:08:57 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-08-02 05:11:47 -0700
commit9c67942e152ce5891b4bf07709040e9773535eb9 (patch)
treed92163337acc65f618444e92a0276b33a16b730f /include/linux
parentcca1739db38ce7c40d518255404c86b6046f5a03 (diff)
wcnss: remove the wcn external gpio configuration support
The wcn external gpio configuration has moved to WLAN firmware code. To avoid the gpio resource request conflict and power offload failure between wcnss platform driver and WLAN firmware. Remove external gpio configuration from the wcnss platform driver. Change-Id: Iaef979437d9e48d66a5e9e2fc88bc5783fed7480 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/wcnss_wlan.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/wcnss_wlan.h b/include/linux/wcnss_wlan.h
index dbde018af4c6..e0c47f8b06bf 100644
--- a/include/linux/wcnss_wlan.h
+++ b/include/linux/wcnss_wlan.h
@@ -20,11 +20,6 @@
#define IRIS_REGULATORS 4
#define PRONTO_REGULATORS 3
-#define WCNSS_EXTERNAL_GPIO_NAME "qcom,wcn-external-gpio"
-#define WCNSS_EXTERNAL_GPIO_HIGH 1
-#define WCNSS_EXTERNAL_GPIO_LOW 0
-#define WCNSS_EXTERNAL_GPIO_DIR_OUT 1
-
enum wcnss_opcode {
WCNSS_WLAN_SWITCH_OFF = 0,
WCNSS_WLAN_SWITCH_ON,
@@ -44,7 +39,6 @@ struct vregs_level {
struct wcnss_wlan_config {
bool wcn_external_gpio_support;
- int wcn_external_gpio;
int use_48mhz_xo;
int is_pronto_vadc;
int is_pronto_v3;