kernel: add KERNEL_GPIO_CDEV config option
authorStijn Tintel <stijn@linux-ipv6.be>
Wed, 9 Nov 2022 11:07:05 +0000 (13:07 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Wed, 9 Nov 2022 11:16:50 +0000 (13:16 +0200)
Add a new kernel config option to enable GPIO_CDEV. This is currently
enabled in a bunch of target kernel configs. Remove it there, and enable
the new symbol by default if the target enables the gpio feature.

Since this would result in it being disabled for several targets that
currently enable it, add the missing gpio feature to these targets to
avoid that.

Finally, change the nu801 package to depend on this new option rather
than selecting GPIO_CDEV in the kernel.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
57 files changed:
config/Config-kernel.in
package/system/gpio-cdev/nu801/Makefile
target/linux/airoha/config-5.15
target/linux/apm821xx/config-5.15
target/linux/armvirt/Makefile
target/linux/armvirt/config-5.15
target/linux/at91/Makefile
target/linux/at91/sam9x/config-5.15
target/linux/at91/sama5/config-5.15
target/linux/at91/sama7/config-5.15
target/linux/ath79/Makefile
target/linux/ath79/config-5.15
target/linux/bcm27xx/bcm2708/config-5.15
target/linux/bcm27xx/bcm2709/config-5.15
target/linux/bcm27xx/bcm2710/config-5.15
target/linux/bcm27xx/bcm2711/config-5.15
target/linux/bcm53xx/config-5.15
target/linux/bcm63xx/Makefile
target/linux/bcm63xx/config-5.15
target/linux/bmips/config-5.15
target/linux/gemini/config-5.10
target/linux/gemini/config-5.15
target/linux/generic/config-5.10
target/linux/generic/config-5.15
target/linux/imx/config-5.15
target/linux/ipq40xx/Makefile
target/linux/ipq40xx/config-5.15
target/linux/ipq806x/Makefile
target/linux/ipq806x/config-5.15
target/linux/kirkwood/Makefile
target/linux/kirkwood/config-5.15
target/linux/mediatek/filogic/config-5.15
target/linux/mediatek/mt7622/config-5.15
target/linux/mediatek/mt7623/config-5.15
target/linux/mediatek/mt7629/config-5.15
target/linux/mvebu/config-5.15
target/linux/mxs/config-5.15
target/linux/octeon/config-5.15
target/linux/omap/Makefile
target/linux/omap/config-5.15
target/linux/oxnas/config-5.15
target/linux/qoriq/Makefile
target/linux/qoriq/config-5.15
target/linux/ramips/mt7620/config-5.15
target/linux/ramips/mt7621/config-5.15
target/linux/ramips/mt76x8/config-5.15
target/linux/ramips/rt288x/config-5.15
target/linux/ramips/rt305x/config-5.15
target/linux/ramips/rt3883/config-5.15
target/linux/rockchip/armv8/config-5.15
target/linux/sunxi/Makefile
target/linux/sunxi/config-5.15
target/linux/tegra/config-5.15
target/linux/x86/64/config-5.15
target/linux/x86/Makefile
target/linux/x86/generic/config-5.15
target/linux/x86/geode/config-5.15

index ebc242ab83036a3f86502cbc76800597c30c917f..c7ce9993b6a24c590d91a6a52b7e176f3afc3212 100644 (file)
@@ -1256,6 +1256,15 @@ config KERNEL_GPIOLIB
        help
          Enable GPIO support through the generic GPIO library.
 
+config KERNEL_GPIO_CDEV
+       bool "GPIO character device support (/dev/gpiochipN)"
+       default GPIO_SUPPORT
+       depends on KERNEL_GPIOLIB
+       help
+         Say Y here to add the character device /dev/gpiochipN interface
+         for GPIOs. The character device allows userspace to control GPIOs
+         using ioctl() operations.
+
 config KERNEL_DEVMEM
        bool "/dev/mem virtual device support"
        help
index f91fbbc8ae34ad89b4d02cbf5532a5a13d7b44de..16300e77b7c1a0afba7206147299fd4e9877af85 100644 (file)
@@ -20,8 +20,7 @@ define Package/nu801
   SECTION:=utils
   CATEGORY:=Utilities
   SUBMENU:=Userspace GPIO Drivers
-  DEPENDS:=@(TARGET_x86||TARGET_bcm53xx)
-  KCONFIG:=CONFIG_GPIO_CDEV=y
+  DEPENDS:=@(TARGET_x86||TARGET_bcm53xx) @KERNEL_GPIO_CDEV
   TITLE:=NU801 LED Driver
 endef
 
index 48e5cb1fa9427586afba027aeb999232bcf294ad..433f0bc3d55ed3034cb09b5dc5bcf9f8c5769292 100644 (file)
@@ -119,7 +119,6 @@ CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_EN7523=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
index 2af8110553fccd9b84304a1cf1797ed5b64f28c4..3002a8763b1c445837b3e0aafe936b2e3d3824c9 100644 (file)
@@ -90,7 +90,6 @@ CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 # CONFIG_GEN_RTC is not set
 # CONFIG_GLACIER is not set
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_HAS_DMA=y
index 73913f4a5b7b68ffc1d4bece93608093d7db4795..66f05f90369a8fa2a4ca7348a36fea16266dc3b8 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 BOARD:=armvirt
 BOARDNAME:=QEMU ARM Virtual Machine
-FEATURES:=fpu pci rtc usb
+FEATURES:=fpu gpio pci rtc usb
 FEATURES+=cpiogz ext4 ramdisk squashfs targz
 
 KERNEL_PATCHVER:=5.15
index 36f7d9f01e309496a5b8eb20390046753f5835df..47ec29206ce1a2d4ef2c7ed489455eb6102297d5 100644 (file)
@@ -65,7 +65,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_PL061=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDIRQS_SW_RESEND=y
index 20dc43cb9e8dbe7b0176e20eb34b052a7ce29ba1..aa4e51365e52cda5bb0d8ea1324d145741857e80 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=at91
 BOARDNAME:=Microchip (Atmel AT91)
-FEATURES:=ext4 squashfs targz usbgadget ubifs
+FEATURES:=ext4 gpio squashfs targz usbgadget ubifs
 SUBTARGETS:=sama7 sama5 sam9x
 
 KERNEL_PATCHVER:=5.10
index 3aa652c18885979fb7705c5a077d6479a9a7ab12..84af0b59c535a3d87f1406e913431d39a706cef3 100644 (file)
@@ -120,7 +120,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GLOB=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDIRQS_SW_RESEND=y
 CONFIG_HAS_DMA=y
index e2fbc5ba7d71af63e9ea3d99c429b1312161dad0..62ba9c8b509376468f92405db8f782445c3ad3b3 100644 (file)
@@ -188,7 +188,6 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
 CONFIG_GLOB=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDEN_BRANCH_PREDICTOR=y
 CONFIG_HARDIRQS_SW_RESEND=y
index 4ff0d3df2361e204f94769748b004fcbc4764d8e..844833c51ddf15dd9a1c663dcfc943a4f93fa014 100644 (file)
@@ -176,7 +176,6 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
 CONFIG_GLOB=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GRACE_PERIOD=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDEN_BRANCH_PREDICTOR=y
index d6ba3b0eadae08627a408ff96492aa612c4c28ad..97e35dab421e3d0cfe40f3f630d53693e97860da 100644 (file)
@@ -6,7 +6,7 @@ BOARDNAME:=Atheros ATH79
 CPU_TYPE:=24kc
 SUBTARGETS:=generic mikrotik nand tiny
 
-FEATURES:=ramdisk squashfs usbgadget
+FEATURES:=gpio ramdisk squashfs usbgadget
 
 KERNEL_PATCHVER:=5.15
 
index ce987c5539023e2aa5c314a2d76043c6d88222a8..f6ce562d9ebc7564256af953b82bc964b02625df 100644 (file)
@@ -71,7 +71,6 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GPIOLIB_IRQCHIP=y
 CONFIG_GPIO_74X164=y
 CONFIG_GPIO_ATH79=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 # CONFIG_GPIO_LATCH is not set
 # CONFIG_GPIO_RB91X_KEY is not set
index 6fde682ffdebb59159575dd409638cf5ee7763c3..b44d7ead885d7d84ee037d196b7e95a792ec87c7 100644 (file)
@@ -183,7 +183,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GPIOLIB_IRQCHIP=y
 # CONFIG_GPIO_BCM_VIRT is not set
-CONFIG_GPIO_CDEV=y
 # CONFIG_GPIO_FSM is not set
 CONFIG_GPIO_RASPBERRYPI_EXP=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
index 63e3b3bdbbdf73b58a65fca468fe7909c2370813..517e7fae66f3abcff60617a1cccb5c7332d8b921 100644 (file)
@@ -230,7 +230,6 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
 CONFIG_GPIOLIB_IRQCHIP=y
 CONFIG_GPIO_BCM_VIRT=y
-CONFIG_GPIO_CDEV=y
 # CONFIG_GPIO_FSM is not set
 CONFIG_GPIO_RASPBERRYPI_EXP=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
index 2e8b4a436033acb19b602f265ebd7bfae7c14aa1..2ba58a49fdaf44551cf3ccab788cf5ac5fd5df51 100644 (file)
@@ -234,7 +234,6 @@ CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GPIOLIB_IRQCHIP=y
 CONFIG_GPIO_BCM_VIRT=y
-CONFIG_GPIO_CDEV=y
 # CONFIG_GPIO_FSM is not set
 CONFIG_GPIO_RASPBERRYPI_EXP=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
index d98d76c333b61d1d7c9932662d055c1e2954960f..c101a809419aa533805635a277c2a5c3ba541778 100644 (file)
@@ -240,7 +240,6 @@ CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GPIOLIB_IRQCHIP=y
 CONFIG_GPIO_BCM_VIRT=y
-CONFIG_GPIO_CDEV=y
 # CONFIG_GPIO_FSM is not set
 CONFIG_GPIO_RASPBERRYPI_EXP=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
index 3941c22b9c391ec95bc045deea48829bce2c1eb5..88d9756a00ffa0a2cb47a64befeb637a864cf5ed 100644 (file)
@@ -154,7 +154,6 @@ CONFIG_GENERIC_VDSO_32=y
 CONFIG_GPIOLIB_IRQCHIP=y
 CONFIG_GPIO_74X164=y
 CONFIG_GPIO_BCM_XGS_IPROC=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GRO_CELLS=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
index db71e359f6affb11f7389f27bd5159d76cc6e869..f13ed1d6059ab5f57710d8af5728d6e167f6c885 100644 (file)
@@ -9,7 +9,7 @@ ARCH:=mips
 BOARD:=bcm63xx
 BOARDNAME:=Broadcom BCM63xx
 SUBTARGETS:=generic smp
-FEATURES:=squashfs usb atm pci pcmcia usbgadget
+FEATURES:=squashfs usb atm gpio pci pcmcia usbgadget
 
 KERNEL_PATCHVER:=5.10
 KERNEL_TESTING_PATCHVER:=5.15
index c946302d31e44f11bde193ba78763ef222c3349a..9f3c676bb2e5bc90a1d637e1977202b11fcd6fea 100644 (file)
@@ -91,7 +91,6 @@ CONFIG_GENERIC_SCHED_CLOCK=y
 CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GPIO_BCM63XX=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HAS_DMA=y
index a66443eabadca29daaebaf7b49a704b488282c71..ebc98ce3afb6d8168eb8042547601d09c7c8e4da 100644 (file)
@@ -111,7 +111,6 @@ CONFIG_GENERIC_SCHED_CLOCK=y
 CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 # CONFIG_GPIO_BRCMSTB is not set
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_GPIO_REGMAP=y
index 698dc44b495bcc03dd18d178c7a49894e2d28440..8c2592237e09264d4d545bda58a53fe6e4ec3c4a 100644 (file)
@@ -188,7 +188,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GLOB=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_FTGPIO010=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GRO_CELLS=y
index b3b7a7dd127b9fca70a447ba11ab06d6185e8f22..003773a90f3032aa61c624829a4c2edfdb7402ae 100644 (file)
@@ -188,7 +188,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GLOB=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_FTGPIO010=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GRO_CELLS=y
index 05a51430b387677fd431fd53fb3c659237e89bea..21fe40146840621bed94888ae5e50b366a2b5005 100644 (file)
@@ -2099,7 +2099,6 @@ CONFIG_GPIOLIB_FASTPATH_LIMIT=512
 # CONFIG_GPIO_BT8XX is not set
 # CONFIG_GPIO_CADENCE is not set
 # CONFIG_GPIO_CASCADE is not set
-# CONFIG_GPIO_CDEV is not set
 # CONFIG_GPIO_CDEV_V1 is not set
 # CONFIG_GPIO_CS5535 is not set
 # CONFIG_GPIO_DWAPB is not set
index 3ecd124e4610b173af34406052deb21d46d4db2b..bc3289837a3de41bdd2bc4b6f0de213352d898ec 100644 (file)
@@ -2181,7 +2181,6 @@ CONFIG_GPIOLIB_FASTPATH_LIMIT=512
 # CONFIG_GPIO_BT8XX is not set
 # CONFIG_GPIO_CADENCE is not set
 # CONFIG_GPIO_CASCADE is not set
-# CONFIG_GPIO_CDEV is not set
 # CONFIG_GPIO_CDEV_V1 is not set
 # CONFIG_GPIO_CS5535 is not set
 # CONFIG_GPIO_DWAPB is not set
index 0c9b7d22b4e54d898ec08c890e66623507f9fb46..dce909c379235534cb5e596beaca26f75984ea1d 100644 (file)
@@ -199,7 +199,6 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
 # CONFIG_GIANFAR is not set
 CONFIG_GLOB=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_MXC=y
 CONFIG_GRO_CELLS=y
index 1da72664adb3d52445f07ae95538f173142c5495..ef3492c67267e92462942ac0be6280a083f33acb 100644 (file)
@@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=ipq40xx
 BOARDNAME:=Qualcomm Atheros IPQ40XX
-FEATURES:=squashfs fpu ramdisk nand
+FEATURES:=squashfs fpu gpio ramdisk nand
 CPU_TYPE:=cortex-a7
 CPU_SUBTYPE:=neon-vfpv4
 SUBTARGETS:=generic chromium mikrotik
index 22b2d03d8063c0ca81bf9b05e8bb8a0eda11547b..f01f5c9fd1d7417790929effffacc8c93af3c46f 100644 (file)
@@ -182,7 +182,6 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
 CONFIG_GPIOLIB_IRQCHIP=y
 CONFIG_GPIO_74X164=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_WATCHDOG=y
 CONFIG_GPIO_WATCHDOG_ARCH_INITCALL=y
 CONFIG_GRO_CELLS=y
index 862ad7da004b38358cf42d72069e470111da5626..e96b06d77c1af33407ad5dec1411bc859055ab5e 100644 (file)
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=ipq806x
 BOARDNAME:=Qualcomm Atheros IPQ806X
-FEATURES:=squashfs nand fpu ramdisk
+FEATURES:=squashfs nand fpu gpio ramdisk
 CPU_TYPE:=cortex-a15
 CPU_SUBTYPE:=neon-vfpv4
 SUBTARGETS:=generic
index b2b3e601beb25a4dd56cecb7a45408b1b8f58dbd..13fb5a88c0e7001a038e8703af0d837864638db5 100644 (file)
@@ -174,7 +174,6 @@ CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GRO_CELLS=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDEN_BRANCH_PREDICTOR=y
index c7a25451c9cde12a79809026f4bfa68bed9d92f4..7aa55977dc4bbfb6bf955820bd859c48083f4360 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=kirkwood
 BOARDNAME:=Marvell Kirkwood
-FEATURES:=usb nand squashfs ramdisk
+FEATURES:=usb gpio nand squashfs ramdisk
 CPU_TYPE:=xscale
 
 KERNEL_PATCHVER:=5.10
index 409010b957c5e0b3a58c7f63c15ab9811d28e7d0..0a3dbf518ee6d5232d389a099d4ed6e5e86b6b27 100644 (file)
@@ -115,7 +115,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GLOB=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_MVEBU=y
 CONFIG_GRO_CELLS=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
index 469542e21917e76cae75dc8c2a3368bd7aefd328..0e88f42b921f03abc811272d2cffa39267477053 100644 (file)
@@ -167,7 +167,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GLOB=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GRO_CELLS=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDIRQS_SW_RESEND=y
index f17876fb055353cadd63a9b1adfb46cadae92117..aad512aa307ae5290d7db1d1f35cf942b4d1644b 100644 (file)
@@ -197,7 +197,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GLOB=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GRO_CELLS=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDIRQS_SW_RESEND=y
index d3915f4929b8ad8a8d887ad676816f54b4ab3c90..d7e68808108778b6c2e6b7c8e245f4ff2ed916ae 100644 (file)
@@ -242,7 +242,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GRO_CELLS=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDEN_BRANCH_PREDICTOR=y
index 39596717ae26dbadc93bfecfd9f06352066b37bb..967df377c63184ae1be4e353c3dbbbaa28f5f314 100644 (file)
@@ -128,7 +128,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
-CONFIG_GPIO_CDEV=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 # CONFIG_HARDENED_USERCOPY is not set
 CONFIG_HARDEN_BRANCH_PREDICTOR=y
index ed942d99448fcb3f6ec06d78c6d6a246c1f7ce6b..3292081b102141f7b7933d72f104b25ff888bf6f 100644 (file)
@@ -183,7 +183,6 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
 CONFIG_GLOB=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_GPIO_MVEBU=y
index 4d3f1d42cf300f5b328e5daf8245577b38722e2e..4ff202fbeb9b180eb1fe4e66adb81d397355ab71 100644 (file)
@@ -102,7 +102,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 # CONFIG_GIANFAR is not set
 CONFIG_GLOB=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_GPIO_MXS=y
index 450b84be44c437c68ea7068f9ae71858872f0012..f3c4b2b7bd65ec1e406ae75d34c9160f00def4d2 100644 (file)
@@ -92,7 +92,6 @@ CONFIG_GENERIC_PCI_IOMAP=y
 CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GLOB=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_OCTEON=y
 CONFIG_GRO_CELLS=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
index 51f19862d672081631ccfca03bf137decddc20e2..a122ac9a9d224246ff382403c402bf1c92c4071a 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=omap
 BOARDNAME:=TI OMAP3/4/AM33xx
-FEATURES:=usb usbgadget ext4 targz fpu audio display nand rootfs-part squashfs
+FEATURES:=usb usbgadget ext4 targz fpu gpio audio display nand rootfs-part squashfs
 CPU_TYPE:=cortex-a8
 CPU_SUBTYPE:=vfpv3
 
index 7b0dd7c9086d92f51302cb097bbbf07f4036ce70..799f539547b379fa19760e943da7a98c3a99c8a4 100644 (file)
@@ -243,7 +243,6 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
 CONFIG_GLOB=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_OMAP=y
 CONFIG_GPIO_PALMAS=y
 CONFIG_GPIO_PCA953X=y
index aff528e34fb3ddb72da88eb2eabcff92a47b9d2e..8155e78a9499f74e123cef069bce41414a1967dc 100644 (file)
@@ -123,7 +123,6 @@ CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
index a92186fd6e88140595f6813314d848d8c6686f89..e602f6abd731b77981547540081cdb1d678feea2 100644 (file)
@@ -8,7 +8,7 @@ ARCH:=powerpc64
 BOARD:=qoriq
 BOARDNAME:=NXP QorIQ (PowerPC)
 CPU_TYPE:=e5500
-FEATURES:=boot-part ext4 fpu legacy-sdcard powerpc64 ramdisk rootfs-part rtc source-only
+FEATURES:=boot-part ext4 fpu gpio legacy-sdcard powerpc64 ramdisk rootfs-part rtc source-only
 SUBTARGETS:=generic
 
 KERNEL_PATCHVER:=5.10
index ef6442a1b1f48baa3022508dcdef35a9f76e4433..7125b841cb953c2170d8787d15b5e724649caf30 100644 (file)
@@ -164,7 +164,6 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
 # CONFIG_GEN_RTC is not set
 # CONFIG_GIANFAR is not set
 CONFIG_GLOB=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_MPC8XXX=y
 CONFIG_GRO_CELLS=y
index fdca30fecbf3797b72c531e0653710b79475c4e3..304671081c3749aeef6da89e2811d0312905246f 100644 (file)
@@ -69,7 +69,6 @@ CONFIG_GENERIC_PINCONF=y
 CONFIG_GENERIC_SCHED_CLOCK=y
 CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
-CONFIG_GPIO_CDEV=y
 # CONFIG_GPIO_MT7621 is not set
 CONFIG_GPIO_RALINK=y
 CONFIG_GPIO_WATCHDOG=y
index 1b8a48100dfcdedccc07f75467042021aaa4d50d..7138082831498ff63db40038b08aeb8e5d761167 100644 (file)
@@ -84,7 +84,6 @@ CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GLOB=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_MT7621=y
 # CONFIG_GPIO_RALINK is not set
index 0734bee16e0ac7e5f9a44685018441bba8f722fc..f0778b8a48370fa773c58c04975506cb76df8b53 100644 (file)
@@ -69,7 +69,6 @@ CONFIG_GENERIC_SCHED_CLOCK=y
 CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_MT7621=y
 # CONFIG_GPIO_RALINK is not set
index 19a71d67ea8a983bb6c72191555f62dd2bd562e4..fd8f2f74402aa029a39cc7756c1a1dbe5e27fc68 100644 (file)
@@ -60,7 +60,6 @@ CONFIG_GENERIC_PINCONF=y
 CONFIG_GENERIC_SCHED_CLOCK=y
 CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_RALINK=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDWARE_WATCHPOINTS=y
index 2c2fc37a63256770e0989bc37ffd79e29c4802f9..5eb883268d2c4426461c92663795ef19d06ccaad 100644 (file)
@@ -63,7 +63,6 @@ CONFIG_GENERIC_PINCONF=y
 CONFIG_GENERIC_SCHED_CLOCK=y
 CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_RALINK=y
 CONFIG_GPIO_WATCHDOG=y
 # CONFIG_GPIO_WATCHDOG_ARCH_INITCALL is not set
index 70d879730679318719bf9a00e53e80fb4850184f..ccb8c819ee95239a4b551d4dd589811bfdbec993 100644 (file)
@@ -63,7 +63,6 @@ CONFIG_GENERIC_PINCONF=y
 CONFIG_GENERIC_SCHED_CLOCK=y
 CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_RALINK=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDWARE_WATCHPOINTS=y
index 371d06d164421a91eb8ce3ffa9935f08f530e9d3..4c0f092d42b917850042cd29f1eedba4b23edcec 100644 (file)
@@ -241,7 +241,6 @@ CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_DWAPB=y
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
index 2a031c2df1c6bf5a6b038f79d3f7abf3578ad352..4bf75f4f409c15684b2f0a3f54d1084523f9cd1b 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=sunxi
 BOARDNAME:=Allwinner A1x/A20/A3x/H3/H5/R40
-FEATURES:=fpu usb ext4 display rootfs-part rtc squashfs
+FEATURES:=fpu gpio usb ext4 display rootfs-part rtc squashfs
 SUBTARGETS:=cortexa8 cortexa7 cortexa53
 
 KERNEL_PATCHVER:=5.10
index c7dbc5a9f1ef4c9b75f9d7ce07b861f4f738df11..45decf1e940c4e7b90bdcae3ed1105c1d2a3b14d 100644 (file)
@@ -199,7 +199,6 @@ CONFIG_GENERIC_STRNLEN_USER=y
 CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
 CONFIG_GLOB=y
-CONFIG_GPIO_CDEV=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDEN_BRANCH_PREDICTOR=y
 CONFIG_HARDIRQS_SW_RESEND=y
index 257ffda252ad3a0ecb100df28317def15438779e..ebff0c679a2da032e312fddb12c6060f3bc9c0c7 100644 (file)
@@ -218,7 +218,6 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
 CONFIG_GENERIC_VDSO_32=y
 CONFIG_GLOB=y
 CONFIG_GPIOLIB_IRQCHIP=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_TEGRA=y
 CONFIG_HANDLE_DOMAIN_IRQ=y
 CONFIG_HARDEN_BRANCH_PREDICTOR=y
index 040dceb961b037bcb20591349df929f2616db4be..df2a3fb262fc494073f6f445f9a2fad40ec643dd 100644 (file)
@@ -203,7 +203,6 @@ CONFIG_GENERIC_IRQ_MIGRATION=y
 CONFIG_GENERIC_PENDING_IRQ=y
 CONFIG_GPIOLIB_IRQCHIP=y
 CONFIG_GPIO_ACPI=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_ICH=y
 CONFIG_GPIO_SCH=y
 CONFIG_HALTPOLL_CPUIDLE=y
index 5368a779e54f88b1bd8fa5e7967ec6b5b9646a1e..a284859a2d3599c6e8bd7e12dd76fd473c6c62cb 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=i386
 BOARD:=x86
 BOARDNAME:=x86
-FEATURES:=squashfs ext4 vdi vmdk vhdx pcmcia targz fpu boot-part rootfs-part
+FEATURES:=squashfs ext4 vdi vmdk vhdx pcmcia targz fpu gpio boot-part rootfs-part
 SUBTARGETS:=generic legacy geode 64
 
 KERNEL_PATCHVER:=5.15
index 91e6c1b4d89b4a24d7aa4a5ef9dd5c8504efd274..0075dc187bae9b606343cae75e18a1164780de11 100644 (file)
@@ -156,7 +156,6 @@ CONFIG_GENERIC_PENDING_IRQ=y
 CONFIG_GENERIC_PINCONF=y
 CONFIG_GPIOLIB_IRQCHIP=y
 CONFIG_GPIO_ACPI=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GUP_GET_PTE_LOW_HIGH=y
 CONFIG_HALTPOLL_CPUIDLE=y
 CONFIG_HDMI=y
index 2ede23ea5ecd6bfcb251932dfceeb0aa6efdc2c0..bab7054b6ffd2021fd5ac7fa99c06fc76fc19408 100644 (file)
@@ -48,7 +48,6 @@ CONFIG_DMA_ACPI=y
 CONFIG_GEODE_WDT=y
 CONFIG_GEOS=y
 CONFIG_GPIO_ACPI=y
-CONFIG_GPIO_CDEV=y
 CONFIG_GPIO_CS5535=y
 # CONFIG_HPET is not set
 # CONFIG_HP_ACCEL is not set