Changes between Version 18 and Version 19 of gpio


Ignore:
Timestamp:
04/07/2021 04:53:30 PM (4 years ago)
Author:
Tim Harvey
Comment:

fix typo

Legend:

Unmodified
Added
Removed
Modified
  • gpio

    v18 v19  
    389389The Linux kernel can provide gpio functionality to userspace via a gpio class accessed via sysfs (/sys/class/gpio/) implemented through gpiolib (CONFIG_GPIOLIB, drivers/gpio/gpiolib*). For userspace access this requires sysfs kernel support (CONFIG_SYSFS) and the sysfs filesystem mounted which is standard for most linux systems including the Gateworks BSP's. This framework allows boards to define GPIO configuration (direction, direction-changeable, user-friendly name, state, and userspace configurable).
    390390
    391 **Note that the 'sysfsgpio' API has been marked deprecated in Linux 4.8 as the new preferred API is the
     391**Note that the 'sysfsgpio' API has been marked deprecated in Linux 4.8 as the new preferred API is the [#gpiochardev chardev GPIO API]**
    392392
    393393Note that any gpio that is registered for use by a driver is not available for exporting for userspace control. You can cat /sys/kernel/debug/gpio to see what gpio's are current registered with the kernel.