regmap: Provide user selectable option to enable regmap
authorMark Brown <broonie@kernel.org>
Tue, 11 Jul 2023 23:21:52 +0000 (00:21 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 13 Jul 2023 15:20:28 +0000 (16:20 +0100)
commit47ee108a113c72ec8ceee2c7af52c19ed72e6ad7
tree6837b716f25980c54dfcb1dc1dbc43bce6596abf
parent875403a7b524e9523e49dd32662adbc3e48cc12a
regmap: Provide user selectable option to enable regmap

Since apparently enabling all the KUnit tests shouldn't enable any new
subsystems it is hard to enable the regmap KUnit tests in normal KUnit
testing scenarios that don't enable any drivers.  Add a Kconfig option
to help with this and include it in the KUnit all tests config.

Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230712-regmap-kunit-enable-v1-1-13e296bd0204@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/Kconfig
tools/testing/kunit/configs/all_tests.config