Searched hist:"8 bc395a6a2e24bfae934e43c7f968b23f9b9b55f" (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/gpio/ |
H A D | gpio-mockup-cdev.c | 8bc395a6a2e24bfae934e43c7f968b23f9b9b55f Tue Jan 19 13:30:53 CET 2021 Kent Gibson <warthog618@gmail.com> selftests: gpio: rework and simplify test implementation
The GPIO mockup selftests are overly complicated with separate implementations of the tests for sysfs and cdev uAPI, and with the cdev implementation being dependent on tools/gpio and libmount.
Rework the test implementation to provide a common test suite with a simplified pluggable uAPI interface. The cdev implementation utilises the GPIO uAPI directly to remove the dependence on tools/gpio. The simplified uAPI interface removes the need for any file system mount checks in C, and so removes the dependence on libmount.
The rework also fixes the sysfs test implementation which has been broken since the device created in the multiple gpiochip case was split into separate devices.
Fixes: 8a39f597bcfd ("gpio: mockup: rework device probing") Signed-off-by: Kent Gibson <warthog618@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
|
H A D | gpio-mockup-sysfs.sh | diff 8bc395a6a2e24bfae934e43c7f968b23f9b9b55f Tue Jan 19 13:30:53 CET 2021 Kent Gibson <warthog618@gmail.com> selftests: gpio: rework and simplify test implementation
The GPIO mockup selftests are overly complicated with separate implementations of the tests for sysfs and cdev uAPI, and with the cdev implementation being dependent on tools/gpio and libmount.
Rework the test implementation to provide a common test suite with a simplified pluggable uAPI interface. The cdev implementation utilises the GPIO uAPI directly to remove the dependence on tools/gpio. The simplified uAPI interface removes the need for any file system mount checks in C, and so removes the dependence on libmount.
The rework also fixes the sysfs test implementation which has been broken since the device created in the multiple gpiochip case was split into separate devices.
Fixes: 8a39f597bcfd ("gpio: mockup: rework device probing") Signed-off-by: Kent Gibson <warthog618@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
|
H A D | gpio-mockup.sh | diff 8bc395a6a2e24bfae934e43c7f968b23f9b9b55f Tue Jan 19 13:30:53 CET 2021 Kent Gibson <warthog618@gmail.com> selftests: gpio: rework and simplify test implementation
The GPIO mockup selftests are overly complicated with separate implementations of the tests for sysfs and cdev uAPI, and with the cdev implementation being dependent on tools/gpio and libmount.
Rework the test implementation to provide a common test suite with a simplified pluggable uAPI interface. The cdev implementation utilises the GPIO uAPI directly to remove the dependence on tools/gpio. The simplified uAPI interface removes the need for any file system mount checks in C, and so removes the dependence on libmount.
The rework also fixes the sysfs test implementation which has been broken since the device created in the multiple gpiochip case was split into separate devices.
Fixes: 8a39f597bcfd ("gpio: mockup: rework device probing") Signed-off-by: Kent Gibson <warthog618@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
|
H A D | Makefile | diff 8bc395a6a2e24bfae934e43c7f968b23f9b9b55f Tue Jan 19 13:30:53 CET 2021 Kent Gibson <warthog618@gmail.com> selftests: gpio: rework and simplify test implementation
The GPIO mockup selftests are overly complicated with separate implementations of the tests for sysfs and cdev uAPI, and with the cdev implementation being dependent on tools/gpio and libmount.
Rework the test implementation to provide a common test suite with a simplified pluggable uAPI interface. The cdev implementation utilises the GPIO uAPI directly to remove the dependence on tools/gpio. The simplified uAPI interface removes the need for any file system mount checks in C, and so removes the dependence on libmount.
The rework also fixes the sysfs test implementation which has been broken since the device created in the multiple gpiochip case was split into separate devices.
Fixes: 8a39f597bcfd ("gpio: mockup: rework device probing") Signed-off-by: Kent Gibson <warthog618@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
|