29 lines · plain
1What: /dev/gpiochip[0-9]+2Date: November 20153KernelVersion: 4.44Contact: linux-gpio@vger.kernel.org5Description:6 The character device files /dev/gpiochip* are the interface7 between GPIO chips and userspace.8 9 The ioctl(2)-based ABI is defined in10 [include/uapi]<linux/gpio.h> and documented in11 Documentation/userspace-api/gpio/chardev.rst.12 13 The following file operations are supported:14 15 open(2)16 Currently the only useful flags are O_RDWR.17 18 ioctl(2)19 Initiate various actions.20 21 See Documentation/userspace-api/gpio/chardev.rst22 for a description of all ioctls.23 24 close(2)25 Stops and free up the I/O contexts that was associated26 with the file descriptor.27 28Users: TBD29