Add a set of kunit test cases for the power sequencing subsystem. Also
fix an issue I noticed when writing the tests.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
Bartosz Golaszewski (2):
power: sequencing: don't call .post_enable() if pwrseq_unit_enable() failed
power: sequencing: add kunit test cases
drivers/power/sequencing/Kconfig | 10 +
drivers/power/sequencing/Makefile | 1 +
drivers/power/sequencing/core.c | 2 +
drivers/power/sequencing/pwrseq-kunit.c | 1497 +++++++++++++++++++++++++++++++
4 files changed, 1510 insertions(+)
---
base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
change-id: 20260629-pwrseq-kunit-367029f9b446
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>