GPIO Support
modulename: gpio.ko
and/orgpiolib.ko
and/orgpiolib-devres.ko
and/orgpiolib-legacy.ko
and/orgpiolib-swnode.ko
configname: CONFIG_GPIOLIB
Linux Kernel Configuration
└─>Device Drivers
└─>GPIO Support
In linux kernel since version 2.6.27 (release Date: 2008-10-09)
This enables GPIO support through the generic GPIO library.
You only need to enable this if you also want to enable
one or more of the GPIO drivers below.
If unsure, say N.
You only need to enable this if you also want to enable
one or more of the GPIO drivers below.
If unsure, say N.
source code:
is selected by
CONFIG_SMC91XCONFIG_KEYBOARD_MATRIX
CONFIG_TOUCHSCREEN_SIS_I2C
CONFIG_INPUT_GPIO_VIBRA
CONFIG_INPUT_DRV260X_HAPTICS
CONFIG_I2C_GPIO
CONFIG_SPI_GPIO
CONFIG_SPI_OC_TINY
CONFIG_PINCTRL_AS3722
CONFIG_PINCTRL_PISTACHIO
CONFIG_PINCTRL_MSM
CONFIG_PINCTRL_LPASS_LPI
CONFIG_PINCTRL_SPEAR_PLGPIO
CONFIG_GPIOLIB_IRQCHIP
CONFIG_GPIO_SYSFS
CONFIG_GPIO_REGMAP
CONFIG_GPIO_IDIO_16
CONFIG_GPIO_74XX_MMIO
CONFIG_GPIO_ALTERA
CONFIG_GPIO_AMDPT
CONFIG_GPIO_ASPEED
CONFIG_GPIO_ASPEED_SGPIO
CONFIG_GPIO_ATH79
CONFIG_GPIO_BCM_XGS_IPROC
CONFIG_GPIO_BRCMSTB
CONFIG_GPIO_CADENCE
CONFIG_GPIO_CLPS711X
CONFIG_GPIO_DWAPB
CONFIG_GPIO_EIC_SPRD
CONFIG_GPIO_EN7523
CONFIG_GPIO_EP93XX
CONFIG_GPIO_EXAR
CONFIG_GPIO_GE_FPGA
CONFIG_GPIO_FTGPIO010
CONFIG_GPIO_GENERIC_PLATFORM
CONFIG_GPIO_GRANITERAPIDS
CONFIG_GPIO_GRGPIO
CONFIG_GPIO_HISI
CONFIG_GPIO_HLWD
CONFIG_GPIO_IXP4XX
CONFIG_GPIO_LOONGSON_64BIT
CONFIG_GPIO_LPC18XX
CONFIG_GPIO_MENZ127
CONFIG_GPIO_MM_LANTIQ
CONFIG_GPIO_MPC5200
CONFIG_GPIO_MPC8XXX
CONFIG_GPIO_MT7621
CONFIG_GPIO_MVEBU
CONFIG_GPIO_MXC
CONFIG_GPIO_MXS
CONFIG_GPIO_NOMADIK
CONFIG_GPIO_NPCM_SGPIO
CONFIG_GPIO_OMAP
CONFIG_GPIO_PL061
CONFIG_GPIO_RCAR
CONFIG_GPIO_RDA
CONFIG_GPIO_REALTEK_OTTO
CONFIG_GPIO_ROCKCHIP
CONFIG_GPIO_RTD
CONFIG_GPIO_SAMA5D2_PIOBU
CONFIG_GPIO_SIFIVE
CONFIG_GPIO_SIOX
CONFIG_GPIO_SPEAR_SPICS
CONFIG_GPIO_SPRD
CONFIG_GPIO_TANGIER
CONFIG_GPIO_TB10X
CONFIG_GPIO_TEGRA
CONFIG_GPIO_TEGRA186
CONFIG_GPIO_TS4800
CONFIG_GPIO_THUNDERX
CONFIG_GPIO_UNIPHIER
CONFIG_GPIO_VF610
CONFIG_GPIO_VISCONTI
CONFIG_GPIO_XGENE_SB
CONFIG_GPIO_XILINX
CONFIG_GPIO_XLP
CONFIG_GPIO_ZYNQ
CONFIG_GPIO_LOONGSON1
CONFIG_GPIO_MSC313
CONFIG_GPIO_IDT3243X
CONFIG_GPIO_VX855
CONFIG_GPIO_I8255
CONFIG_GPIO_104_DIO_48E
CONFIG_GPIO_104_IDIO_16
CONFIG_GPIO_104_IDI_48
CONFIG_GPIO_GPIO_MM
CONFIG_GPIO_SCH
CONFIG_GPIO_WINBOND
CONFIG_GPIO_WS16C48
CONFIG_GPIO_ADNP
CONFIG_GPIO_FXL6408
CONFIG_GPIO_DS4520
CONFIG_GPIO_MAX7300
CONFIG_GPIO_MAX732X_IRQ
CONFIG_GPIO_PCA953X
CONFIG_GPIO_PCA953X_IRQ
CONFIG_GPIO_PCF857X
CONFIG_GPIO_TS4900
CONFIG_GPIO_CRYSTAL_COVE
CONFIG_GPIO_DLN2
CONFIG_GPIO_ELKHARTLAKE
CONFIG_GPIO_LJCA
CONFIG_GPIO_MAX77620
CONFIG_GPIO_PMIC_EIC_SPRD
CONFIG_GPIO_SL28CPLD
CONFIG_GPIO_STMPE
CONFIG_GPIO_TC3589X
CONFIG_GPIO_TN48M_CPLD
CONFIG_GPIO_TQMX86
CONFIG_GPIO_WHISKEY_COVE
CONFIG_GPIO_MERRIFIELD
CONFIG_GPIO_MLXBF
CONFIG_GPIO_MLXBF2
CONFIG_GPIO_MLXBF3
CONFIG_GPIO_ML_IOH
CONFIG_GPIO_PCH
CONFIG_GPIO_PCI_IDIO_16
CONFIG_GPIO_PCIE_IDIO_24
CONFIG_GPIO_RDC321X
CONFIG_GPIO_SODAVILLE
CONFIG_GPIO_MAX3191X
CONFIG_GPIO_MAX7301
CONFIG_GPIO_XRA1403
CONFIG_GPIO_MOCKUP
CONFIG_GPIO_VIRTIO
CONFIG_GPIO_SIM
CONFIG_GPIO_VIRTUSER
CONFIG_MANAGER_SBS
CONFIG_CHARGER_BQ24257
CONFIG_CHARGER_BQ2515X
CONFIG_CHARGER_BQ25890
CONFIG_CHARGER_BQ25980
CONFIG_CHARGER_BQ256XX
CONFIG_CHARGER_RT9455
CONFIG_CHARGER_RT9467
CONFIG_CHARGER_RT9471
CONFIG_SENSORS_ADM1266
CONFIG_SENSORS_SHT15
CONFIG_MEN_A21_WDT
CONFIG_SSB_DRIVER_GPIO
CONFIG_BCMA_DRIVER_GPIO
CONFIG_MFD_AAT2870_CORE
CONFIG_INTEL_SOC_PMIC
CONFIG_INTEL_SOC_PMIC_CHTDC_TI
CONFIG_INTEL_SOC_PMIC_MRFLD
CONFIG_MFD_TPS65910
CONFIG_MFD_TIMBERDALE
CONFIG_MFD_VEXPRESS_SYSREG
CONFIG_REGULATOR_AW37503
CONFIG_REGULATOR_TPS65132
CONFIG_VIDEO_COBALT
CONFIG_VIDEO_IMX214
CONFIG_VIDEO_OV4689
CONFIG_VIDEO_VGXY61
CONFIG_VIDEO_AD5820
CONFIG_VIDEO_ADV7180
CONFIG_VIDEO_ADV7604
CONFIG_VIDEO_TW9900
CONFIG_HD44780
CONFIG_SEG_LED_GPIO
CONFIG_DRM_PANEL_SAMSUNG_DB7430
CONFIG_DRM_PANEL_SAMSUNG_S6D27A1
CONFIG_DRM_PANEL_WIDECHIPS_WS2401
CONFIG_FB_VIA
CONFIG_FB_SSD1307
CONFIG_FB_OMAP2
CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH
CONFIG_SND_SOC_AMD_RV_RT5682_MACH
CONFIG_SND_SOC_AMD_RENOIR_MACH
CONFIG_SND_SOC_INTEL_BDW_RT5677_MACH
CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH
CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH
CONFIG_SND_SOC_INTEL_BYTCR_WM5102_MACH
CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH
CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH
CONFIG_SND_SOC_INTEL_BYT_CHT_CX2072X_MACH
CONFIG_SND_SOC_INTEL_BYT_CHT_ES8316_MACH
CONFIG_SND_SOC_INTEL_SOF_WM8804_MACH
CONFIG_SND_SOC_INTEL_KBL_RT5660_MACH
CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH
CONFIG_SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
CONFIG_SND_SOC_MT8183_DA7219_MAX98357A
CONFIG_SND_SOC_MT8186_MT6366
CONFIG_SND_SOC_MT8192_MT6359_RT1015_RT5682
CONFIG_SND_SOC_MT8195_MT6359
CONFIG_SND_SOC_STORM
CONFIG_SND_SOC_SC7180
CONFIG_SND_SOC_ROCKCHIP_MAX98090
CONFIG_SND_SOC_ROCKCHIP_RT5645
CONFIG_SND_SOC_RK3288_HDMI_ANALOG
CONFIG_SND_SOC_RK3399_GRU_SOUND
CONFIG_SND_SOC_SAMSUNG_TM2_WM5110
CONFIG_SND_SOC_TEGRA_RT5631
CONFIG_SND_SOC_TEGRA_RT5640
CONFIG_SND_SOC_TEGRA_WM8753
CONFIG_SND_SOC_TEGRA_WM8903
CONFIG_SND_SOC_TEGRA_WM9712
CONFIG_SND_SOC_TEGRA_ALC5632
CONFIG_SND_SOC_TEGRA_MAX98090
CONFIG_SND_SOC_TEGRA_MAX98088
CONFIG_SND_SOC_TEGRA_RT5677
CONFIG_SND_SOC_TEGRA_SGTL5000
CONFIG_SND_SOC_NOKIA_RX51
CONFIG_SND_SOC_ZL38060
CONFIG_HID_CP2112
CONFIG_USB_CONN_GPIO
CONFIG_USB_GPIO_VBUS
CONFIG_LEDS_LP3952
CONFIG_LEDS_KTD2692
CONFIG_LEDS_SY7802
CONFIG_MFD_NVEC
CONFIG_FB_TFT
CONFIG_GREYBUS_GPIO
CONFIG_ARCX_ANYBUS_CONTROLLER
CONFIG_TURRIS_OMNIA_MCU_GPIO
CONFIG_MERAKI_MX100
CONFIG_INTEL_ATOMISP2_LED
CONFIG_INTEL_SKL_INT3472
CONFIG_INTEL_INT0002_VGPIO
CONFIG_PCENGINES_APU2
CONFIG_X86_ANDROID_TABLETS
CONFIG_SEL3350_PLATFORM
CONFIG_EXTCON_PTN5150
CONFIG_AD4130
CONFIG_AD7780
CONFIG_HX711
CONFIG_TI_ADS7950
CONFIG_AD74115
CONFIG_AD74413R
CONFIG_AD8366
CONFIG_AK8975
CONFIG_AK09911
CONFIG_AD2S1210
CONFIG_PHY_MAPPHONE_MDM6600
CONFIG_FSI_MASTER_GPIO
CONFIG_FSI_MASTER_AST_CF
CONFIG_BT_HCIUART_NOKIA
CONFIG_BT_HCIUART_INTEL
CONFIG_BT_HCIUART_BCM
CONFIG_BT_HCIUART_RTL
is depended by
CONFIG_CPU_LOONGSON64CONFIG_SOC_VCOREIII
CONFIG_ARCH_MOXART
CONFIG_ARCH_MXC
CONFIG_ARCH_SA1100
CONFIG_ARCH_MVEBU
CONFIG_MACH_KIRKWOOD
CONFIG_ARCH_S3C64XX
CONFIG_ARCH_OMAP1
CONFIG_ARCH_BERLIN
CONFIG_ARCH_MV78XX0
CONFIG_ARCH_BCM_IPROC
CONFIG_ARCH_BCM_MOBILE
CONFIG_ARCH_BCM2835
CONFIG_ARCH_U8500
CONFIG_ARCH_MMP
CONFIG_ARCH_SUNXI
CONFIG_ARCH_NPCM7XX
CONFIG_ARCH_CLPS711X
CONFIG_ARCH_OMAP2PLUS
CONFIG_ARCH_STI
CONFIG_ARCH_MXS
CONFIG_ARCH_MESON
CONFIG_ARCH_ROCKCHIP
CONFIG_PLAT_SPEAR
CONFIG_ARCH_S5PV210
CONFIG_ARCH_IXP4XX
CONFIG_ARCH_EP93XX
CONFIG_ARCH_NOMADIK
CONFIG_ARCH_LPC32XX
CONFIG_ARCH_DIGICOLOR
CONFIG_ARCH_TEGRA
CONFIG_INTEGRATOR_IMPD1
CONFIG_ARCH_VEXPRESS
CONFIG_ARCH_DOVE
CONFIG_ARCH_GEMINI
CONFIG_ARCH_PXA
CONFIG_ARCH_ORION5X
CONFIG_ARCH_AT91
CONFIG_SH_7724_SOLUTION_ENGINE
CONFIG_SH_SH7757LCR
CONFIG_SH_URQUELL
CONFIG_SH_MIGOR
CONFIG_SH_AP325RXA
CONFIG_SH_KFR2R09
CONFIG_SH_ECOVEC
CONFIG_SH_MAGIC_PANEL_R2
CONFIG_SH_RSK7203
CONFIG_SH_RSK7264
CONFIG_SH_RSK7269
CONFIG_SH_R7785RP
CONFIG_STA2X11
CONFIG_OLPC
CONFIG_ALIX
CONFIG_NET5501
CONFIG_GEOS
CONFIG_QE_GPIO
CONFIG_CPM2
CONFIG_MCU_MPC8349EMITX
CONFIG_8xx_GPIO
CONFIG_GE_IMP3A
CONFIG_SGY_CTS1000
CONFIG_CORENET_GENERIC
CONFIG_PPC4xx_GPIO
CONFIG_GEF_PPC9A
CONFIG_GEF_SBC310
CONFIG_GEF_SBC610
CONFIG_NET_DSA_VITESSE_VSC73XX
CONFIG_NET_XGENE
CONFIG_TXGBE
CONFIG_KEYBOARD_ADP5588
CONFIG_I2C_MUX_LTC4306
CONFIG_PINCTRL_AMD
CONFIG_PINCTRL_APPLE_GPIO
CONFIG_PINCTRL_AT91
CONFIG_PINCTRL_AT91PIO4
CONFIG_PINCTRL_AXP209
CONFIG_PINCTRL_AW9523
CONFIG_PINCTRL_CY8C95X0
CONFIG_PINCTRL_DA9062
CONFIG_PINCTRL_EQUILIBRIUM
CONFIG_PINCTRL_INGENIC
CONFIG_PINCTRL_K210
CONFIG_PINCTRL_KEEMBAY
CONFIG_PINCTRL_MCP23S08
CONFIG_PINCTRL_MICROCHIP_SGPIO
CONFIG_PINCTRL_OCELOT
CONFIG_PINCTRL_RK805
CONFIG_PINCTRL_ROCKCHIP
CONFIG_PINCTRL_SX150X
CONFIG_PINCTRL_TB10X
CONFIG_PINCTRL_TPS6594
CONFIG_PINCTRL_MLXBF3
CONFIG_PINCTRL_OWL
CONFIG_PINCTRL_BCM2835
CONFIG_PINCTRL_BCM63XX
CONFIG_PINCTRL_CS42L43
CONFIG_PINCTRL_LOCHNAGAR
CONFIG_PINCTRL_INTEL
CONFIG_EINT_MTK
CONFIG_PINCTRL_MTK
CONFIG_PINCTRL_MTK_MOORE
CONFIG_PINCTRL_MTK_PARIS
CONFIG_PINCTRL_MESON
CONFIG_PINCTRL_NOMADIK
CONFIG_PINCTRL_WPCM450
CONFIG_PINCTRL_NPCM7XX
CONFIG_PINCTRL_NPCM8XX
CONFIG_PINCTRL_MA35
CONFIG_PINCTRL_QCOM_SPMI_PMIC
CONFIG_PINCTRL_QCOM_SSBI_PMIC
CONFIG_PINCTRL_SH_PFC_GPIO
CONFIG_PINCTRL_RZA1
CONFIG_PINCTRL_RZA2
CONFIG_PINCTRL_RZG2L
CONFIG_PINCTRL_RZV2M
CONFIG_PINCTRL_SAMSUNG
CONFIG_PINCTRL_STARFIVE_JH7100
CONFIG_PINCTRL_STARFIVE_JH7110
CONFIG_PINCTRL_STM32
CONFIG_PINCTRL_SPPCTL
CONFIG_PINCTRL_SUNXI
CONFIG_CEC_GPIO
CONFIG_STA2X11_VIP
CONFIG_VIDEO_DS90UB913
CONFIG_VIDEO_DS90UB953
CONFIG_VIDEO_DS90UB960
CONFIG_VIDEO_MAX96714
CONFIG_VIDEO_MAX96717
CONFIG_SND_HDA_CIRRUS_SCODEC_KUNIT_TEST
CONFIG_SND_SOC_AW8738
CONFIG_SND_SOC_AW88395
CONFIG_SND_SOC_AW88261
CONFIG_SND_SOC_AW88399
CONFIG_OMAP_GPMC
CONFIG_STX104
CONFIG_AD5592R
CONFIG_AD5593R
CONFIG_RESET_TI_TPS380X