diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-08-18 14:20:15 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-08-18 14:20:15 +0200 |
| commit | aaef12abc48c27b65d9ff2de0a232723a1f06c8d (patch) | |
| tree | e5f8a3e46820c2bc9bf0431e08e88d58e9c8071c /include | |
| parent | 408866669ce01b8f2111afdea2c13d15a8960bff (diff) | |
| parent | 9bb4c0b37d54fc7d61f2a21cfa635fa2e3a29ac5 (diff) | |
| download | linux-aaef12abc48c27b65d9ff2de0a232723a1f06c8d.tar.gz linux-aaef12abc48c27b65d9ff2de0a232723a1f06c8d.zip | |
Merge tag 'regmap-irq-reqrel' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap into gpio/for-next
regmap-irq: Provide IRQ resource request and release callbacks
The users which rely on regmap IRQ to create the IRQ chip may also
want to have an additional tracking of the IRQ requests and releases.
Provide a callback for them.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/regmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index df44cb30f53b..370baa19db87 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -1770,6 +1770,8 @@ struct regmap_irq_chip { void *irq_drv_data); unsigned int (*get_irq_reg)(struct regmap_irq_chip_data *data, unsigned int base, int index); + int (*irq_reqres)(void *irq_drv_data, irq_hw_number_t hwirq); + void (*irq_relres)(void *irq_drv_data, irq_hw_number_t hwirq); void *irq_drv_data; }; |
