Devices can provide multiple interrupt lines. One reason for this is that a device has multiple subfunctions, each providing its own interrupt line. Another reason is that a device can be designed to be used (also) on a system where some of the interrupts can be routed to another processor. A line often further acts as a demultiplex for specific interrupts and has it's respective set of interrupt (status, mask, ack, ...) registers. Regmap supports the handling of these registers and demultiplexing interrupts, but interrupt domain code ends up assigning the same name for the per interrupt line domains This series adds possibility for giving a name suffix for an interrupt domain when regmap is used for devices with multiple interrupt lines. Series is created on top of the: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core which contains the changes by Herve Codina adding both the struct irq_domain_info and the irq_domain_instantiate(). Previous discussion can be found from: https://lore.kernel.org/all/87plst28yk.ffs@tglx/ https://lore.kernel.org/all/15685ef6-92a5-41df-9148-1a67ceaec47b@gmail.com/ The domain suffix support added in this series will be used by the ROHM BD96801 ERRB IRQ support code. The BD96801 ERRB support will need the initial BD96801 driver code, which is not yet in irq/core or regmap trees. Thus the user for this new support is not included in the series, but will be sent once the name suffix support gets merged. --- Matti Vaittinen (2): irqdomain: Allow giving name suffix for domain regmap: Allow setting IRQ domain name suffix drivers/base/regmap/regmap-irq.c | 39 +++++++++++++++++++++++--------- include/linux/irqdomain.h | 3 +++ include/linux/regmap.h | 4 ++++ kernel/irq/irqdomain.c | 36 +++++++++++++++++++++-------- 4 files changed, 62 insertions(+), 20 deletions(-) base-commit: be5e5f3a1120bada0cff1bc84c2a1805da308f6e -- 2.45.1 -- Matti Vaittinen, Linux device drivers ROHM Semiconductors, Finland SWDC Kiviharjunlenkki 1E 90220 OULU FINLAND ~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~ Simon says - in Latin please. ~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~ Thanks to Simon Glass for the translation =]