aboutsummaryrefslogtreecommitdiffstats
path: root/src/linux/gpio.c
Commit message (Collapse)AuthorAgeFilesLines
* linux: Don't use absolute paths for includeMichael 'ASAP' Weinrich2024-04-031-1/+1
| | | | | | | | Not all systems (i.e. Nix) repect the standard Linux filesystem hierarchy, instead relative paths should be used and allowing GCC to rely on it's builtin search paths. Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>
* linux: add 'GPIOI' for linux process (#5926)BIGTREETECH2022-12-111-2/+3
| | | Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com
* linux: use correct gpio bias flags (#5878)Eric Callahan2022-11-081-3/+3
| | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* Revert "linux: Raise an error if configuring a pullup when that is not ↵Kevin O'Connor2021-05-271-3/+0
| | | | | | | | | | | supported" This reverts commit 70ea0806d96df5a8ea83793da46f2676d9695e69. The above commit breaks software spi on linux hosts. Revert that commit until an improved error check can be implemented. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* linux: Raise an error if configuring a pullup when that is not supportedKevin O'Connor2021-04-251-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* linux: Minor formatting, variable name, and error reporting changesKevin O'Connor2021-04-251-62/+53
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* linux: Ability to use multiple GPIO chips (#2935)Lucio Tarantino2020-06-061-19/+41
| | | Signed-off-by: Lucio Tarantino <lucio.tarantino@gmail.com>
* linux: userspace GPIO controlandryblack2020-05-171-0/+163
Allow use host GPIO pins for non-realtime purposes. Signed-off-by: Andrey Kunitsyn <blackicebox@gmail.com>