regulator: mp8859: Validate and log device identifier information
authorMark Brown <broonie@kernel.org>
Sun, 25 Feb 2024 14:59:28 +0000 (14:59 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 26 Feb 2024 13:46:49 +0000 (13:46 +0000)
commit6c848d772eee0f03b72542f35e1a66469030390f
tree07f54e1247adac16197f2cf60fdb8fe0f00932c1
parentb65e9149bdb76e9b09f6fb76fea1f10bde256619
regulator: mp8859: Validate and log device identifier information

Ensure that we are talking to a device which reports the expected ID
register information and log the OTP and revision information for
diagnostic purposes.

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-2-68ee2c839ded@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mp8859.c