mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
docs: gpio: add sysfs interface to the admin-guide
While this is stated as obsoleted, the sysfs interface described there is still valid, and belongs to the admin-guide. Signed-off-by: Mauro Carvalho Chehab <[email protected]> Acked-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
4c68060bf6
commit
c2746a1eb7
7 changed files with 7 additions and 6 deletions
|
|
@ -316,7 +316,7 @@ specifies the path to the controller. In order to use these GPIOs in Linux
|
|||
we need to translate them to the corresponding Linux GPIO descriptors.
|
||||
|
||||
There is a standard GPIO API for that and is documented in
|
||||
Documentation/gpio/.
|
||||
Documentation/admin-guide/gpio/.
|
||||
|
||||
In the above example we can get the corresponding two GPIO descriptors with
|
||||
a code like this::
|
||||
|
|
|
|||
Loading…
Reference in a new issue