Re: [PATCH v3 1/3] dt-bindings: max77705: add interrupt-controller node

From: Konrad Dybcio
Date: Thu Sep 25 2025 - 09:12:03 EST


On 9/15/25 5:46 PM, Dzmitry Sankouski wrote:
> пн, 15 сент. 2025 г. в 10:49, Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>:
>>
>>> + The driver implements an interrupt controller for the sub devices.
>>> + The interrupt number mapping is as follows
>>> + 0 - charger
>>> + 1 - topsys
>>> + 2 - fuelgauge
>>> + 3 - usb type-c management block.
>>
>> The MFD driver registers one more interrupt, and these don't seem
>> to be what you say here:
>>
>> static const struct regmap_irq max77705_topsys_irqs[] = {
>> { .mask = MAX77705_SYSTEM_IRQ_BSTEN_INT, },
>> { .mask = MAX77705_SYSTEM_IRQ_SYSUVLO_INT, },
>> { .mask = MAX77705_SYSTEM_IRQ_SYSOVLO_INT, },
>> { .mask = MAX77705_SYSTEM_IRQ_TSHDN_INT, },
>> { .mask = MAX77705_SYSTEM_IRQ_TM_INT, },
>> };
>
> MAX77705_SYSTEM_IRQ_TM_INT(and others you mentioned) is a part of 'topsys' irqs,
> which is kinda MFD own irqs. They are unused at the moment.
>
> See also [max77705 rework interrupt patches](https://lkml.org/lkml/2025/8/31/27)

This would be useful to mention as a dependency..

Perhaps >this< patch should be part of that series you referenced, too
(or they could come together with this DT change even)

Konrad