[PATCH] mfd: sec: Fix IRQ domain names duplication

André Draszik posted 1 patch 1 month ago
drivers/mfd/sec-irq.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] mfd: sec: Fix IRQ domain names duplication
Posted by André Draszik 1 month ago
For the S2MPG10 IRQ and chained IRQ, regmap IRQ will try to create a
folder with the same name which is impossible and fails with:

  debugfs: ':firmware:power-management:pmic' already exists in 'domains'

Add domain_suffix to the chained IRQ chip driver to fix it.

Fixes: ee19b52c31b3 ("mfd: sec: Use chained IRQs for s2mpg10")
Signed-off-by: André Draszik <andre.draszik@linaro.org>
---
 drivers/mfd/sec-irq.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/sec-irq.c b/drivers/mfd/sec-irq.c
index 74ac70002d1fc54c7eeb78cfc21b6117a3e14b03..ff2671186e89f2f9b6c98583c0ebfa18d32b89b3 100644
--- a/drivers/mfd/sec-irq.c
+++ b/drivers/mfd/sec-irq.c
@@ -198,6 +198,7 @@ static const struct regmap_irq_chip s2mpg10_irq_chip = {
 
 static const struct regmap_irq_chip s2mpg10_irq_chip_pmic = {
 	.name = "s2mpg10-pmic",
+	.domain_suffix = "pmic",
 	.status_base = S2MPG10_PMIC_INT1,
 	.mask_base = S2MPG10_PMIC_INT1M,
 	.num_regs = 6,

---
base-commit: f8f97927abf7c12382dddc93a144fc9df7919b77
change-id: 20260105-s2mpg10-chained-irq-domain-suffix-c1860909fbd0

Best regards,
-- 
André Draszik <andre.draszik@linaro.org>

Re: (subset) [PATCH] mfd: sec: Fix IRQ domain names duplication
Posted by Lee Jones 3 weeks, 3 days ago
On Mon, 05 Jan 2026 16:25:46 +0000, André Draszik wrote:
> For the S2MPG10 IRQ and chained IRQ, regmap IRQ will try to create a
> folder with the same name which is impossible and fails with:
> 
>   debugfs: ':firmware:power-management:pmic' already exists in 'domains'
> 
> Add domain_suffix to the chained IRQ chip driver to fix it.
> 
> [...]

Applied, thanks!

[1/1] mfd: sec: Fix IRQ domain names duplication
      commit: 3d97893e4a54f4d71a6ee848933ef44d89415cd9

--
Lee Jones [李琼斯]