diff options
author | Pedro Perez de Heredia <pedro.perez@digi.com> | 2012-02-05 14:06:32 +0100 |
---|---|---|
committer | Pedro Perez de Heredia <pedro.perez@digi.com> | 2012-02-05 14:06:32 +0100 |
commit | 0e01b35db88924d161cf6652d5f21d2d612addd4 (patch) | |
tree | 191c810cd830de2c19ce6161a2209c542e58f810 /include | |
parent | 0796dca2807079d6672a8e864d10d7ab5ac6b4eb (diff) |
ccxmx53: add pmic gpio support to reset wifi (#41841)
This commit enables the support for the gpios of the da9053.
This allows to manupulate that gpios (for instance in the
wireless drivers, where the wifi power enable comes from a
pmic gpio).
Not doing a power cycling on the redpine module was causing
some detection issues on some ccwmx53 modules.
Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/da9052/gpio.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/include/linux/mfd/da9052/gpio.h b/include/linux/mfd/da9052/gpio.h index 68a24ad9d828..8a7c8eb20c19 100644 --- a/include/linux/mfd/da9052/gpio.h +++ b/include/linux/mfd/da9052/gpio.h @@ -50,16 +50,15 @@ #define DA9052_GPIO_PIN_6 DA9052_GPIO_CONFIG_TSI #define DA9052_GPIO_PIN_7 DA9052_GPIO_CONFIG_TSI -#define DA9052_GPIO_PIN_8 DA9052_GPIO_CONFIG -#define DA9052_GPIO_PIN_9 DA9052_GPIO_CONFIG -#define DA9052_GPIO_PIN_10 DA9052_GPIO_CONFIG -#define DA9052_GPIO_PIN_11 DA9052_GPIO_CONFIG +#define DA9052_GPIO_PIN_8 0 +#define DA9052_GPIO_PIN_9 0 +#define DA9052_GPIO_PIN_10 0 +#define DA9052_GPIO_PIN_11 0 +#define DA9052_GPIO_PIN_12 0 +#define DA9052_GPIO_PIN_13 0 +#define DA9052_GPIO_PIN_14 0 +#define DA9052_GPIO_PIN_15 0 -#define DA9052_GPIO_PIN_12 DA9052_GPIO_CONFIG -#define DA9052_GPIO_PIN_13 DA9052_GPIO_CONFIG - -#define DA9052_GPIO_PIN_14 DA9052_GPIO_CONFIG -#define DA9052_GPIO_PIN_15 DA9052_GPIO_CONFIG enum ip_op_type { ALTERNATE_FUNCTIONALITY = 0, |