[PATCH 03/12] ARM: ep93xx: enable SPARSE_IRQ
Alexander Sverdlin
alexander.sverdlin at gmail.com
Thu Apr 7 01:30:12 PDT 2022
Hello Arnd,
On Tue, 2022-04-05 at 11:17 +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> Without CONFIG_SPARSE_IRQ, we rely on mach/irqs.h to define NR_IRQS
> globally. Do the minimal conversion by setting .nr_irqs in each
> machine descriptor.
>
> Only the vision_ep9307 machine has extra IRQs for GPIOs, so make
> .nr_irqs the original value there, while using the plain NR_EP93XX_IRQS
> everywhere else.
>
> Cc: Hartley Sweeten <hsweeten at visionengravers.com>
> Cc: Hubert Feurstein <hubert.feurstein at contec.at>
> Cc: Lukasz Majewski <lukma at denx.de>
> Tested-by: Alexander Sverdlin <alexander.sverdlin at gmail.com>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
I've successfully tested the whole series on EDB9302, therefore:
Tested-by: Alexander Sverdlin <alexander.sverdlin at gmail.com>
Acked-by: Alexander Sverdlin <alexander.sverdlin at gmail.com>
> ---
> arch/arm/Kconfig | 2 ++
> arch/arm/mach-ep93xx/adssphere.c | 1 +
> arch/arm/mach-ep93xx/core.c | 1 +
> arch/arm/mach-ep93xx/edb93xx.c | 8 ++++++++
> arch/arm/mach-ep93xx/gesbc9312.c | 1 +
> arch/arm/mach-ep93xx/{include/mach => }/irqs.h | 7 -------
> arch/arm/mach-ep93xx/micro9.c | 4 ++++
> arch/arm/mach-ep93xx/simone.c | 1 +
> arch/arm/mach-ep93xx/snappercl15.c | 1 +
> arch/arm/mach-ep93xx/soc.h | 1 +
> arch/arm/mach-ep93xx/ts72xx.c | 3 ++-
> arch/arm/mach-ep93xx/vision_ep9307.c | 1 +
> 12 files changed, 23 insertions(+), 8 deletions(-)
> rename arch/arm/mach-ep93xx/{include/mach => }/irqs.h (96%)
--
Alexander Sverdlin.
More information about the linux-arm-kernel
mailing list