2019-06-07 09:53:04

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] irqchip: Enable compile-testing for Renesas drivers

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 <[email protected]>
---
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


2019-06-10 06:54:24

by Yoshinori Sato

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

On Fri, 07 Jun 2019 18:50:36 +0900,
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 <[email protected]>

for RENESAS_H8S_INTC
Acked-by: Yoshinori Sato <[email protected]>

> ---
> 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
>

2019-06-10 13:50:25

by Chris Brandt

[permalink] [raw]
Subject: RE: [PATCH] irqchip: Enable compile-testing for Renesas drivers

On Fri, Jun 07, 2019, Geert Uytterhoeven wrote:
> 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.


Appreciated−by: Chris Brandt <[email protected]>

:)

2019-06-13 15:41:00

by Simon Horman

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

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 <[email protected]>

Reviewed-by: Simon Horman <[email protected]>

> ---
> 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
>