Documentation: gpio: describe uAPI behaviour for unsupported config

The existing uAPI documentation does not adequately describe how the kernel
handles the case where the underlying hardware or driver does not support
the requested configuration.

Add a Configuration Support section describing that behaviour to both the
v1 and v2 documentation, and better document the errors returned where the
requested configuration cannot be supported.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
Kent Gibson
2024-01-23 21:38:28 +08:00
committed by Bartosz Golaszewski
parent 3473765920
commit 42969726a1
6 changed files with 106 additions and 7 deletions

View File

@@ -65,7 +65,8 @@ GPIO Error Codes
- - ``ENXIO``
- No device corresponding to this device special file exists.
- Typically returned when a feature requiring interrupt support was
requested, but the line does not support interrupts.
.. note::