hwmon: add initial NXP MC34VR500 PMIC monitoring support
authorMario Kicherer <dev@kicherer.org>
Wed, 18 Jan 2023 12:30:19 +0000 (13:30 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 3 Feb 2023 15:30:10 +0000 (07:30 -0800)
commit07830d9ab34c0622f577a88286746aa17c144afd
treec9dfd5d4cd50bbfd7faf70ba406691056ba8638a
parenta66c9147916fefc66dba06236ff5307180d95cd4
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>
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/mc34vr500.c [new file with mode: 0644]