diff options
author | Mark Brown <broonie@kernel.org> | 2023-03-06 14:07:40 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-06 14:07:40 +0000 |
commit | 054a0da568b94f6b69ccf34b80f7c41a6623eb11 (patch) | |
tree | 0dadeec2e7718d68406188e7e3e19417e26ba434 /include/linux/regmap.h | |
parent | 2614d66a03ddbf50edae36d9c4be4bf487eaaddb (diff) | |
parent | 4d60cac951fd2dfbf261b83abb805748abc8b995 (diff) | |
download | lwn-054a0da568b94f6b69ccf34b80f7c41a6623eb11.tar.gz lwn-054a0da568b94f6b69ccf34b80f7c41a6623eb11.zip |
regmap: Add support for devices with no interrupt readback
Merge series from William Breathitt Gray <william.gray@linaro.org>:
There are devices which have interrupt support with mask and ack
registers but no status register. Add a flag which lets us support
them, we just assume that all the interrupts fired.
Diffstat (limited to 'include/linux/regmap.h')
-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 1c777566fb7d..19d54f019cc4 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -1567,6 +1567,7 @@ struct regmap_irq_chip_data; * offsets to each peripheral. Deprecated; the same thing * can be accomplished with a @get_irq_reg callback, without * the need for a @sub_reg_offsets table. + * @no_status: No status register: all interrupts assumed generated by device. * * @num_regs: Number of registers in each control bank. * @@ -1634,6 +1635,7 @@ struct regmap_irq_chip { unsigned int clear_on_unmask:1; unsigned int runtime_pm:1; unsigned int not_fixed_stride:1; + unsigned int no_status:1; int num_regs; |