Allow compile testing of most gpio drivers
Subsystems (2)
v2 cover Allow compile testing of most gpio drivers
Changes in v2:
* Removed patch for OF
Instead there is an addiditional patch to gpio-sodaville exchanging of_property_read_u32 with of_read_number. This was suggested by Rob Herring
(http://www.spinics.net/lists/devicetree/msg120979.html). As I'm not experienced in writing device-tree code for drivers, maybe I can get some feedback.
* Add compile test for gpio-tps65086 and gpio-xgene-sb
Now all changes are restricted to GPIO subsystem are available on
https://github.com/AlexanderStein/linux/tree/gpio-compile-test
Alexander Stein (63):
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: 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: 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: Use of_property_read_u32 instead of of_read_number
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
gpio: tps65086: Allow compile testing
gpio: xgene-sb: Allow compile testing
drivers/gpio/Kconfig | 126 ++++++++++++++++++++++-------------------- drivers/gpio/Makefile | 2 +- drivers/gpio/gpio-sodaville.c | 7 +-- drivers/gpio/gpio-vf610.c | 1 + 4 files changed, 68 insertions(+), 68 deletions(-)
Signature · 1 line
2.8.0
PATCH v2 1/63 gpio: gpiolib-of: Allow compile testing
Lower 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.8.0
PATCH v2 2/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
@@ -400,6 +400,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
@@ -95,7 +95,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.8.0
PATCH v2 3/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
@@ -162,7 +162,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.8.0
PATCH v2 4/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
@@ -176,7 +176,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.8.0
PATCH v2 5/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
@@ -196,7 +196,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.8.0
PATCH v2 7/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
@@ -310,7 +310,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.8.0
PATCH v2 6/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
@@ -236,7 +236,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.8.0
PATCH v2 8/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
@@ -316,7 +316,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.8.0
PATCH v2 9/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
@@ -322,7 +322,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.8.0
PATCH v2 10/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
@@ -337,7 +337,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.8.0
PATCH v2 11/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
@@ -345,7 +345,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.8.0
PATCH v2 12/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
@@ -353,7 +353,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.8.0
PATCH v2 13/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
@@ -366,7 +366,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.8.0
PATCH v2 14/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
@@ -373,7 +373,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.8.0
PATCH v2 15/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
@@ -391,7 +391,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.8.0
PATCH v2 16/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
@@ -397,6 +397,7 @@ config GPIO_SYSCON config GPIO_TB10X bool + default y if COMPILE_TEST select GENERIC_IRQ_CHIP select OF_GPIO
Signature · 1 line
2.8.0
PATCH v2 17/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.8.0
PATCH v2 18/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
@@ -431,7 +431,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.8.0
PATCH v2 19/63 gpio: xgene: 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
@@ -456,7 +456,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.8.0
PATCH v2 20/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
@@ -506,7 +506,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.8.0
PATCH v2 23/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
@@ -776,7 +776,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.8.0
PATCH v2 27/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
@@ -822,7 +822,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.8.0
PATCH v2 29/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
@@ -842,7 +842,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.8.0
PATCH v2 30/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
@@ -852,7 +852,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.8.0
PATCH v2 32/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
@@ -867,7 +867,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.8.0
PATCH v2 33/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
@@ -874,7 +874,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.8.0
PATCH v2 24/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
@@ -782,7 +782,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.8.0
PATCH v2 25/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
@@ -805,7 +805,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.8.0
PATCH v2 36/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
@@ -920,7 +920,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.8.0
PATCH v2 37/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
@@ -927,7 +927,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.8.0
PATCH v2 26/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
@@ -811,7 +811,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.8.0
PATCH v2 28/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
@@ -834,7 +834,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.8.0
PATCH v2 31/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
@@ -860,7 +860,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.8.0
PATCH v2 39/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
@@ -940,7 +940,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.8.0
PATCH v2 21/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
@@ -687,7 +687,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.8.0
PATCH v2 22/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
@@ -769,7 +769,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.8.0
PATCH v2 34/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
@@ -901,7 +901,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.8.0
PATCH v2 35/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
@@ -913,7 +913,7 @@ config GPIO_TPS65086 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.8.0
PATCH v2 38/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
@@ -934,7 +934,7 @@ config GPIO_TPS65910 config GPIO_TPS65912 tristate "TI TPS65912 GPIO" - depends on MFD_TPS65912 + depends on MFD_TPS65912 || COMPILE_TEST help This driver supports TPS65912 gpio chip
Signature · 1 line
2.8.0
PATCH v2 41/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
@@ -954,7 +954,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.8.0
PATCH v2 40/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
@@ -947,7 +947,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.8.0
PATCH v2 42/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
@@ -961,7 +961,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.8.0
PATCH v2 43/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
@@ -968,7 +968,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.8.0
PATCH v2 44/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
@@ -975,7 +975,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.8.0
PATCH v2 45/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
@@ -1112,7 +1112,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.8.0
PATCH v2 47/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
@@ -883,7 +883,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.8.0
PATCH v2 50/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
@@ -223,7 +223,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.8.0
PATCH v2 51/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
@@ -259,7 +259,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.8.0
PATCH v2 52/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
@@ -444,7 +444,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.8.0
PATCH v2 54/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
@@ -981,7 +981,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"
@@ -996,7 +996,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.8.0
PATCH v2 46/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
@@ -883,8 +883,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.8.0
PATCH v2 55/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
@@ -1012,7 +1012,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.8.0
PATCH v2 56/63 gpio: sodaville: Use of_property_read_u32 instead of of_read_number
In reply to Alexander SteinThis allows the driver to be compile tested without adding a dummy to of_read_number for !OF builds.
--- drivers/gpio/gpio-sodaville.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
drivers/gpio/gpio-sodaville.c +1 -6
@@ -192,8 +192,6 @@ static int sdv_gpio_probe(struct pci_dev *pdev, {struct sdv_gpio_chip_data *sd;unsigned long addr; -const void *prop; -int len;int ret;u32 mux_val;
@@ -219,11 +217,8 @@ static int sdv_gpio_probe(struct pci_dev *pdev, } sd->gpio_pub_base =ioremap (addr,pci_resource_len (pdev,GPIO_BAR )); - prop =of_get_property (pdev->dev.of_node,"intel,muxctl" , &len); -if (prop && len ==4 ) { - mux_val =of_read_number (prop,1 ); +if (!of_property_read_u32 (pdev->dev.of_node,"intel,muxctl" , &mux_val))writel (mux_val, sd->gpio_pub_base +GPMUXCTL ); - } ret = bgpio_init(&sd->chip, &pdev->dev, 4, sd->gpio_pub_base + GPINR, sd->gpio_pub_base + GPOUTR,
Signature · 1 line
2.8.0
PATCH v2 49/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
@@ -891,7 +891,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.8.0
PATCH v2 59/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
@@ -188,7 +188,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.8.0
PATCH v2 53/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
@@ -520,7 +520,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"
@@ -571,7 +571,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.8.0
PATCH v2 57/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
@@ -1052,7 +1052,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.8.0
PATCH v2 48/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
@@ -891,8 +891,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.8.0
PATCH v2 58/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
@@ -1065,7 +1065,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.8.0
PATCH v2 60/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
@@ -214,7 +214,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.8.0
PATCH v2 61/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
@@ -311,7 +311,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.8.0
PATCH v2 62/63 gpio: tps65086: 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
@@ -905,7 +905,7 @@ config GPIO_TIMBERDALE config GPIO_TPS65086 tristate "TI TPS65086 GPO" - depends on MFD_TPS65086 + depends on MFD_TPS65086 || COMPILE_TEST help This driver supports the GPO on TI TPS65086x PMICs.
Signature · 1 line
2.8.0
PATCH v2 63/63 gpio: xgene-sb: Allow compile testing
In reply to Alexander SteinLower dependencies for compile testing unless IRQ_DOMAIN_HIERARCHY is undefined, which is required by the driver to compile.
--- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
@@ -465,7 +465,7 @@ config GPIO_XGENE config GPIO_XGENE_SB tristate "APM X-Gene GPIO standby controller support" - depends on ARCH_XGENE && OF_GPIO + depends on ARCH_XGENE && OF_GPIO || COMPILE_TEST && IRQ_DOMAIN_HIERARCHY select GPIO_GENERIC select GPIOLIB_IRQCHIP help
Signature · 1 line
2.8.0
Quoted 2 lines · Alexander Stein
Now all changes are restricted to GPIO subsystem are available on
https://github.com/AlexanderStein/linux/tree/gpio-compile-test
Please do not base branches on my for-next branch, instead use my "devel" branch for stuff like this.
However I successfully pulled it in and rebase it, removing the offending commits, so I'm pushing this to the build servers for a massive test!
Let's see what happens.
Yours,
Linus Walleij
Quoted 5 lines · Linus Walleij
Quoted 2 lines · Alexander Stein
Now all changes are restricted to GPIO subsystem are available on
https://github.com/AlexanderStein/linux/tree/gpio-compile-test
Quoted 8 lines
Please do not base branches on my for-next branch, instead use my "devel" branch for stuff like this.
However I successfully pulled it in and rebase it, removing the offending commits, so I'm pushing this to the build servers for a massive test!
Let's see what happens.
As it turns out, it makes things explode to the left and right on the build servers.
I guess we need to trickle in a few patches at a time, while fixing the compile errors they raise.
Unfortunately the build servers have this tendency to shoot the messenger, but on the other hand, if we churn through them, drivers get fixed. Mostly Kconfig stuff it seems?
Yours,
Linus Walleij
On Monday 11 April 2016, 09:01:45 wrote Linus Walleij:
Quoted 1 line
On Fri, Apr 8, 2016 at 2:24 PM, Linus Walleij <[email protected]>
Quoted 11 lines · wrote:
Quoted 1 line
Let's see what happens.
As it turns out, it makes things explode to the left and right on the build servers.
I guess we need to trickle in a few patches at a time, while fixing the compile errors they raise.
Unfortunately the build servers have this tendency to shoot the messenger, but on the other hand, if we churn through them, drivers get fixed. Mostly
Kconfigstuff it seems?
Good to see this actually raises some errors.
Especially the blackfin errors related error appear to be Kconfig related. x86_64 errors are storing/restoring 32 bit integers in pointers. arm, sparc and i386 can be fixed by adding COMPILED_TEST to amba and mfd/intel_msic. Dunno what would be a good approach.
Best regards,
Alexander