Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH v3 0/4] gpio: kunit: add test cases for platform lookup tables
@ 2026-10-13 13:02 Bartosz Golaszewski
  2026-10-13 13:03 ` [PATCH v3 1/4] gpio: kunit: fix the label of the dummy GPIO chip Bartosz Golaszewski
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Bartosz Golaszewski @ 2026-10-13 13:02 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 v3:
- Add missing call to gpio_test_device_check_bound() to
  gpio_lookup_table_global()
- Link to v2: https://patch.msgid.link/20261012-gpio-kunit-plat-lookup-v2-0-553b0d6446b9@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 | 235 ++++++++++++++++++++++++++++---------------
 1 file changed, 154 insertions(+), 81 deletions(-)
---
base-commit: 4eb2586bd40db27d77cc5b724ca9386ed0c71d53
change-id: 20261001-gpio-kunit-plat-lookup-6434597e66f8

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


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

end of thread, other threads:[~2026-10-13 13:14 UTC | newest]

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

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