OSDN Git Service

selftests: gpio: provide a helper for reading chip info
authorBartosz Golaszewski <brgl@bgdev.pl>
Mon, 13 Dec 2021 10:21:56 +0000 (11:21 +0100)
committerBartosz Golaszewski <brgl@bgdev.pl>
Fri, 17 Dec 2021 11:26:13 +0000 (12:26 +0100)
commit16c138f338b62dd0a339b9d0ca819426231be7f6
tree5bc5c7d2e6dc0d55a021306a1fc8f89b87b1ac52
parentcb8c474e79be458f58e9df073f51ca159f3a2aa0
selftests: gpio: provide a helper for reading chip info

Add a simple program that allows to retrieve chip properties from the
GPIO character device. This will be used in gpio-sim selftests.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
tools/testing/selftests/gpio/.gitignore
tools/testing/selftests/gpio/Makefile
tools/testing/selftests/gpio/gpio-chip-info.c [new file with mode: 0644]