Re: [PATCH] irqchip: Enable compile-testing for Renesas drivers

From: Simon Horman
Date: Thu Jun 13 2019 - 11:43:15 EST


On Fri, Jun 07, 2019 at 11:50:36AM +0200, Geert Uytterhoeven wrote:
> Enable compile-testing for all Renesas interrupt controller drivers,
> except for RENESAS_H8300H_INTC. The latter relies on a function
> (ctrl_bclr()) that is not available on other architectures.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Reviewed-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>

> ---
> drivers/irqchip/Kconfig | 20 ++++++++++++++++----
> 1 file changed, 16 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
> index 2d3b5a27cc988ab6..fe509b88f99a8f10 100644
> --- a/drivers/irqchip/Kconfig
> +++ b/drivers/irqchip/Kconfig
> @@ -217,17 +217,26 @@ config RDA_INTC
> select IRQ_DOMAIN
>
> config RENESAS_INTC_IRQPIN
> - bool
> + bool "Renesas INTC External IRQ Pin Support" if COMPILE_TEST
> select IRQ_DOMAIN
> + help
> + Enable support for the Renesas Interrupt Controller for external
> + interrupt pins, as found on SH/R-Mobile and R-Car Gen1 SoCs.
>
> config RENESAS_IRQC
> - bool
> + bool "Renesas R-Mobile APE6 and R-Car IRQC support" if COMPILE_TEST
> select GENERIC_IRQ_CHIP
> select IRQ_DOMAIN
> + help
> + Enable support for the Renesas Interrupt Controller for external
> + devices, as found on R-Mobile APE6, R-Car Gen2, and R-Car Gen3 SoCs.
>
> config RENESAS_RZA1_IRQC
> - bool
> + bool "Renesas RZ/A1 IRQC support" if COMPILE_TEST
> select IRQ_DOMAIN_HIERARCHY
> + help
> + Enable support for the Renesas RZ/A1 Interrupt Controller, to use up
> + to 8 external interrupts with configurable sense select.
>
> config ST_IRQCHIP
> bool
> @@ -303,8 +312,11 @@ config RENESAS_H8300H_INTC
> select IRQ_DOMAIN
>
> config RENESAS_H8S_INTC
> - bool
> + bool "Renesas H8S Interrupt Controller Support" if COMPILE_TEST
> select IRQ_DOMAIN
> + help
> + Enable support for the Renesas H8/300 Interrupt Controller, as found
> + on Renesas H8S SoCs.
>
> config IMX_GPCV2
> bool
> --
> 2.17.1
>