]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regmap: Allow setting IRQ domain name suffix
authorMatti Vaittinen <mazziesaccount@gmail.com>
Thu, 8 Aug 2024 12:36:28 +0000 (15:36 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 13 Aug 2024 11:45:01 +0000 (12:45 +0100)
commitdde286ee57704226b500cb9eb59547fec07aad3d
treebaf33bf14f320ce25c68d42740a473d3e96dcf9e
parent1e7c05292531e5b6bebe409cd531ed4ec0b2ff56
regmap: Allow setting IRQ domain name suffix

When multiple IRQ domains are created from the same device-tree node they
will get the same name based on the device-tree path. This will cause a
naming collision in debugFS when IRQ domain specific entries are created.

The regmap-IRQ creates per instance IRQ domains. This will lead to a
domain name conflict when a device which provides more than one
interrupt line uses the regmap-IRQ.

Add support for specifying an IRQ domain name suffix when creating a
regmap-IRQ controller.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/776bc4996969e5081bcf61b9bdb5517e537147a3.1723120028.git.mazziesaccount@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-irq.c
include/linux/regmap.h