Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] gpio: kunit: add test cases for platform lookup tables
@ 2026-10-12 14:38 Bartosz Golaszewski
  2026-10-12 14:38 ` [PATCH v2 1/4] gpio: kunit: fix the label of the dummy GPIO chip Bartosz Golaszewski
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Bartosz Golaszewski @ 2026-10-12 14:38 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski
  Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

Add test cases for platform machine lookup for GPIOs along with some
minor refactoring.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
Changes in v2:
- Drop unused variable from new test case
- Drop no longer unused define
- Fix one leftover variable renaming
- Pass correct flag to gpiod_get_index()
- Link to v1: https://patch.msgid.link/20261001-gpio-kunit-plat-lookup-v1-0-03bfa84c5dd1@oss.qualcomm.com

---
Bartosz Golaszewski (4):
      gpio: kunit: fix the label of the dummy GPIO chip
      gpio: kunit: factor out common code for waiting for device probe
      gpio: kunit: rename the swnode consumer to a more generic test consumer
      gpio: kunit: add a test case for platform lookup tables

 drivers/gpio/gpiolib-kunit.c | 233 ++++++++++++++++++++++++++++---------------
 1 file changed, 152 insertions(+), 81 deletions(-)
---
base-commit: becb95e45ef0dda9ffb35156d909d3da7a2789c3
change-id: 20261001-gpio-kunit-plat-lookup-6434597e66f8

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-10-12 16:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-12 14:38 [PATCH v2 0/4] gpio: kunit: add test cases for platform lookup tables Bartosz Golaszewski
2026-10-12 14:38 ` [PATCH v2 1/4] gpio: kunit: fix the label of the dummy GPIO chip Bartosz Golaszewski
2026-10-12 14:38 ` [PATCH v2 2/4] gpio: kunit: factor out common code for waiting for device probe Bartosz Golaszewski
2026-10-12 14:38 ` [PATCH v2 3/4] gpio: kunit: rename the swnode consumer to a more generic test consumer Bartosz Golaszewski
2026-10-12 14:39 ` [PATCH v2 4/4] gpio: kunit: add a test case for platform lookup tables Bartosz Golaszewski
2026-10-12 14:48   ` sashiko-bot
2026-10-12 16:23     ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox