Allow compile testing of most gpio drivers
Subsystems (2)
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
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
@@ -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
PATCH 2/63 gpio: gpiolib-of: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 3/63 gpio: tegra: Allow compile test
In reply to Alexander SteinAllow 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
@@ -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
@@ -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
PATCH 4/63 gpio: davinci: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 5/63 gpio: em: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 6/63 gpio: ge: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 7/63 gpio: iop: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 8/63 gpio: moxart: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 9/63 gpio: mvebu: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 10/63 gpio: mxc: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 11/63 gpio: mxs: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 12/63 gpio: omap: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 13/63 gpio: pl061: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 14/63 gpio: pxa: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 15/63 gpio: spear-spics: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 16/63 gpio: sta2x11: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 17/63 gpio: syscon: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 18/63 gpio: tb10x: Allow compile testing
In reply to Alexander SteinEnable when compile testing.
--- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/gpio/Kconfig +1 -0
@@ -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
PATCH 19/63 gpio vf610: Explicitly include pinctrl consumer header
In reply to Alexander SteinIf !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
@@ -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
PATCH 20/63 gpio: vf610: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
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
@@ -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
PATCH 22/63 gpio: xlp: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 24/63 gpio: mc9s08dz60: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 25/63 gpio: adp5520: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 26/63 gpio: arizona: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 23/63 gpio: zynq: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 27/63 gpio: crystalcove: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 28/63 gpio: da9052: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 29/63 gpio: da9055: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 30/63 gpio: dln2: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 32/63 gpio: kempld: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 33/63 gpio: lp3943: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 34/63 gpio: msic: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 31/63 gpio: jantz-ttl: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 37/63 gpio: timberdale: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 38/63 gpio: tps65218: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 39/63 gpio: tps6586x: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 35/63 gpio: palmas: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 36/63 gpio: rc5t583: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 40/63 gpio: tps65910: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 42/63 gpio: twl4030: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 41/63 gpio: tps65912: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 43/63 gpio: twl6040: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 44/63 gpio: ucb1400: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 45/63 gpio: wm831x: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 46/63 gpio: wm8350: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 47/63 gpio: wm8994: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 48/63 gpio: viperboard: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 49/63 gpio: stmpe: Move dependencies to a single line
In reply to Alexander SteinIt'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
@@ -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
PATCH 50/63 gpio: stmpe: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 51/63 gpio: tc3589x: Move dependencies to a single line
In reply to Alexander SteinIt'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
@@ -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
PATCH 52/63 gpio: tc3589x: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 53/63 gpio: ich: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 54/63 gpio: lynxpoint: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 55/63 gpio: vx855: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 56/63 gpio: sch: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpio/Kconfig +2 -2
@@ -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
PATCH 57/63 gpio: bt8xx: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpio/Kconfig +2 -2
@@ -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
PATCH 58/63 gpio: intel-mid: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 59/63 gpio: sodaville: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 60/63 gpio: 74x164: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 61/63 gpio: etraxfs: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 62/63 gpio: grgpio: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
PATCH 63/63 gpio: mvebu: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -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
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_64and 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
Re: [PATCH 01/63] of: Empty of_read_number when !OF
In reply to Alexander SteinQuoted 4 lines · Alexander Stein
Introduce empty
of_read_numberwhenCONFIG_OFis not defined. This allows us to compile test gpio drivers.Signed-off-by Alexander Stein <[email protected]>
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
Quoted 7 lines · Alexander Stein
This patch set allows compile testing of most gpio drivers. I compiled all from this list for
x86_64and 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