gpio-cdev 666 B

123456789101112131415161718192021222324252627
  1. What: /dev/gpiochip[0-9]+
  2. Date: November 2015
  3. KernelVersion: 4.4
  4. Contact: linux-gpio@vger.kernel.org
  5. Description:
  6. The character device files /dev/gpiochip* are the interface
  7. between GPIO chips and userspace.
  8. The ioctl(2)-based ABI is defined and documented in
  9. [include/uapi]<linux/gpio.h>.
  10. The following file operations are supported:
  11. open(2)
  12. Currently the only useful flags are O_RDWR.
  13. ioctl(2)
  14. Initiate various actions.
  15. See the inline documentation in [include/uapi]<linux/gpio.h>
  16. for descriptions of all ioctls.
  17. close(2)
  18. Stops and free up the I/O contexts that was associated
  19. with the file descriptor.
  20. Users: TBD