Skip to contentSkip to conversation

Allow compile testing of most gpio drivers

PATCH Superseded Alexander Stein 2 participants 67 messages Feb 26, 2016 – Mar 7, 2016

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Allow compile testing of most gpio drivers

This patch set allows compile testing of most gpio drivers. I compiled all from this list for x86_64 and arm. The drivers missing are using arch specific includes or code only available on that platform, e.g. msr on x86, which is unavailable on others.
I didn't include the OF people for the first one in purpose as I want some feedback first.

Alexander Stein (63):
of: Empty of_read_number when !OF
gpio: gpiolib-of: Allow compile testing
gpio: tegra: Allow compile test
gpio: davinci: Allow compile testing
gpio: em: Allow compile testing
gpio: ge: Allow compile testing
gpio: iop: Allow compile testing
gpio: moxart: Allow compile testing
gpio: mvebu: Allow compile testing
gpio: mxc: Allow compile testing
gpio: mxs: Allow compile testing
gpio: omap: Allow compile testing
gpio: pl061: Allow compile testing
gpio: pxa: Allow compile testing
gpio: spear-spics: Allow compile testing
gpio: sta2x11: Allow compile testing
gpio: syscon: Allow compile testing
gpio: tb10x: Allow compile testing
gpio vf610: Explicitly include pinctrl consumer header
gpio: vf610: Allow compile testing
gpio: xgene: Allow compile testing
gpio: xlp: Allow compile testing
gpio: zynq: Allow compile testing
gpio: mc9s08dz60: Allow compile testing
gpio: adp5520: Allow compile testing
gpio: arizona: Allow compile testing
gpio: crystalcove: Allow compile testing
gpio: da9052: Allow compile testing
gpio: da9055: Allow compile testing
gpio: dln2: Allow compile testing
gpio: jantz-ttl: Allow compile testing
gpio: kempld: Allow compile testing
gpio: lp3943: Allow compile testing
gpio: msic: Allow compile testing
gpio: palmas: Allow compile testing
gpio: rc5t583: Allow compile testing
gpio: timberdale: Allow compile testing
gpio: tps65218: Allow compile testing
gpio: tps6586x: Allow compile testing
gpio: tps65910: Allow compile testing
gpio: tps65912: Allow compile testing
gpio: twl4030: Allow compile testing
gpio: twl6040: Allow compile testing
gpio: ucb1400: Allow compile testing
gpio: wm831x: Allow compile testing
gpio: wm8350: Allow compile testing
gpio: wm8994: Allow compile testing
gpio: viperboard: Allow compile testing
gpio: stmpe: Move dependencies to a single line
gpio: stmpe: Allow compile testing
gpio: tc3589x: Move dependencies to a single line
gpio: tc3589x: Allow compile testing
gpio: ich: Allow compile testing
gpio: lynxpoint: Allow compile testing
gpio: vx855: Allow compile testing
gpio: sch: Allow compile testing
gpio: bt8xx: Allow compile testing
gpio: intel-mid: Allow compile testing
gpio: sodaville: Allow compile testing
gpio: 74x164: Allow compile testing
gpio: etraxfs: Allow compile testing
gpio: grgpio: Allow compile testing
gpio: mvebu: Allow compile testing

 drivers/gpio/Kconfig      | 126 ++++++++++++++++++++++++----------------------
 drivers/gpio/Makefile     |   2 +-
 drivers/gpio/gpio-vf610.c |   1 +
 include/linux/of.h        |   5 ++
 4 files changed, 72 insertions(+), 62 deletions(-)
Signature · 1 line
2.7.2
#1 lore raw

PATCH 1/63 of: Empty of_read_number when !OF

Introduce empty of_read_number when CONFIG_OF is not defined. This allows us to compile test gpio drivers.

---
 include/linux/of.h | 5 +++++
 1 file changed, 5 insertions(+)
