[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230610-regcache-raw-kunit-v1-0-583112cd28ac@kernel.org>
Date: Sun, 11 Jun 2023 14:25:01 +0100
From: Mark Brown <broonie@...nel.org>
To: linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>
Subject: [PATCH 0/2] regmap: Provide basic test coverage for raw I/O
Our existing coverage only deals with buses that provide single register
read and write operations, extend it to cover raw buses using a similar
approach with a RAM backed register map that the tests can inspect to
check operations. This coverage could be more complete but provides a
good start.
Signed-off-by: Mark Brown <broonie@...nel.org>
---
Mark Brown (2):
regmap: Provide a ram backed regmap with raw support
regmap: Provide basic KUnit coverage for the raw register I/O
drivers/base/regmap/Makefile | 2 +-
drivers/base/regmap/internal.h | 8 +
drivers/base/regmap/regmap-kunit.c | 327 +++++++++++++++++++++++++++++++++++
drivers/base/regmap/regmap-raw-ram.c | 133 ++++++++++++++
4 files changed, 469 insertions(+), 1 deletion(-)
---
base-commit: 9561de3a55bed6bdd44a12820ba81ec416e705a7
change-id: 20230610-regcache-raw-kunit-3d866fb82485
Best regards,
--
Mark Brown <broonie@...nel.org>
Powered by blists - more mailing lists