diff mbox series

irqchip: Enable compile-testing for Renesas drivers

Message ID 20190607095036.9466-1-geert+renesas@glider.be (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show
Series irqchip: Enable compile-testing for Renesas drivers | expand

Commit Message

Geert Uytterhoeven June 7, 2019, 9:50 a.m. UTC
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@glider.be>
---
 drivers/irqchip/Kconfig | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

Comments

Yoshinori Sato June 10, 2019, 6:52 a.m. UTC | #1
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 <geert+renesas@glider.be>

for RENESAS_H8S_INTC
Acked-by: Yoshinori Sato <ysato@users.sourceforge.jp>

> ---
>  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
>
Chris Brandt June 10, 2019, 1:50 p.m. UTC | #2
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 <chris.brandt@renesas.com>

:)
Simon Horman June 13, 2019, 9:58 a.m. UTC | #3
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@glider.be>

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>

> ---
>  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
>
diff mbox series

Patch

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