diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/wcnss_wlan.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/wcnss_wlan.h b/include/linux/wcnss_wlan.h index 78ae70a92753..dbde018af4c6 100644 --- a/include/linux/wcnss_wlan.h +++ b/include/linux/wcnss_wlan.h @@ -20,6 +20,11 @@ #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, @@ -38,6 +43,8 @@ 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; |