include/linux/of.h +5 -0
index dc6e39696b64..bea9e092979d 100644
@@ -672,6 +672,11 @@ static inline void of_property_clear_flag(struct property *p, unsigned long flag
 {
 }
 
+static inline u64 of_read_number(const __be32 *cell, int size)
+{
+	return 0;
+}
+
 #define of_match_ptr(_ptr)	NULL
 #define of_match_node(_matches, _node)	NULL
 #endif /* CONFIG_OF */
Signature · 1 line
2.7.2
#2 lore raw

Re: [PATCH 01/63] of: Empty of_read_number when !OF

Quoted 4 lines · Alexander Stein

Introduce empty of_read_number when CONFIG_OF is not defined. This allows us to compile test gpio drivers.

I need to wait for the OF maintainer to merge this or provide an ACK before I proceed with this patch series. It's pretty late so let's consider this v4.7 material at this point.

Yours,
Linus Walleij

#3 lore raw

PATCH 2/63 gpio: gpiolib-of: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 619767b0c0bc..7da57e4f0fea 100644
@@ -49,7 +49,7 @@ config GPIO_DEVRES
 
 config OF_GPIO
 	def_bool y
-	depends on OF
+	depends on OF || COMPILE_TEST
 
 config GPIO_ACPI
 	def_bool y
Signature · 1 line
2.7.2
#4 lore raw

PATCH 3/63 gpio: tegra: Allow compile test

In reply to Alexander Stein

Allow compile testing this driver by adding a new config option which is enabled by default and depends on the old symbol or COMPILE_TEST.

---
 drivers/gpio/Kconfig  | 5 +++++
 drivers/gpio/Makefile | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
drivers/gpio/Kconfig +5 -0
index 7da57e4f0fea..8bf09873977c 100644
@@ -392,6 +392,11 @@ config GPIO_TB10X
 	select GENERIC_IRQ_CHIP
 	select OF_GPIO
 
+config GPIO_TEGRA
+	bool
+	default y
+	depends on ARCH_TEGRA || COMPILE_TEST
+
 config GPIO_TS4800
 	tristate "TS-4800 DIO blocks and compatibles"
 	depends on OF_GPIO
drivers/gpio/Makefile +1 -1
index f1d3d823d1bc..422802270f48 100644
@@ -94,7 +94,7 @@ obj-$(CONFIG_GPIO_SX150X)	+= gpio-sx150x.o
 obj-$(CONFIG_GPIO_SYSCON)	+= gpio-syscon.o
 obj-$(CONFIG_GPIO_TB10X)	+= gpio-tb10x.o
 obj-$(CONFIG_GPIO_TC3589X)	+= gpio-tc3589x.o
-obj-$(CONFIG_ARCH_TEGRA)	+= gpio-tegra.o
+obj-$(CONFIG_GPIO_TEGRA)	+= gpio-tegra.o
 obj-$(CONFIG_GPIO_TIMBERDALE)	+= gpio-timberdale.o
 obj-$(CONFIG_GPIO_PALMAS)	+= gpio-palmas.o
 obj-$(CONFIG_GPIO_TPIC2810)	+= gpio-tpic2810.o
Signature · 1 line
2.7.2
#5 lore raw

PATCH 4/63 gpio: davinci: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 8bf09873977c..ffc6a2bf9b8b 100644
@@ -161,7 +161,7 @@ config GPIO_CLPS711X
 config GPIO_DAVINCI
 	bool "TI Davinci/Keystone GPIO support"
 	default y if ARCH_DAVINCI
-	depends on ARM && (ARCH_DAVINCI || ARCH_KEYSTONE)
+	depends on ARM && (ARCH_DAVINCI || ARCH_KEYSTONE) || COMPILE_TEST
 	help
 	  Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
 
Signature · 1 line
2.7.2
#6 lore raw

PATCH 5/63 gpio: em: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index ffc6a2bf9b8b..6c1d862577b5 100644
@@ -175,7 +175,7 @@ config GPIO_DWAPB
 
 config GPIO_EM
 	tristate "Emma Mobile GPIO"
-	depends on ARM && OF_GPIO
+	depends on ARM && OF_GPIO || COMPILE_TEST
 	help
 	  Say yes here to support GPIO on Renesas Emma Mobile SoCs.
 
Signature · 1 line
2.7.2
#7 lore raw

PATCH 6/63 gpio: ge: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 6c1d862577b5..41cdfead018f 100644
@@ -195,7 +195,7 @@ config GPIO_ETRAXFS
 
 config GPIO_GE_FPGA
 	bool "GE FPGA based GPIO"
-	depends on GE_FPGA
+	depends on GE_FPGA || COMPILE_TEST
 	select GPIO_GENERIC
 	help
 	  Support for common GPIO functionality provided on some GE Single Board
Signature · 1 line
2.7.2
#8 lore raw

PATCH 7/63 gpio: iop: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 41cdfead018f..d470f93ef7a7 100644
@@ -235,7 +235,7 @@ config GPIO_ICH
 
 config GPIO_IOP
 	tristate "Intel IOP GPIO"
-	depends on ARM && (ARCH_IOP32X || ARCH_IOP33X)
+	depends on ARM && (ARCH_IOP32X || ARCH_IOP33X) || COMPILE_TEST
 	help
 	  Say yes here to support the GPIO functionality of a number of Intel
 	  IOP32X or IOP33X.
Signature · 1 line
2.7.2
#9 lore raw

PATCH 8/63 gpio: moxart: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index d470f93ef7a7..558c4d2789c6 100644
@@ -280,7 +280,7 @@ config GPIO_MM_LANTIQ
 
 config GPIO_MOXART
 	bool "MOXART GPIO support"
-	depends on ARCH_MOXART
+	depends on ARCH_MOXART || COMPILE_TEST
 	select GPIO_GENERIC
 	help
 	  Select this option to enable GPIO driver for
Signature · 1 line
2.7.2
#10 lore raw

PATCH 9/63 gpio: mvebu: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 558c4d2789c6..60e18597cd43 100644
@@ -302,7 +302,7 @@ config GPIO_MPC8XXX
 
 config GPIO_MVEBU
 	def_bool y
-	depends on PLAT_ORION
+	depends on PLAT_ORION || COMPILE_TEST
 	depends on OF
 	select GENERIC_IRQ_CHIP
 
Signature · 1 line
2.7.2
#11 lore raw

PATCH 10/63 gpio: mxc: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 60e18597cd43..0b46dc009a82 100644
@@ -308,7 +308,7 @@ config GPIO_MVEBU
 
 config GPIO_MXC
 	def_bool y
-	depends on ARCH_MXC
+	depends on ARCH_MXC || COMPILE_TEST
 	select GPIO_GENERIC
 	select GENERIC_IRQ_CHIP
 
Signature · 1 line
2.7.2
#12 lore raw

PATCH 11/63 gpio: mxs: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 0b46dc009a82..451420bd53a6 100644
@@ -314,7 +314,7 @@ config GPIO_MXC
 
 config GPIO_MXS
 	def_bool y
-	depends on ARCH_MXS
+	depends on ARCH_MXS || COMPILE_TEST
 	select GPIO_GENERIC
 	select GENERIC_IRQ_CHIP
 
Signature · 1 line
2.7.2
#13 lore raw

PATCH 12/63 gpio: omap: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 451420bd53a6..e063ca96d443 100644
@@ -329,7 +329,7 @@ config GPIO_OCTEON
 config GPIO_OMAP
 	tristate "TI OMAP GPIO support" if ARCH_OMAP2PLUS || COMPILE_TEST
 	default y if ARCH_OMAP
-	depends on ARM
+	depends on ARM || COMPILE_TEST
 	select GENERIC_IRQ_CHIP
 	select GPIOLIB_IRQCHIP
 	help
Signature · 1 line
2.7.2
#14 lore raw

PATCH 13/63 gpio: pl061: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index e063ca96d443..aebfa0e61871 100644
@@ -337,7 +337,7 @@ config GPIO_OMAP
 
 config GPIO_PL061
 	bool "PrimeCell PL061 GPIO support"
-	depends on ARM_AMBA
+	depends on ARM_AMBA || COMPILE_TEST
 	select IRQ_DOMAIN
 	select GPIOLIB_IRQCHIP
 	help
Signature · 1 line
2.7.2
#15 lore raw

PATCH 14/63 gpio: pxa: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index aebfa0e61871..480149f2e9df 100644
@@ -345,7 +345,7 @@ config GPIO_PL061
 
 config GPIO_PXA
 	bool "PXA GPIO support"
-	depends on ARCH_PXA || ARCH_MMP
+	depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
 	help
 	  Say yes here to support the PXA GPIO device
 
Signature · 1 line
2.7.2
#16 lore raw

PATCH 15/63 gpio: spear-spics: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 480149f2e9df..127fa465273a 100644
@@ -358,7 +358,7 @@ config GPIO_RCAR
 
 config GPIO_SPEAR_SPICS
 	bool "ST SPEAr13xx SPI Chip Select as GPIO support"
-	depends on PLAT_SPEAR
+	depends on PLAT_SPEAR || COMPILE_TEST
 	select GENERIC_IRQ_CHIP
 	help
 	  Say yes here to support ST SPEAr SPI Chip Select as GPIO device
Signature · 1 line
2.7.2
#17 lore raw

PATCH 16/63 gpio: sta2x11: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 127fa465273a..23b40c839459 100644
@@ -365,7 +365,7 @@ config GPIO_SPEAR_SPICS
 
 config GPIO_STA2X11
 	bool "STA2x11/ConneXt GPIO support"
-	depends on MFD_STA2X11
+	depends on MFD_STA2X11 || COMPILE_TEST
 	select GENERIC_IRQ_CHIP
 	help
 	  Say yes here to support the STA2x11/ConneXt GPIO device.
Signature · 1 line
2.7.2
#18 lore raw

PATCH 17/63 gpio: syscon: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 23b40c839459..52cdd093e31b 100644
@@ -383,7 +383,7 @@ config GPIO_STP_XWAY
 
 config GPIO_SYSCON
 	tristate "GPIO based on SYSCON"
-	depends on MFD_SYSCON && OF
+	depends on MFD_SYSCON && OF || COMPILE_TEST
 	help
 	  Say yes here to support GPIO functionality though SYSCON driver.
 
Signature · 1 line
2.7.2
#19 lore raw

PATCH 18/63 gpio: tb10x: Allow compile testing

In reply to Alexander Stein

Enable when compile testing.

---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/Kconfig +1 -0
index 52cdd093e31b..9b98845d3b31 100644
@@ -389,6 +389,7 @@ config GPIO_SYSCON
 
 config GPIO_TB10X
 	bool
+	default y if COMPILE_TEST
 	select GENERIC_IRQ_CHIP
 	select OF_GPIO
 
Signature · 1 line
2.7.2
#20 lore raw

PATCH 19/63 gpio vf610: Explicitly include pinctrl consumer header

In reply to Alexander Stein

If !PINCTRL this header is not included in linux/pinctrl/devinfo.h leading to this error:
error: implicit declaration of function 'pinctrl_gpio_direction_input'

Adding the missing header fixes this.

---
 drivers/gpio/gpio-vf610.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/gpio-vf610.c +1 -0
index 6284bdbe1e0c..af4ab289ca05 100644
@@ -28,6 +28,7 @@
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_irq.h>
+#include <linux/pinctrl/consumer.h>
 
 #define VF610_GPIO_PER_PORT		32
 
Signature · 1 line
2.7.2
#21 lore raw

PATCH 20/63 gpio: vf610: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 9b98845d3b31..275e2ab2af57 100644
@@ -422,7 +422,7 @@ config GPIO_TZ1090_PDC
 
 config GPIO_VF610
 	def_bool y
-	depends on ARCH_MXC && SOC_VF610
+	depends on ARCH_MXC && SOC_VF610 || COMPILE_TEST
 	select GPIOLIB_IRQCHIP
 	help
 	  Say yes here to support Vybrid vf610 GPIOs.
Signature · 1 line
2.7.2
#22 lore raw

PATCH 21/63 gpio: xgene: Allow compile testing

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 275e2ab2af57..5f0591e5ebb6 100644
@@ -447,7 +447,7 @@ config GPIO_VX855
 
 config GPIO_XGENE
 	bool "APM X-Gene GPIO controller support"
-	depends on ARM64 && OF_GPIO
+	depends on ARM64 && OF_GPIO || COMPILE_TEST
 	help
 	  This driver is to support the GPIO block within the APM X-Gene SoC
 	  platform's generic flash controller. The GPIO pins are muxed with
Signature · 1 line
2.7.2
#23 lore raw

PATCH 22/63 gpio: xlp: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 5f0591e5ebb6..86f6621e3c89 100644
@@ -470,7 +470,7 @@ config GPIO_XILINX
 
 config GPIO_XLP
 	tristate "Netlogic XLP GPIO support"
-	depends on CPU_XLP && OF_GPIO
+	depends on CPU_XLP && OF_GPIO || COMPILE_TEST
 	select GPIOLIB_IRQCHIP
 	help
 	  This driver provides support for GPIO interface on Netlogic XLP MIPS64
Signature · 1 line
2.7.2
#24 lore raw

PATCH 23/63 gpio: zynq: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 86f6621e3c89..49897590e9b3 100644
@@ -496,7 +496,7 @@ 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.
Signature · 1 line
2.7.2
#25 lore raw

PATCH 24/63 gpio: mc9s08dz60: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 49897590e9b3..d5df32cccabb 100644
@@ -677,7 +677,7 @@ config GPIO_MAX732X_IRQ
 
 config GPIO_MC9S08DZ60
 	bool "MX35 3DS BOARD MC9S08DZ60 GPIO functions"
-	depends on I2C=y && MACH_MX35_3DS
+	depends on I2C=y && MACH_MX35_3DS || COMPILE_TEST
 	help
 	  Select this to enable the MC9S08DZ60 GPIO driver
 
Signature · 1 line
2.7.2
#26 lore raw

PATCH 25/63 gpio: adp5520: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index d5df32cccabb..818493192a0b 100644
@@ -759,7 +759,7 @@ menu "MFD GPIO expanders"
 
 config GPIO_ADP5520
 	tristate "GPIO Support for ADP5520 PMIC"
-	depends on PMIC_ADP5520
+	depends on PMIC_ADP5520 || COMPILE_TEST
 	help
 	  This option enables support for on-chip GPIO found
 	  on Analog Devices ADP5520 PMICs.
Signature · 1 line
2.7.2
#27 lore raw

PATCH 26/63 gpio: arizona: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 818493192a0b..db828cf76ca8 100644
@@ -766,7 +766,7 @@ config GPIO_ADP5520
 
 config GPIO_ARIZONA
 	tristate "Wolfson Microelectronics Arizona class devices"
-	depends on MFD_ARIZONA
+	depends on MFD_ARIZONA || COMPILE_TEST
 	help
 	  Support for GPIOs on Wolfson Arizona class devices.
 
Signature · 1 line
2.7.2
#28 lore raw

PATCH 27/63 gpio: crystalcove: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index db828cf76ca8..cc56d24a543c 100644
@@ -772,7 +772,7 @@ config GPIO_ARIZONA
 
 config GPIO_CRYSTAL_COVE
 	tristate "GPIO support for Crystal Cove PMIC"
-	depends on INTEL_SOC_PMIC
+	depends on INTEL_SOC_PMIC || COMPILE_TEST
 	select GPIOLIB_IRQCHIP
 	help
 	  Support for GPIO pins on Crystal Cove PMIC.
Signature · 1 line
2.7.2
#29 lore raw

PATCH 28/63 gpio: da9052: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index cc56d24a543c..65a6ce68da8e 100644
@@ -795,7 +795,7 @@ config GPIO_CS5535
 
 config GPIO_DA9052
 	tristate "Dialog DA9052 GPIO"
-	depends on PMIC_DA9052
+	depends on PMIC_DA9052 || COMPILE_TEST
 	help
 	  Say yes here to enable the GPIO driver for the DA9052 chip.
 
Signature · 1 line
2.7.2
#30 lore raw

PATCH 29/63 gpio: da9055: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 65a6ce68da8e..3a1bb26dcce8 100644
@@ -801,7 +801,7 @@ config GPIO_DA9052
 
 config GPIO_DA9055
 	tristate "Dialog Semiconductor DA9055 GPIO"
-	depends on MFD_DA9055
+	depends on MFD_DA9055 || COMPILE_TEST
 	help
 	  Say yes here to enable the GPIO driver for the DA9055 chip.
 
Signature · 1 line
2.7.2
#31 lore raw

PATCH 30/63 gpio: dln2: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 3a1bb26dcce8..ce4dd23fa22f 100644
@@ -812,7 +812,7 @@ config GPIO_DA9055
 
 config GPIO_DLN2
 	tristate "Diolan DLN2 GPIO support"
-	depends on MFD_DLN2
+	depends on MFD_DLN2 || COMPILE_TEST
 	select GPIOLIB_IRQCHIP
 
 	help
Signature · 1 line
2.7.2
#32 lore raw

PATCH 31/63 gpio: jantz-ttl: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index ce4dd23fa22f..de47e88ab51b 100644
@@ -824,7 +824,7 @@ config GPIO_DLN2
 
 config GPIO_JANZ_TTL
 	tristate "Janz VMOD-TTL Digital IO Module"
-	depends on MFD_JANZ_CMODIO
+	depends on MFD_JANZ_CMODIO || COMPILE_TEST
 	help
 	  This enables support for the Janz VMOD-TTL Digital IO module.
 	  This driver provides support for driving the pins in output
Signature · 1 line
2.7.2
#33 lore raw

PATCH 32/63 gpio: kempld: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index de47e88ab51b..03e87377d3d9 100644
@@ -832,7 +832,7 @@ config GPIO_JANZ_TTL
 
 config GPIO_KEMPLD
 	tristate "Kontron ETX / COMexpress GPIO"
-	depends on MFD_KEMPLD
+	depends on MFD_KEMPLD || COMPILE_TEST
 	help
 	  This enables support for the PLD GPIO interface on some Kontron ETX
 	  and COMexpress (ETXexpress) modules.
Signature · 1 line
2.7.2
#34 lore raw

PATCH 33/63 gpio: lp3943: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 03e87377d3d9..7654258068ea 100644
@@ -842,7 +842,7 @@ config GPIO_KEMPLD
 
 config GPIO_LP3943
 	tristate "TI/National Semiconductor LP3943 GPIO expander"
-	depends on MFD_LP3943
+	depends on MFD_LP3943 || COMPILE_TEST
 	help
 	  GPIO driver for LP3943 MFD.
 	  LP3943 can be used as a GPIO expander which provides up to 16 GPIOs.
Signature · 1 line
2.7.2
#35 lore raw

PATCH 34/63 gpio: msic: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 7654258068ea..1b6d1844a058 100644
@@ -850,7 +850,7 @@ config GPIO_LP3943
 
 config GPIO_MSIC
 	bool "Intel MSIC mixed signal gpio support"
-	depends on MFD_INTEL_MSIC
+	depends on MFD_INTEL_MSIC || COMPILE_TEST
 	help
 	  Enable support for GPIO on intel MSIC controllers found in
 	  intel MID devices
Signature · 1 line
2.7.2
#36 lore raw

PATCH 35/63 gpio: palmas: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 1b6d1844a058..14f619689f42 100644
@@ -857,7 +857,7 @@ config GPIO_MSIC
 
 config GPIO_PALMAS
 	bool "TI PALMAS series PMICs GPIO"
-	depends on MFD_PALMAS
+	depends on MFD_PALMAS || COMPILE_TEST
 	help
 	  Select this option to enable GPIO driver for the TI PALMAS
 	  series chip family.
Signature · 1 line
2.7.2
#37 lore raw

PATCH 36/63 gpio: rc5t583: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 14f619689f42..1a3268490bef 100644
@@ -864,7 +864,7 @@ config GPIO_PALMAS
 
 config GPIO_RC5T583
 	bool "RICOH RC5T583 GPIO"
-	depends on MFD_RC5T583
+	depends on MFD_RC5T583 || COMPILE_TEST
 	help
 	  Select this option to enable GPIO driver for the Ricoh RC5T583
 	  chip family.
Signature · 1 line
2.7.2
#38 lore raw

PATCH 37/63 gpio: timberdale: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 1a3268490bef..ab17a7bb359b 100644
@@ -891,7 +891,7 @@ config GPIO_TC3589X
 
 config GPIO_TIMBERDALE
 	bool "Support for timberdale GPIO IP"
-	depends on MFD_TIMBERDALE
+	depends on MFD_TIMBERDALE || COMPILE_TEST
 	---help---
 	Add support for the GPIO IP in the timberdale FPGA.
 
Signature · 1 line
2.7.2
#39 lore raw

PATCH 38/63 gpio: tps65218: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index ab17a7bb359b..b2f4237883d3 100644
@@ -897,7 +897,7 @@ config GPIO_TIMBERDALE
 
 config GPIO_TPS65218
 	tristate "TPS65218 GPIO"
-	depends on MFD_TPS65218
+	depends on MFD_TPS65218 || COMPILE_TEST
 	help
 	  Select this option to enable GPIO driver for the TPS65218
 	  chip family.
Signature · 1 line
2.7.2
#40 lore raw

PATCH 39/63 gpio: tps6586x: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index b2f4237883d3..01497752ae3c 100644
@@ -904,7 +904,7 @@ config GPIO_TPS65218
 
 config GPIO_TPS6586X
 	bool "TPS6586X GPIO"
-	depends on MFD_TPS6586X
+	depends on MFD_TPS6586X || COMPILE_TEST
 	help
 	  Select this option to enable GPIO driver for the TPS6586X
 	  chip family.
Signature · 1 line
2.7.2
#41 lore raw

PATCH 40/63 gpio: tps65910: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 01497752ae3c..a9f0befdf119 100644
@@ -911,7 +911,7 @@ config GPIO_TPS6586X
 
 config GPIO_TPS65910
 	bool "TPS65910 GPIO"
-	depends on MFD_TPS65910
+	depends on MFD_TPS65910 || COMPILE_TEST
 	help
 	  Select this option to enable GPIO driver for the TPS65910
 	  chip family.
Signature · 1 line
2.7.2
#42 lore raw

PATCH 41/63 gpio: tps65912: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index a9f0befdf119..b9ee764a1d60 100644
@@ -918,7 +918,7 @@ config GPIO_TPS65910
 
 config GPIO_TPS65912
 	tristate "TI TPS65912 GPIO"
-	depends on (MFD_TPS65912_I2C || MFD_TPS65912_SPI)
+	depends on (MFD_TPS65912_I2C || MFD_TPS65912_SPI) || COMPILE_TEST
 	help
 	  This driver supports TPS65912 gpio chip
 
Signature · 1 line
2.7.2
#43 lore raw

PATCH 42/63 gpio: twl4030: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index b9ee764a1d60..ba9e7e3f3a56 100644
@@ -924,7 +924,7 @@ config GPIO_TPS65912
 
 config GPIO_TWL4030
 	tristate "TWL4030, TWL5030, and TPS659x0 GPIOs"
-	depends on TWL4030_CORE
+	depends on TWL4030_CORE || COMPILE_TEST
 	help
 	  Say yes here to access the GPIO signals of various multi-function
 	  power management chips from Texas Instruments.
Signature · 1 line
2.7.2
#44 lore raw

PATCH 43/63 gpio: twl6040: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index ba9e7e3f3a56..54071acb7fa4 100644
@@ -931,7 +931,7 @@ config GPIO_TWL4030
 
 config GPIO_TWL6040
 	tristate "TWL6040 GPO"
-	depends on TWL6040_CORE
+	depends on TWL6040_CORE || COMPILE_TEST
 	help
 	  Say yes here to access the GPO signals of twl6040
 	  audio chip from Texas Instruments.
Signature · 1 line
2.7.2
#45 lore raw

PATCH 44/63 gpio: ucb1400: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 54071acb7fa4..a971731a3735 100644
@@ -938,7 +938,7 @@ config GPIO_TWL6040
 
 config GPIO_UCB1400
 	tristate "Philips UCB1400 GPIO"
-	depends on UCB1400_CORE
+	depends on UCB1400_CORE || COMPILE_TEST
 	help
 	  This enables support for the Philips UCB1400 GPIO pins.
 	  The UCB1400 is an AC97 audio codec.
Signature · 1 line
2.7.2
#46 lore raw

PATCH 45/63 gpio: wm831x: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index a971731a3735..fdcbe0946ea5 100644
@@ -945,7 +945,7 @@ config GPIO_UCB1400
 
 config GPIO_WM831X
 	tristate "WM831x GPIOs"
-	depends on MFD_WM831X
+	depends on MFD_WM831X || COMPILE_TEST
 	help
 	  Say yes here to access the GPIO signals of WM831x power management
 	  chips from Wolfson Microelectronics.
Signature · 1 line
2.7.2
#47 lore raw

PATCH 46/63 gpio: wm8350: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index fdcbe0946ea5..3e78eca42b2b 100644
@@ -952,7 +952,7 @@ config GPIO_WM831X
 
 config GPIO_WM8350
 	tristate "WM8350 GPIOs"
-	depends on MFD_WM8350
+	depends on MFD_WM8350 || COMPILE_TEST
 	help
 	  Say yes here to access the GPIO signals of WM8350 power management
 	  chips from Wolfson Microelectronics.
Signature · 1 line
2.7.2
#48 lore raw

PATCH 47/63 gpio: wm8994: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 3e78eca42b2b..a051c1ebf11b 100644
@@ -959,7 +959,7 @@ config GPIO_WM8350
 
 config GPIO_WM8994
 	tristate "WM8994 GPIOs"
-	depends on MFD_WM8994
+	depends on MFD_WM8994 || COMPILE_TEST
 	help
 	  Say yes here to access the GPIO signals of WM8994 audio hub
 	  CODECs from Wolfson Microelectronics.
Signature · 1 line
2.7.2
#49 lore raw

PATCH 48/63 gpio: viperboard: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index a051c1ebf11b..fcbc767a685f 100644
@@ -1095,7 +1095,7 @@ menu "USB GPIO expanders"
 
 config GPIO_VIPERBOARD
 	tristate "Viperboard GPIO a & b support"
-	depends on MFD_VIPERBOARD
+	depends on MFD_VIPERBOARD || COMPILE_TEST
 	help
 	  Say yes here to access the GPIO signals of Nano River
 	  Technologies Viperboard. There are two GPIO chips on the
Signature · 1 line
2.7.2
#50 lore raw

PATCH 49/63 gpio: stmpe: Move dependencies to a single line

In reply to Alexander Stein

It's easier to add a simple || COMPILE_TEST whis way.

---
 drivers/gpio/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpio/Kconfig +1 -2
index fcbc767a685f..a699215a67e6 100644
@@ -873,8 +873,7 @@ config GPIO_RC5T583
 
 config GPIO_STMPE
 	bool "STMPE GPIOs"
-	depends on MFD_STMPE
-	depends on OF_GPIO
+	depends on MFD_STMPE && OF_GPIO
 	select GPIOLIB_IRQCHIP
 	help
 	  This enables support for the GPIOs found on the STMPE I/O
Signature · 1 line
2.7.2
#51 lore raw

PATCH 50/63 gpio: stmpe: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index a699215a67e6..2f03157a41bc 100644
@@ -873,7 +873,7 @@ config GPIO_RC5T583
 
 config GPIO_STMPE
 	bool "STMPE GPIOs"
-	depends on MFD_STMPE && OF_GPIO
+	depends on MFD_STMPE && OF_GPIO || COMPILE_TEST
 	select GPIOLIB_IRQCHIP
 	help
 	  This enables support for the GPIOs found on the STMPE I/O
Signature · 1 line
2.7.2
#52 lore raw

PATCH 51/63 gpio: tc3589x: Move dependencies to a single line

In reply to Alexander Stein

It's easier to add a simple || COMPILE_TEST whis way.

---
 drivers/gpio/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpio/Kconfig +1 -2
index 2f03157a41bc..cf183cb3ac82 100644
@@ -881,8 +881,7 @@ config GPIO_STMPE
 
 config GPIO_TC3589X
 	bool "TC3589X GPIOs"
-	depends on MFD_TC3589X
-	depends on OF_GPIO
+	depends on MFD_TC3589X && OF_GPIO
 	select GPIOLIB_IRQCHIP
 	help
 	  This enables support for the GPIOs found on the TC3589X
Signature · 1 line
2.7.2
#53 lore raw

PATCH 52/63 gpio: tc3589x: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index cf183cb3ac82..2058ec0a810b 100644
@@ -881,7 +881,7 @@ config GPIO_STMPE
 
 config GPIO_TC3589X
 	bool "TC3589X GPIOs"
-	depends on MFD_TC3589X && OF_GPIO
+	depends on MFD_TC3589X && OF_GPIO || COMPILE_TEST
 	select GPIOLIB_IRQCHIP
 	help
 	  This enables support for the GPIOs found on the TC3589X
Signature · 1 line
2.7.2
#54 lore raw

PATCH 53/63 gpio: ich: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 2058ec0a810b..d4e09553f8c2 100644
@@ -222,7 +222,7 @@ config GPIO_GRGPIO
 
 config GPIO_ICH
 	tristate "Intel ICH GPIO"
-	depends on PCI && X86
+	depends on PCI && X86 || COMPILE_TEST
 	select MFD_CORE
 	select LPC_ICH
 	help
Signature · 1 line
2.7.2
#55 lore raw

PATCH 54/63 gpio: lynxpoint: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index d4e09553f8c2..4bfacf1d4137 100644
@@ -258,7 +258,7 @@ config GPIO_LPC18XX
 
 config GPIO_LYNXPOINT
 	tristate "Intel Lynxpoint GPIO support"
-	depends on ACPI && X86
+	depends on ACPI && X86 || COMPILE_TEST
 	select GPIOLIB_IRQCHIP
 	help
 	  driver for GPIO functionality on Intel Lynxpoint PCH chipset
Signature · 1 line
2.7.2
#56 lore raw

PATCH 55/63 gpio: vx855: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 4bfacf1d4137..db5e571c7fb9 100644
@@ -435,7 +435,7 @@ config GPIO_VR41XX
 
 config GPIO_VX855
 	tristate "VIA VX855/VX875 GPIO"
-	depends on PCI
+	depends on PCI || COMPILE_TEST
 	select MFD_CORE
 	select MFD_VX855
 	help
Signature · 1 line
2.7.2
#57 lore raw

PATCH 56/63 gpio: sch: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpio/Kconfig +2 -2
index db5e571c7fb9..b83bb56d290d 100644
@@ -510,7 +510,7 @@ config GPIO_ZX
 endmenu
 
 menu "Port-mapped I/O GPIO drivers"
-	depends on X86 # Unconditional I/O space access
+	depends on X86 || COMPILE_TEST # Unconditional I/O space access
 
 config GPIO_104_DIO_48E
 	tristate "ACCES 104-DIO-48E GPIO support"
@@ -561,7 +561,7 @@ config GPIO_IT87
 
 config GPIO_SCH
 	tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO"
-	depends on PCI
+	depends on PCI || COMPILE_TEST
 	select MFD_CORE
 	select LPC_SCH
 	help
Signature · 1 line
2.7.2
#58 lore raw

PATCH 57/63 gpio: bt8xx: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpio/Kconfig +2 -2
index b83bb56d290d..99c45b846530 100644
@@ -965,7 +965,7 @@ config GPIO_WM8994
 endmenu
 
 menu "PCI GPIO expanders"
-	depends on PCI
+	depends on PCI || COMPILE_TEST
 
 config GPIO_AMD8111
 	tristate "AMD 8111 GPIO driver"
@@ -980,7 +980,7 @@ config GPIO_AMD8111
 
 config GPIO_BT8XX
 	tristate "BT8XX GPIO abuser"
-	depends on VIDEO_BT848=n
+	depends on VIDEO_BT848=n || COMPILE_TEST
 	help
 	  The BT8xx frame grabber chip has 24 GPIO pins that can be abused
 	  as a cheap PCI GPIO card.
Signature · 1 line
2.7.2
#59 lore raw

PATCH 58/63 gpio: intel-mid: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 99c45b846530..2cde6a101869 100644
@@ -996,7 +996,7 @@ config GPIO_BT8XX
 
 config GPIO_INTEL_MID
 	bool "Intel Mid GPIO support"
-	depends on X86
+	depends on X86 || COMPILE_TEST
 	select GPIOLIB_IRQCHIP
 	help
 	  Say Y here to support Intel Mid GPIO.
Signature · 1 line
2.7.2
#60 lore raw

PATCH 59/63 gpio: sodaville: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 2cde6a101869..aa6007b71a16 100644
@@ -1036,7 +1036,7 @@ config GPIO_RDC321X
 
 config GPIO_SODAVILLE
 	bool "Intel Sodaville GPIO support"
-	depends on X86 && OF
+	depends on X86 && OF || COMPILE_TEST
 	select GPIO_GENERIC
 	select GENERIC_IRQ_CHIP
 	help
Signature · 1 line
2.7.2
#61 lore raw

PATCH 60/63 gpio: 74x164: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index aa6007b71a16..8cbece5e9955 100644
@@ -1049,7 +1049,7 @@ menu "SPI GPIO expanders"
 
 config GPIO_74X164
 	tristate "74x164 serial-in/parallel-out 8-bits shift register"
-	depends on OF
+	depends on OF || COMPILE_TEST
 	help
 	  Driver for 74x164 compatible serial-in/parallel-out 8-outputs
 	  shift registers. This driver can be used to provide access
Signature · 1 line
2.7.2
#62 lore raw

PATCH 61/63 gpio: etraxfs: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 8cbece5e9955..b331dc3e050c 100644
@@ -187,7 +187,7 @@ config GPIO_EP93XX
 config GPIO_ETRAXFS
 	bool "Axis ETRAX FS General I/O"
 	depends on CRIS || COMPILE_TEST
-	depends on OF
+	depends on OF || COMPILE_TEST
 	select GPIO_GENERIC
 	select GPIOLIB_IRQCHIP
 	help
Signature · 1 line
2.7.2
#63 lore raw

PATCH 62/63 gpio: grgpio: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index b331dc3e050c..121605bd38fa 100644
@@ -213,7 +213,7 @@ config GPIO_GENERIC_PLATFORM
 
 config GPIO_GRGPIO
 	tristate "Aeroflex Gaisler GRGPIO support"
-	depends on OF
+	depends on OF || COMPILE_TEST
 	select GPIO_GENERIC
 	select IRQ_DOMAIN
 	help
Signature · 1 line
2.7.2
#64 lore raw

PATCH 63/63 gpio: mvebu: Allow compile testing

In reply to Alexander Stein

Lower dependencies for compile testing.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 121605bd38fa..a22c392f1ae2 100644
@@ -303,7 +303,7 @@ config GPIO_MPC8XXX
 config GPIO_MVEBU
 	def_bool y
 	depends on PLAT_ORION || COMPILE_TEST
-	depends on OF
+	depends on OF || COMPILE_TEST
 	select GENERIC_IRQ_CHIP
 
 config GPIO_MXC
Signature · 1 line
2.7.2
#65 lore raw
In reply to Alexander Stein

On Friday 26 February 2016, 14:17:09 wrote Alexander Stein:

Quoted 6 lines

This patch set allows compile testing of most gpio drivers. I compiled all from this list for x86_64 and arm. The drivers missing are using arch specific includes or code only available on that platform, e.g. msr on x86, which is unavailable on others.
I didn't include the OF people for the first one in purpose as I want some feedback first.

Any feedback on this?

Best regards,
Alexander

#66 lore raw
In reply to Alexander Stein
Quoted 7 lines · Alexander Stein

This patch set allows compile testing of most gpio drivers. I compiled all from this list for x86_64 and arm. The drivers missing are using arch specific includes or code only available on that platform, e.g. msr on x86, which is unavailable on others.

I didn't include the OF people for the first one in purpose as I want some feedback first.

This is good. Is it possible that we take this for kernel v4.7 if you can get some ACK from the OF people for patch 1, and provide me a pull request from a git with all patches?

Yours,
Linus Walleij