diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2016-09-23 15:50:14 +0300 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2016-09-23 15:50:14 +0300 |
| commit | ccf1e9e1c0072088420aad42797986d6e74366b5 (patch) | |
| tree | 4576822ae245e96f0031c7448ac2b7376bd72e8d /include/linux | |
| parent | 31ebe86d6ef5f3280705e7ac9ab366f60f4e699c (diff) | |
| parent | 79b804cb6af4f128b2c53f0887c02537a7eb5824 (diff) | |
| download | linux-ccf1e9e1c0072088420aad42797986d6e74366b5.tar.xz | |
Merge branch 'gpio-irq-validmask' into devel
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/gpio/driver.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index 50882e09289b..420b837f2aa7 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -112,6 +112,10 @@ enum single_ended_mode { * initialization, provided by GPIO driver * @irq_parent: GPIO IRQ chip parent/bank linux irq number, * provided by GPIO driver + * @irq_need_valid_mask: If set core allocates @irq_valid_mask with all + * bits set to one + * @irq_valid_mask: If not %NULL holds bitmask of GPIOs which are valid to + * be included in IRQ domain of the chip * @lock_key: per GPIO IRQ chip lockdep class * * A gpio_chip can help platforms abstract various sources of GPIOs so @@ -190,6 +194,8 @@ struct gpio_chip { irq_flow_handler_t irq_handler; unsigned int irq_default_type; int irq_parent; + bool irq_need_valid_mask; + unsigned long *irq_valid_mask; struct lock_class_key *lock_key; #endif |
