Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
27 lines
653 B
Plaintext
27 lines
653 B
Plaintext
What: /dev/gpiochip[0-9]+
|
|
Date: November 2015
|
|
KernelVersion: 4.4
|
|
Contact: linux-gpio@vger.kernel.org
|
|
Description:
|
|
The character device files /dev/gpiochip* are the interface
|
|
between GPIO chips and userspace.
|
|
|
|
The ioctl(2)-based ABI is defined and documented in
|
|
[include/uapi]<linux/gpio.h>.
|
|
|
|
The following file operations are supported:
|
|
|
|
open(2)
|
|
Currently the only useful flags are O_RDWR.
|
|
|
|
ioctl(2)
|
|
Initiate various actions.
|
|
See the inline documentation in [include/uapi]<linux/gpio.h>
|
|
for descriptions of all ioctls.
|
|
|
|
close(2)
|
|
Stops and free up the I/O contexts that was associated
|
|
with the file descriptor.
|
|
|
|
Users: TBD
|