diff mbox series

[1/2] dt-bindings: hwmon: add adi,max42500.yaml

Message ID 20241220012003.9568-2-Kent.Libetario@analog.com (mailing list archive)
State New
Headers show
Series Add driver for MAX42500 | expand

Commit Message

Kent Libetario Dec. 20, 2024, 1:20 a.m. UTC
Add documentation for devicetree bindings for MAX42500

Signed-off-by: Kent Libetario <Kent.Libetario@analog.com>
---
 .../bindings/hwmon/adi,max42500.yaml          | 42 +++++++++++++++++++
 MAINTAINERS                                   |  6 +++
 2 files changed, 48 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/adi,max42500.yaml
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/adi,max42500.yaml b/Documentation/devicetree/bindings/hwmon/adi,max42500.yaml
new file mode 100644
index 000000000000..19446f571d9c
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/adi,max42500.yaml
@@ -0,0 +1,42 @@ 
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/adi,max42500.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices MAX42500 Industrial Power System Monitor
+
+maintainers:
+  - Kent Libetario <Kent.Libetario@analog.com>
+
+description: |
+  Analog Devices MAX42500 Industrial Power System Monitor Family
+  https://www.analog.com/media/en/technical-documentation/data-sheets/max42500.pdf
+
+properties:
+  compatible:
+    enum:
+      - adi,max42500
+
+  reg:
+    description: I2C address of slave device.
+    minimum: 0x28
+    maximum: 0x2B
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        hwmon@28 {
+            reg = <0x28>;
+            compatible = "adi,max42500";
+        };
+    };
diff --git a/MAINTAINERS b/MAINTAINERS
index 379289369505..d1703b4834c8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -14046,6 +14046,12 @@  W:	https://ez.analog.com/linux-software-drivers
 F:	Documentation/devicetree/bindings/rtc/adi,max31335.yaml
 F:	drivers/rtc/rtc-max31335.c
 
+MAX42500 POWER-SYSTEM MONITOR DRIVER
+M:	Kent Libetario <kent.libetario@analog.com>
+L:	linux-hwmon@vger.kernel.org
+S:	Supported
+F:	Documentation/devicetree/bindings/hwmon/adi,max42500.yaml
+
 MAX6650 HARDWARE MONITOR AND FAN CONTROLLER DRIVER
 L:	linux-hwmon@vger.kernel.org
 S:	Orphan