mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* [PATCH] pinctrl: meson: extend build coverage with COMPILE_TEST=y
@ 2026-01-06  8:55 Bartosz Golaszewski
  2026-01-06  8:56 ` Neil Armstrong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2026-01-06  8:55 UTC (permalink / raw)
  To: Linus Walleij, Neil Armstrong, Kevin Hilman, Jerome Brunet,
	Martin Blumenstingl, Bartosz Golaszewski
  Cc: linux-gpio, linux-arm-kernel, linux-amlogic, linux-kernel,
	Bartosz Golaszewski

We currently only build these drivers on ARM but there's nothing that
should stop us from building it with allmodconfig on other
architectures. Extend the build coverage for all meson drivers.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
 drivers/pinctrl/meson/Kconfig | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/drivers/pinctrl/meson/Kconfig b/drivers/pinctrl/meson/Kconfig
index 0315e224bce6..ce6aeec2fc79 100644
--- a/drivers/pinctrl/meson/Kconfig
+++ b/drivers/pinctrl/meson/Kconfig
@@ -15,25 +15,25 @@ if PINCTRL_MESON
 
 config PINCTRL_MESON8
 	bool "Meson 8 SoC pinctrl driver"
-	depends on ARM
+	depends on ARM || COMPILE_TEST
 	select PINCTRL_MESON8_PMX
 	default ARCH_MESON
 
 config PINCTRL_MESON8B
 	bool "Meson 8b SoC pinctrl driver"
-	depends on ARM
+	depends on ARM || COMPILE_TEST
 	select PINCTRL_MESON8_PMX
 	default ARCH_MESON
 
 config PINCTRL_MESON_GXBB
 	tristate "Meson gxbb SoC pinctrl driver"
-	depends on ARM64
+	depends on ARM64 || COMPILE_TEST
 	select PINCTRL_MESON8_PMX
 	default ARCH_MESON
 
 config PINCTRL_MESON_GXL
 	tristate "Meson gxl SoC pinctrl driver"
-	depends on ARM64
+	depends on ARM64 || COMPILE_TEST
 	select PINCTRL_MESON8_PMX
 	default ARCH_MESON
 
@@ -42,7 +42,7 @@ config PINCTRL_MESON8_PMX
 
 config PINCTRL_MESON_AXG
 	tristate "Meson axg Soc pinctrl driver"
-	depends on ARM64
+	depends on ARM64 || COMPILE_TEST
 	select PINCTRL_MESON_AXG_PMX
 	default ARCH_MESON
 
@@ -51,25 +51,25 @@ config PINCTRL_MESON_AXG_PMX
 
 config PINCTRL_MESON_G12A
 	tristate "Meson g12a Soc pinctrl driver"
-	depends on ARM64
+	depends on ARM64 || COMPILE_TEST
 	select PINCTRL_MESON_AXG_PMX
 	default ARCH_MESON
 
 config PINCTRL_MESON_A1
 	tristate "Meson a1 Soc pinctrl driver"
-	depends on ARM64
+	depends on ARM64 || COMPILE_TEST
 	select PINCTRL_MESON_AXG_PMX
 	default ARCH_MESON
 
 config PINCTRL_MESON_S4
 	tristate "Meson s4 Soc pinctrl driver"
-	depends on ARM64
+	depends on ARM64 || COMPILE_TEST
 	select PINCTRL_MESON_AXG_PMX
 	default ARCH_MESON
 
 config PINCTRL_AMLOGIC_A4
 	bool "AMLOGIC pincontrol"
-	depends on ARM64
+	depends on ARM64 || COMPILE_TEST
 	default ARCH_MESON
 	help
 	  This is the driver for the pin controller found on Amlogic SoCs.
@@ -80,13 +80,13 @@ config PINCTRL_AMLOGIC_A4
 
 config PINCTRL_AMLOGIC_C3
 	tristate "Amlogic C3 SoC pinctrl driver"
-	depends on ARM64
+	depends on ARM64 || COMPILE_TEST
 	select PINCTRL_MESON_AXG_PMX
 	default ARCH_MESON
 
 config PINCTRL_AMLOGIC_T7
 	tristate "Amlogic T7 SoC pinctrl driver"
-	depends on ARM64
+	depends on ARM64 || COMPILE_TEST
 	select PINCTRL_MESON_AXG_PMX
 	default ARCH_MESON
 
-- 
2.47.3


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] pinctrl: meson: extend build coverage with COMPILE_TEST=y
  2026-01-06  8:55 [PATCH] pinctrl: meson: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
@ 2026-01-06  8:56 ` Neil Armstrong
  2026-01-06  9:00 ` Martin Blumenstingl
  2026-01-09  9:31 ` Linus Walleij
  2 siblings, 0 replies; 4+ messages in thread
From: Neil Armstrong @ 2026-01-06  8:56 UTC (permalink / raw)
  To: Bartosz Golaszewski, Linus Walleij, Kevin Hilman, Jerome Brunet,
	Martin Blumenstingl, Bartosz Golaszewski
  Cc: linux-gpio, linux-arm-kernel, linux-amlogic, linux-kernel

