Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: Kent Libetario <Kent.Libetario@analog.com>
To: <linux-hwmon@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Cc: Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Subject: [PATCH 1/2] dt-bindings: hwmon: add adi,max42500.yaml
Date: Fri, 20 Dec 2024 09:20:02 +0800	[thread overview]
Message-ID: <20241220012003.9568-2-Kent.Libetario@analog.com> (raw)
In-Reply-To: <20241220012003.9568-1-Kent.Libetario@analog.com>

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 --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
-- 
2.25.1


  reply	other threads:[~2024-12-20  1:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-20  1:20 [PATCH 0/2] Add driver for MAX42500 Kent Libetario
2024-12-20  1:20 ` Kent Libetario [this message]
2024-12-27  8:50   ` [PATCH 1/2] dt-bindings: hwmon: add adi,max42500.yaml Krzysztof Kozlowski
2025-03-10  9:26     ` Libetario, Kent
2024-12-20  1:20 ` [PATCH 2/2] drivers: hwmon: add driver for max42500 Kent Libetario
2024-12-21  5:01   ` kernel test robot
2024-12-21 18:08   ` Guenter Roeck
2025-03-10  9:05     ` Libetario, Kent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241220012003.9568-2-Kent.Libetario@analog.com \
    --to=kent.libetario@analog.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox