The Linux Kernel
4.18.0-425.10.1.el8_7.x86_64
  • Linux kernel licensing rules
  • The Linux kernel user’s and administrator’s guide
  • The Linux kernel user-space API guide
  • Working with the kernel development community
  • Development tools for the kernel
  • How to write kernel documentation
  • Kernel Hacking Guides
  • Linux Tracing Technologies
  • Kernel Maintainer Handbook
  • The Linux driver implementer’s API guide
    • Driver Basics
    • Device drivers infrastructure
    • Device Power Management
    • The Common Clk Framework
    • Bus-Independent Device Accesses
    • Device connections
    • Buffer Sharing and Synchronization
    • Device links
    • Component Helper for Aggregate Drivers
    • Message-based devices
    • Sound Devices
    • Frame Buffer Library
    • Voltage and current regulator API
    • Industrial I/O
    • Input Subsystem
    • Linux USB API
    • The Linux PCI driver implementer’s API guide
    • Serial Peripheral Interface (SPI)
    • I2C and SMBus Subsystem
    • IPMB Driver for a Satellite MC
    • The Linux IPMI Driver
    • High Speed Synchronous Serial Interface (HSI)
    • Error Detection And Correction (EDAC) Devices
    • SCSI Interfaces Guide
    • libATA Developer’s Guide
    • target and iSCSI Interfaces Guide
    • MTD NAND Driver Programming Interface
    • Parallel Port Devices
    • 16x50 UART Driver
    • Pulse-Width Modulation (PWM)
    • Intel(R) Management Engine Interface (Intel(R) MEI)
    • W1: Dallas’ 1-wire bus
    • RapidIO Subsystem Guide
    • Writing s390 channel device drivers
    • VME Device Drivers
    • Linux 802.11 Driver Developer’s Guide
    • The Userspace I/O HOWTO
    • Linux Firmware API
    • PINCTRL (PIN CONTROL) subsystem
    • PLDM Firmware Flash Update Library
    • Overview of the pldmfw library
    • General Purpose Input/Output (GPIO)
      • Introduction
      • GPIO Driver Interface
      • GPIO Descriptor Consumer Interface
      • GPIO Mappings
      • Subsystem drivers using GPIO
      • Legacy GPIO Interfaces
      • Core
      • ACPI support
      • Device tree support
      • Device-managed API
      • sysfs helpers
    • Miscellaneous Devices
    • DMAEngine documentation
    • Linux kernel SLIMbus support
    • SoundWire Documentation
    • FPGA Subsystem
    • Auxiliary Bus
  • Core API Documentation
  • InfiniBand
  • Linux Media Subsystem Documentation
  • Linux Networking Documentation
  • The Linux Input Documentation
  • Linux GPU Driver Developer’s Guide
  • Security Documentation
  • Linux Sound Subsystem Documentation
  • Linux Kernel Crypto API
  • Linux Filesystems API
  • Linux Memory Management Documentation
  • BPF Documentation
  • Linux PCI Bus Subsystem
  • Assembler Annotations
  • SuperH Interfaces Guide
  • x86 architecture specifics
  • Korean translations
  • Chinese translations
  • Japanese translations
The Linux Kernel
  • Docs »
  • The Linux driver implementer’s API guide »
  • General Purpose Input/Output (GPIO)
  • View page source

General Purpose Input/Output (GPIO)¶

Contents:

  • Introduction
    • GPIO Interfaces
    • What is a GPIO?
    • Common GPIO Properties
  • GPIO Driver Interface
    • Internal Representation of GPIOs
    • Controller Drivers: gpio_chip
    • GPIO drivers providing IRQs
    • Requesting self-owned GPIO pins
  • GPIO Descriptor Consumer Interface
    • Guidelines for GPIOs consumers
    • Obtaining and Disposing GPIOs
    • Using GPIOs
    • GPIOs and ACPI
    • Interacting With the Legacy GPIO Subsystem
  • GPIO Mappings
    • Device Tree
    • ACPI
    • Platform Data
    • Arrays of pins
  • Subsystem drivers using GPIO
  • Legacy GPIO Interfaces
    • What is a GPIO?
    • GPIO conventions
    • What do these conventions omit?
    • GPIO implementor’s framework (OPTIONAL)
    • Sysfs Interface for Userspace (OPTIONAL)
    • API Reference

Core¶

Error

kernel-doc missing

Error

kernel-doc missing

ACPI support¶

Error

kernel-doc missing

Device tree support¶

Error

kernel-doc missing

Device-managed API¶

Error

kernel-doc missing

sysfs helpers¶

Error

kernel-doc missing

Next Previous

© Copyright The kernel development community.

Built with Sphinx using a theme provided by Read the Docs.