[PATCH v1 5/8] dt-bindings: hwmon: add NXP MC33978/MC34978 hwmon

From: Oleksij Rempel

Date: Wed Feb 25 2026 - 12:16:57 EST


Add device tree binding documentation for the hardware monitoring block
of the NXP MC33978/MC34978 Multiple Switch Detection Interface (MSDI).

Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
---
.../bindings/hwmon/nxp,mc33978-hwmon.yaml | 34 +++++++++++++++++++
.../devicetree/bindings/mfd/nxp,mc33978.yaml | 10 ++++++
2 files changed, 44 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/nxp,mc33978-hwmon.yaml

diff --git a/Documentation/devicetree/bindings/hwmon/nxp,mc33978-hwmon.yaml b/Documentation/devicetree/bindings/hwmon/nxp,mc33978-hwmon.yaml
new file mode 100644
index 000000000000..b7e2aaa51a33
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/nxp,mc33978-hwmon.yaml
@@ -0,0 +1,34 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/nxp,mc33978-hwmon.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP MC33978/MC34978 Hardware Monitor
+
+maintainers:
+ - David Jander <david@xxxxxxxxxxx>
+ - Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
+
+description: |
+ Hardware monitoring driver for the MC33978/MC34978 MSDI device.
+ Provides fault detection and monitoring for:
+ - Battery voltage (VBATP) faults: undervoltage, overvoltage
+ - Temperature faults: over-temperature, warning threshold
+
+properties:
+ compatible:
+ enum:
+ - nxp,mc33978-hwmon
+ - nxp,mc34978-hwmon
+
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ hwmon {
+ compatible = "nxp,mc33978-hwmon";
+ };
diff --git a/Documentation/devicetree/bindings/mfd/nxp,mc33978.yaml b/Documentation/devicetree/bindings/mfd/nxp,mc33978.yaml
index 5e8ab2cff685..58fcfe24d415 100644
--- a/Documentation/devicetree/bindings/mfd/nxp,mc33978.yaml
+++ b/Documentation/devicetree/bindings/mfd/nxp,mc33978.yaml
@@ -58,6 +58,12 @@ properties:
description: |
Pinctrl and GPIO controller child node for the 22 switch inputs.

+ hwmon:
+ type: object
+ $ref: /schemas/hwmon/nxp,mc33978-hwmon.yaml#
+ description: |
+ Hardware monitoring child node for fault detection.
+
required:
- compatible
- reg
@@ -94,5 +100,9 @@ examples:
gpio-controller;
#gpio-cells = <2>;
};
+
+ hwmon {
+ compatible = "nxp,mc33978-hwmon";
+ };
};
};
--
2.47.3