On 1/6/26 09:55, Bartosz Golaszewski wrote:
> We currently only build these drivers on ARM but there's nothing that
> should stop us from building it with allmodconfig on other
> architectures. Extend the build coverage for all meson drivers.
> 
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
> ---
>   drivers/pinctrl/meson/Kconfig | 22 +++++++++++-----------
>   1 file changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/pinctrl/meson/Kconfig b/drivers/pinctrl/meson/Kconfig
> index 0315e224bce6..ce6aeec2fc79 100644
> --- a/drivers/pinctrl/meson/Kconfig
> +++ b/drivers/pinctrl/meson/Kconfig
> @@ -15,25 +15,25 @@ if PINCTRL_MESON
>   
>   config PINCTRL_MESON8
>   	bool "Meson 8 SoC pinctrl driver"
> -	depends on ARM
> +	depends on ARM || COMPILE_TEST
>   	select PINCTRL_MESON8_PMX
>   	default ARCH_MESON
>   
>   config PINCTRL_MESON8B
>   	bool "Meson 8b SoC pinctrl driver"
> -	depends on ARM
> +	depends on ARM || COMPILE_TEST
>   	select PINCTRL_MESON8_PMX
>   	default ARCH_MESON
>   
>   config PINCTRL_MESON_GXBB
>   	tristate "Meson gxbb SoC pinctrl driver"
> -	depends on ARM64
> +	depends on ARM64 || COMPILE_TEST
>   	select PINCTRL_MESON8_PMX
>   	default ARCH_MESON
>   
>   config PINCTRL_MESON_GXL
>   	tristate "Meson gxl SoC pinctrl driver"
> -	depends on ARM64
> +	depends on ARM64 || COMPILE_TEST
>   	select PINCTRL_MESON8_PMX
>   	default ARCH_MESON
>   
> @@ -42,7 +42,7 @@ config PINCTRL_MESON8_PMX
>   
>   config PINCTRL_MESON_AXG
>   	tristate "Meson axg Soc pinctrl driver"
> -	depends on ARM64
> +	depends on ARM64 || COMPILE_TEST
>   	select PINCTRL_MESON_AXG_PMX
>   	default ARCH_MESON
>   
> @@ -51,25 +51,25 @@ config PINCTRL_MESON_AXG_PMX
>   
>   config PINCTRL_MESON_G12A
>   	tristate "Meson g12a Soc pinctrl driver"
> -	depends on ARM64
> +	depends on ARM64 || COMPILE_TEST
>   	select PINCTRL_MESON_AXG_PMX
>   	default ARCH_MESON
>   
>   config PINCTRL_MESON_A1
>   	tristate "Meson a1 Soc pinctrl driver"
> -	depends on ARM64
> +	depends on ARM64 || COMPILE_TEST
>   	select PINCTRL_MESON_AXG_PMX
>   	default ARCH_MESON
>   
>   config PINCTRL_MESON_S4
>   	tristate "Meson s4 Soc pinctrl driver"
> -	depends on ARM64
> +	depends on ARM64 || COMPILE_TEST
>   	select PINCTRL_MESON_AXG_PMX
>   	default ARCH_MESON
>   
>   config PINCTRL_AMLOGIC_A4
>   	bool "AMLOGIC pincontrol"
> -	depends on ARM64
> +	depends on ARM64 || COMPILE_TEST
>   	default ARCH_MESON
>   	help
>   	  This is the driver for the pin controller found on Amlogic SoCs.
> @@ -80,13 +80,13 @@ config PINCTRL_AMLOGIC_A4
>   
>   config PINCTRL_AMLOGIC_C3
>   	tristate "Amlogic C3 SoC pinctrl driver"
> -	depends on ARM64
> +	depends on ARM64 || COMPILE_TEST
>   	select PINCTRL_MESON_AXG_PMX
>   	default ARCH_MESON
>   
>   config PINCTRL_AMLOGIC_T7
>   	tristate "Amlogic T7 SoC pinctrl driver"
> -	depends on ARM64
> +	depends on ARM64 || COMPILE_TEST
>   	select PINCTRL_MESON_AXG_PMX
>   	default ARCH_MESON
>   

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

Thanks,
Neil

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] pinctrl: meson: extend build coverage with COMPILE_TEST=y
  2026-01-06  8:55 [PATCH] pinctrl: meson: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
  2026-01-06  8:56 ` Neil Armstrong
@ 2026-01-06  9:00 ` Martin Blumenstingl
  2026-01-09  9:31 ` Linus Walleij
  2 siblings, 0 replies; 4+ messages in thread
From: Martin Blumenstingl @ 2026-01-06  9:00 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Linus Walleij, Neil Armstrong, Kevin Hilman, Jerome Brunet,
	Bartosz Golaszewski, linux-gpio, linux-arm-kernel, linux-amlogic,
	linux-kernel

On Tue, Jan 6, 2026 at 9:55 AM Bartosz Golaszewski
<bartosz.golaszewski@oss.qualcomm.com> wrote:
>
> We currently only build these drivers on ARM but there's nothing that
> should stop us from building it with allmodconfig on other
> architectures. Extend the build coverage for all meson drivers.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] pinctrl: meson: extend build coverage with COMPILE_TEST=y
  2026-01-06  8:55 [PATCH] pinctrl: meson: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
  2026-01-06  8:56 ` Neil Armstrong
  2026-01-06  9:00 ` Martin Blumenstingl
@ 2026-01-09  9:31 ` Linus Walleij
  2 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2026-01-09  9:31 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Neil Armstrong, Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
	Bartosz Golaszewski, linux-gpio, linux-arm-kernel, linux-amlogic,
	linux-kernel

On Tue, Jan 6, 2026 at 9:55 AM Bartosz Golaszewski
<bartosz.golaszewski@oss.qualcomm.com> wrote:

> We currently only build these drivers on ARM but there's nothing that
> should stop us from building it with allmodconfig on other
> architectures. Extend the build coverage for all meson drivers.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>

Patch applied for Linux v7.0!

Yours,
Linus Walleij

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-09  9:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-06  8:55 [PATCH] pinctrl: meson: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
2026-01-06  8:56 ` Neil Armstrong
2026-01-06  9:00 ` Martin Blumenstingl
2026-01-09  9:31 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®