hwmon: add initial NXP MC34VR500 PMIC monitoring support

Add initial monitoring support for the MC34VR500 PMIC. In its current
state, input voltage and temperature alarms are reported to hwmon.

Datasheet:
 - https://www.nxp.com/docs/en/data-sheet/MC34VR500.pdf

Signed-off-by: Mario Kicherer <dev@kicherer.org>
Link: https://lore.kernel.org/r/20230118123019.3041303-4-dev@kicherer.org
[groeck: Silence stray compiler warning, terminate struct of_device_id]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Mario Kicherer 2023-01-18 13:30:19 +01:00 • committed by Guenter Roeck
commit 07830d9ab3
3 changed files with 271 additions and 0 deletions