regulator: mp8859: Support status and error readback
authorMark Brown <broonie@kernel.org>
Sun, 25 Feb 2024 14:59:32 +0000 (14:59 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 26 Feb 2024 13:46:53 +0000 (13:46 +0000)
commit4317ecadbeeab5464a8c34b27b73e2d2f81ef718
tree52bb2cc299d576043b6a45f57d9ce467cd46a88a
parentd7217c91bbde48ee60d3ce67cda6557f56c6b639
regulator: mp8859: Support status and error readback

The MP8859 can report if it is in regulation and detect over temperature
conditions, report this information via the relevant regulator API
calls.

Tested-by: Markus Reichl <m.reichl@fivetechno.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://msgid.link/r/20240225-regulator-mp8859-v1-6-68ee2c839ded@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mp8859.c