aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-07-04 14:58:55 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-07-16 10:27:08 +0200
commit4fa93223e03eea3243db83786f556b6c1494de3e (patch)
treeea856a2164e627f93ba414b999b9d115634f9283 /include
parentgpio: sysfs: don't look up exported lines as class devices (diff)
downloadlinux-4fa93223e03eea3243db83786f556b6c1494de3e.tar.gz
linux-4fa93223e03eea3243db83786f556b6c1494de3e.zip
gpio: sysfs: export the GPIO directory locally in the gpiochip<id> directory
As a way to allow the user-space to stop referring to GPIOs by their global numbers, introduce a parallel group of line attributes for exported GPIO that live inside the GPIO chip class device and are referred to by their HW offset within their parent chip. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20250704-gpio-sysfs-chip-export-v4-8-9289d8758243@linaro.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions