[PATCH 0/3] regmap: Add KUnit tests for read/write checking

From: Mark Brown
Date: Tue Jun 13 2023 - 16:18:07 EST


Since Takashi found an issue with maple tree syncing registers it
shouldn't do add some test cases that catch that case and some more
potential issues, ideally we'd run through the combination of
readability with all possible I/O calls but that's lifting for another
day. We did find one issue with missing readability checks which will
be fixed separately.

Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
---
Mark Brown (3):
regmap: Add test that writes to write only registers are prevented
regmap: Add a test case for write only registers
regmap: Add test to make sure we don't sync to read only registers

drivers/base/regmap/regmap-kunit.c | 115 +++++++++++++++++++++++++++++++++++++
1 file changed, 115 insertions(+)
---
base-commit: ecfb8ce26d02ec136b4e1ae8c5a77d22d335057b
change-id: 20230613-regmap-kunit-read-write-024393cdbef0

Best regards,
--
Mark Brown <broonie@xxxxxxxxxx>