This series adds a first batch of kunit tests for GPIO core. I intend to gradually add more coverage for functionalities that can't really be tested from user-space with the existing kernel selftests or libgpiod tests.
Merging strategy: with an Ack from kunit maintainers, this can go through the GPIO tree for v7.2. Signed-off-by: Bartosz Golaszewski <[email protected]> --- Bartosz Golaszewski (2): kunit: provide kunit_platform_device_register_full() gpio: add kunit test cases for the GPIO subsystem drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/gpiolib-kunit.c | 354 ++++++++++++++++++++++++++++++++++++++++ include/kunit/platform_device.h | 4 + lib/kunit/platform.c | 31 ++++ 5 files changed, 398 insertions(+) --- base-commit: 4a1989fb6514ca2a4b157ff4700bdcc8bdd9a978 change-id: 20260326-gpiolib-kunit-d7f1b5541ffa Best regards, -- Bartosz Golaszewski <[email protected]>

