From: Richard Fitzgerald <rf@opensource.cirrus.com>
To: broonie@kernel.org, brendan.higgins@linux.dev,
davidgow@google.com, raemoar63@gmail.com
Cc: linux-sound@vger.kernel.org, linux-kselftest@vger.kernel.org,
kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org,
patches@opensource.cirrus.com
Subject: [PATCH 4/4] kunit: config: all_tests: Select CONFIG_GPIOLIB
Date: Wed, 4 Mar 2026 16:24:02 +0000 [thread overview]
Message-ID: <20260304162402.1714759-5-rf@opensource.cirrus.com> (raw)
In-Reply-To: <20260304162402.1714759-1-rf@opensource.cirrus.com>
Add CONFIG_GPIOLIB to the all_tests config so that it can run test
cases that create dummy GPIO drivers.
Some tests for the Cirrus Logic cs35l56 ASoC codec driver and
cirrus_scodec HDA driver create a dummy GPIO driver so they can
test driver functions that read from the GPIOs. These tests will be
skipped if CONFIG_GPIOLIB is not set. Ideally we would like them to
be run when selecting --alltests.
CONFIG_GPIOLIB does not have any dependencies and only enables
generic library code.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
---
tools/testing/kunit/configs/all_tests.config | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/testing/kunit/configs/all_tests.config b/tools/testing/kunit/configs/all_tests.config
index 422e186cf3cf..e21239dc6fae 100644
--- a/tools/testing/kunit/configs/all_tests.config
+++ b/tools/testing/kunit/configs/all_tests.config
@@ -40,6 +40,8 @@ CONFIG_DAMON=y
CONFIG_DAMON_VADDR=y
CONFIG_DAMON_PADDR=y
+CONFIG_GPIOLIB=y
+
CONFIG_REGMAP_BUILD=y
CONFIG_AUDIT=y
--
2.47.3
next prev parent reply other threads:[~2026-03-04 16:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-04 16:23 [PATCH 0/4] ASoC: cs35l56: More KUnit tests for speaker ID Richard Fitzgerald
2026-03-04 16:23 ` [PATCH 1/4] ASoC: cs35l56: KUnit tests for setting dsp.system_name Richard Fitzgerald
2026-03-04 16:24 ` [PATCH 2/4] ASoC: cs35l56: Some KUnit testing of cs35l56_get_speaker_id() Richard Fitzgerald
2026-03-04 16:24 ` [PATCH 3/4] ASoC: cs35l56: KUnit tests for reading speaker ID from host GPIOs Richard Fitzgerald
2026-03-04 16:24 ` Richard Fitzgerald [this message]
2026-03-05 22:49 ` (subset) [PATCH 0/4] ASoC: cs35l56: More KUnit tests for speaker ID Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260304162402.1714759-5-rf@opensource.cirrus.com \
--to=rf@opensource.cirrus.com \
--cc=brendan.higgins@linux.dev \
--cc=broonie@kernel.org \
--cc=davidgow@google.com \
--cc=kunit-dev@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=raemoar63@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox