Re: [PATCH v4 1/2] dt-bindings: mfd: wlf,arizona: Add irq-gpios
From: Bartosz Golaszewski
Date: Mon Mar 30 2026 - 04:33:08 EST
On Thu, 26 Mar 2026 11:51:11 +0100, Linus Walleij <linusw@xxxxxxxxxx> said:
> The Wolfson Microelectronics Arizona sometimes needs to poll the
> GPIO line corresponding to the IRQ to counter bugs in the hardware
> that appear on edge-triggered IRQs.
>
> For this situation, provide the optional irq-gpios property.
>
> Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
> Reviewed-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Linus Walleij <linusw@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/mfd/wlf,arizona.yaml | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mfd/wlf,arizona.yaml b/Documentation/devicetree/bindings/mfd/wlf,arizona.yaml
> index 7902f3c5d289..359e40b3dacb 100644
> --- a/Documentation/devicetree/bindings/mfd/wlf,arizona.yaml
> +++ b/Documentation/devicetree/bindings/mfd/wlf,arizona.yaml
> @@ -194,6 +194,16 @@ properties:
> reset-gpios:
> maxItems: 1
>
> + irq-gpios:
> + maxItems: 1
> + description:
> + A functional IRQ should be provided in the interrupts
> + property. This property enables edge triggered IRQ emulation
> + for hosts that don't support the codecs level triggered IRQ
> + output. The GPIO line corresponding to the IRQ will be polled
> + until all IRQs have been handled, ensuring an edge is generated
> + for the next IRQ.
> +
> wlf,reset:
> description:
> GPIO specifier for the GPIO controlling RESET
>
> --
> 2.53.0
>
>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>