* [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y
@ 2025-04-08 12:59 Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 1/6] gpio: zynq: enable building the modules " Bartosz Golaszewski
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2025-04-08 12:59 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski
Cc: linux-gpio, linux-kernel, Bartosz Golaszewski
There are some drivers that aren't build with allmodconfig that don't
have any requirements on arch/ headers so make them depend on
COMPILE_TEST and extend the build coverage.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (6):
gpio: zynq: enable building the modules with COMPILE_TEST=y
gpio: msc313: enable building the module with COMPILE_TEST=y
gpio: pl061: enable building the module with COMPILE_TEST=y
gpio: rtd: enable building the module with COMPILE_TEST=y
gpio: tb10x: enable building the module with COMPILE_TEST=y
gpio: tn48m: enable building the module with COMPILE_TEST=y
drivers/gpio/Kconfig | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
---
base-commit: 0e871365f7f9aeb9b590e345458b2083e067cd13
change-id: 20250326-gpio-compile-test-9c42587d903e
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/6] gpio: zynq: enable building the modules with COMPILE_TEST=y
2025-04-08 12:59 [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
@ 2025-04-08 12:59 ` Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 2/6] gpio: msc313: enable building the module " Bartosz Golaszewski
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2025-04-08 12:59 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski
Cc: linux-gpio, linux-kernel, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Extend the build coverage by allowing to build the modules with
COMPILE_TEST enabled.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
drivers/gpio/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index f2c39bbff83a..f76d08880fe5 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -830,14 +830,14 @@ config GPIO_ZEVIO
config GPIO_ZYNQ
tristate "Xilinx Zynq GPIO support"
- depends on ARCH_ZYNQ || ARCH_ZYNQMP
+ depends on ARCH_ZYNQ || ARCH_ZYNQMP || COMPILE_TEST
select GPIOLIB_IRQCHIP
help
Say yes here to support Xilinx Zynq GPIO controller.
config GPIO_ZYNQMP_MODEPIN
tristate "ZynqMP ps-mode pin GPIO configuration driver"
- depends on ZYNQMP_FIRMWARE
+ depends on ZYNQMP_FIRMWARE || COMPILE_TEST
default ZYNQMP_FIRMWARE
help
Say yes here to support the ZynqMP ps-mode pin GPIO configuration
--
2.45.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/6] gpio: msc313: enable building the module with COMPILE_TEST=y
2025-04-08 12:59 [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 1/6] gpio: zynq: enable building the modules " Bartosz Golaszewski
@ 2025-04-08 12:59 ` Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 3/6] gpio: pl061: " Bartosz Golaszewski
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2025-04-08 12:59 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski
Cc: linux-gpio, linux-kernel, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Extend the build coverage by allowing to build the module with
COMPILE_TEST enabled.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index f76d08880fe5..9b25bd667b76 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -866,7 +866,7 @@ config GPIO_AMD_FCH
config GPIO_MSC313
bool "MStar MSC313 GPIO support"
- depends on ARCH_MSTARV7
+ depends on ARCH_MSTARV7 || COMPILE_TEST
default ARCH_MSTARV7
select GPIOLIB_IRQCHIP
select IRQ_DOMAIN_HIERARCHY
--
2.45.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/6] gpio: pl061: enable building the module with COMPILE_TEST=y
2025-04-08 12:59 [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 1/6] gpio: zynq: enable building the modules " Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 2/6] gpio: msc313: enable building the module " Bartosz Golaszewski
@ 2025-04-08 12:59 ` Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 4/6] gpio: rtd: " Bartosz Golaszewski
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2025-04-08 12:59 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski
Cc: linux-gpio, linux-kernel, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Extend the build coverage by allowing to build the module with
COMPILE_TEST enabled.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 9b25bd667b76..bb03457afa72 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -540,7 +540,7 @@ config GPIO_OMAP
config GPIO_PL061
tristate "PrimeCell PL061 GPIO support"
- depends on ARM_AMBA
+ depends on ARM_AMBA || COMPILE_TEST
select IRQ_DOMAIN
select GPIOLIB_IRQCHIP
help
--
2.45.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/6] gpio: rtd: enable building the module with COMPILE_TEST=y
2025-04-08 12:59 [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
` (2 preceding siblings ...)
2025-04-08 12:59 ` [PATCH 3/6] gpio: pl061: " Bartosz Golaszewski
@ 2025-04-08 12:59 ` Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 5/6] gpio: tb10x: " Bartosz Golaszewski
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2025-04-08 12:59 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski
Cc: linux-gpio, linux-kernel, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Extend the build coverage by allowing to build the module with
COMPILE_TEST enabled.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index bb03457afa72..b0a689993bb3 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -604,7 +604,7 @@ config GPIO_ROCKCHIP
config GPIO_RTD
tristate "Realtek DHC GPIO support"
- depends on ARCH_REALTEK
+ depends on ARCH_REALTEK || COMPILE_TEST
default y
select GPIOLIB_IRQCHIP
help
--
2.45.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 5/6] gpio: tb10x: enable building the module with COMPILE_TEST=y
2025-04-08 12:59 [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
` (3 preceding siblings ...)
2025-04-08 12:59 ` [PATCH 4/6] gpio: rtd: " Bartosz Golaszewski
@ 2025-04-08 12:59 ` Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 6/6] gpio: tn48m: " Bartosz Golaszewski
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2025-04-08 12:59 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski
Cc: linux-gpio, linux-kernel, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Extend the build coverage by allowing to build the module with
COMPILE_TEST enabled. Depend on the relevant machine symbol in order to
not pollute the Kconfig prompt needlessly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
drivers/gpio/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index b0a689993bb3..5258f260b527 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -700,7 +700,8 @@ config GPIO_TANGIER
If built as a module its name will be gpio-tangier.
config GPIO_TB10X
- bool
+ bool "TB10X GPIO support"
+ depends on ARC_PLAT_TB10X || COMPILE_TEST
select GPIO_GENERIC
select GENERIC_IRQ_CHIP
select OF_GPIO
--
2.45.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 6/6] gpio: tn48m: enable building the module with COMPILE_TEST=y
2025-04-08 12:59 [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
` (4 preceding siblings ...)
2025-04-08 12:59 ` [PATCH 5/6] gpio: tb10x: " Bartosz Golaszewski
@ 2025-04-08 12:59 ` Bartosz Golaszewski
2025-04-15 21:40 ` [PATCH 0/6] gpio: extend build coverage " Linus Walleij
2025-04-16 15:56 ` Bartosz Golaszewski
7 siblings, 0 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2025-04-08 12:59 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski
Cc: linux-gpio, linux-kernel, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Extend the build coverage by allowing to build the module with
COMPILE_TEST enabled.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 5258f260b527..b3d0bfcca1ef 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1526,7 +1526,7 @@ config GPIO_TIMBERDALE
config GPIO_TN48M_CPLD
tristate "Delta Networks TN48M switch CPLD GPIO driver"
- depends on MFD_TN48M_CPLD
+ depends on MFD_TN48M_CPLD || COMPILE_TEST
select GPIO_REGMAP
help
This enables support for the GPIOs found on the Delta
--
2.45.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y
2025-04-08 12:59 [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
` (5 preceding siblings ...)
2025-04-08 12:59 ` [PATCH 6/6] gpio: tn48m: " Bartosz Golaszewski
@ 2025-04-15 21:40 ` Linus Walleij
2025-04-16 15:56 ` Bartosz Golaszewski
7 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2025-04-15 21:40 UTC (permalink / raw)
To: Bartosz Golaszewski; +Cc: linux-gpio, linux-kernel, Bartosz Golaszewski
On Tue, Apr 8, 2025 at 2:59 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> There are some drivers that aren't build with allmodconfig that don't
> have any requirements on arch/ headers so make them depend on
> COMPILE_TEST and extend the build coverage.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
All good stuff:
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y
2025-04-08 12:59 [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
` (6 preceding siblings ...)
2025-04-15 21:40 ` [PATCH 0/6] gpio: extend build coverage " Linus Walleij
@ 2025-04-16 15:56 ` Bartosz Golaszewski
7 siblings, 0 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2025-04-16 15:56 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski
Cc: linux-gpio, linux-kernel, Bartosz Golaszewski
On Tue, 08 Apr 2025 14:59:00 +0200, Bartosz Golaszewski wrote:
> There are some drivers that aren't build with allmodconfig that don't
> have any requirements on arch/ headers so make them depend on
> COMPILE_TEST and extend the build coverage.
>
>
Applied, thanks!
[1/6] gpio: zynq: enable building the modules with COMPILE_TEST=y
https://git.kernel.org/brgl/linux/c/27cdde96fd1eb38cd0675c6ad4be769f852b3528
[2/6] gpio: msc313: enable building the module with COMPILE_TEST=y
https://git.kernel.org/brgl/linux/c/ce4f4ce18e162c15d7288e78383e9a5000cd0b61
[3/6] gpio: pl061: enable building the module with COMPILE_TEST=y
https://git.kernel.org/brgl/linux/c/e40952bb8c6c54efbb1ae1dc8dc8ab71e17587ca
[4/6] gpio: rtd: enable building the module with COMPILE_TEST=y
https://git.kernel.org/brgl/linux/c/27747874cd90a5b61fd50f1df7f7af017b42f479
[5/6] gpio: tb10x: enable building the module with COMPILE_TEST=y
https://git.kernel.org/brgl/linux/c/90d80a3dc4fb24446d9d423c1c8967a63f136b0b
[6/6] gpio: tn48m: enable building the module with COMPILE_TEST=y
https://git.kernel.org/brgl/linux/c/a5d8e0cc96eed600a347bbdcd125a9274a92e187
Best regards,
--
Bartosz Golaszewski <brgl@bgdev.pl>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-04-16 15:56 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-08 12:59 [PATCH 0/6] gpio: extend build coverage with COMPILE_TEST=y Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 1/6] gpio: zynq: enable building the modules " Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 2/6] gpio: msc313: enable building the module " Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 3/6] gpio: pl061: " Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 4/6] gpio: rtd: " Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 5/6] gpio: tb10x: " Bartosz Golaszewski
2025-04-08 12:59 ` [PATCH 6/6] gpio: tn48m: " Bartosz Golaszewski
2025-04-15 21:40 ` [PATCH 0/6] gpio: extend build coverage " Linus Walleij
2025-04-16 15:56 ` Bartosz Golaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).