This patch adds initial monitoring support for the MC34VR500 PMIC. In its current form, input voltage and temperature alarms are reported to hwmon. Changes since v2: - split documentation and dt-bindings patch Changes since v1: - included required #defines directly in the C file - removed separate header file - removed #defines for unimplemented sensors - removed error log output - use hwmon_device_register_with_info API - cleaned probe function - added documentation for chip and dt bindings Mario Kicherer (3): hwmon: add initial NXP MC34VR500 PMIC monitoring support dt-bindings: hwmon: add nxp,mc34vr500 docs: hwmon: add docs for the NXP MC34VR500 PMIC .../bindings/hwmon/nxp,mc34vr500.yaml | 36 +++ Documentation/hwmon/mc34vr500.rst | 32 +++ drivers/hwmon/Kconfig | 7 + drivers/hwmon/Makefile | 1 + drivers/hwmon/mc34vr500.c | 245 ++++++++++++++++++ 5 files changed, 321 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml create mode 100644 Documentation/hwmon/mc34vr500.rst create mode 100644 drivers/hwmon/mc34vr500.c -- 2.34.1