# Re: \[linux-sunxi\] Re: \[PATCH v5 06/20\] mfd: axp20x: Allow AXP chips without interrupt lines

- From: Chen-Yu Tsai \<hidden\>
- Date: 2021-02-02 07:59:55 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/02/6254754
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/01/6249813/t.md

```text
On Thu, Jan 28, 2021 at 6:15 PM Maxime Ripard [ref] wrote:
>
> On Wed, Jan 27, 2021 at 05:24:46PM +0000, Andre Przywara wrote:
> > Currently the AXP chip requires to have its IRQ line connected to some
> > interrupt controller, and will fail probing when this is not the case.
> >
> > On a new Allwinner SoC (H616) there is no NMI pin anymore, and at
> > least one board does not connect the AXP's IRQ pin to anything else,
> > so the interrupt functionality of the AXP chip is simply not available.
> >
> > Check whether the interrupt line number returned by the platform code is
> > valid, before trying to register the irqchip. If not, we skip this
> > registration, to avoid the driver to bail out completely.
> >
> > Signed-off-by: Andre Przywara <andre.przywara@arm.com>
>
> Acked-by: Maxime Ripard <mripard@kernel.org>

Acked-by: Chen-Yu Tsai <redacted>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
