diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2016-09-23 08:51:18 -0400 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2016-09-23 08:51:18 -0400 |
| commit | 22a5db98a30ea734c29056b0d59cb4fe2a383bc2 (patch) | |
| tree | d1d5b3ee914e95f00b917ebf48b59fe8331a5734 /include/linux/gpio | |
| parent | 9132ce450bd141cd8c5776b41e90f146cae4bc3b (diff) | |
| parent | 79b804cb6af4f128b2c53f0887c02537a7eb5824 (diff) | |
Merge branch 'gpio-irq-validmask' of /home/linus/linux-pinctrl into devel
Diffstat (limited to 'include/linux/gpio')
| -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 216e6f275aa8..1f0be7213e6d 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h | |||
| @@ -112,6 +112,10 @@ enum single_ended_mode { | |||
| 112 | * initialization, provided by GPIO driver | 112 | * initialization, provided by GPIO driver |
| 113 | * @irq_parent: GPIO IRQ chip parent/bank linux irq number, | 113 | * @irq_parent: GPIO IRQ chip parent/bank linux irq number, |
| 114 | * provided by GPIO driver | 114 | * provided by GPIO driver |
| 115 | * @irq_need_valid_mask: If set core allocates @irq_valid_mask with all | ||
| 116 | * bits set to one | ||
| 117 | * @irq_valid_mask: If not %NULL holds bitmask of GPIOs which are valid to | ||
| 118 | * be included in IRQ domain of the chip | ||
| 115 | * @lock_key: per GPIO IRQ chip lockdep class | 119 | * @lock_key: per GPIO IRQ chip lockdep class |
| 116 | * | 120 | * |
| 117 | * A gpio_chip can help platforms abstract various sources of GPIOs so | 121 | * A gpio_chip can help platforms abstract various sources of GPIOs so |
| @@ -190,6 +194,8 @@ struct gpio_chip { | |||
| 190 | irq_flow_handler_t irq_handler; | 194 | irq_flow_handler_t irq_handler; |
| 191 | unsigned int irq_default_type; | 195 | unsigned int irq_default_type; |
| 192 | int irq_parent; | 196 | int irq_parent; |
| 197 | bool irq_need_valid_mask; | ||
| 198 | unsigned long *irq_valid_mask; | ||
| 193 | struct lock_class_key *lock_key; | 199 | struct lock_class_key *lock_key; |
| 194 | #endif | 200 | #endif |
| 195 | 201 | ||
