[v2 1/2] dt-bindings: hwmon: Add mps mp2891 driver bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add a device tree bindings for mp2891 device.

Signed-off-by: Noah Wang <noahwang.wang@xxxxxxxxxxx>
---
 .../bindings/hwmon/pmbus/mps,mp2891.yaml      | 43 +++++++++++++++++++
 MAINTAINERS                                   |  8 ++++
 2 files changed, 51 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/mps,mp2891.yaml

diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/mps,mp2891.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mp2891.yaml
new file mode 100644
index 000000000..9afa7fd3f
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mp2891.yaml
@@ -0,0 +1,43 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+
++$id: http://devicetree.org/schemas/hwmon/mps,mp2891.yaml#
++$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: The MPS MP2891 Multi-phase Digital VR Controller
+
+maintainers:
+  - Noah Wang <noahwang.wang@xxxxxxxxxxx>
+
+description:
+  The MP2891 is a dual-rail, digital, multi-phase voltage regulator with
+  PWM-VID and I2C interface for Industrial use.
+
+  Datasheets:
+    https://www.monolithicpower.com/en/mp2891.html
+
+properties:
+  compatible:
+    const: mps,mp2891
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      mp2891@1f {
+        compatible = "mps,mp2891";
+        reg = <0x1f>;
+      };
+    };
diff --git a/MAINTAINERS b/MAINTAINERS
index e5dbbf1ed..bbe9a3ca8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -22683,6 +22683,14 @@ S:	Maintained
 F:	Documentation/hwmon/tps546d24.rst
 F:	drivers/hwmon/pmbus/tps546d24.c
 
+MPS MP2891 DRIVER
+M:	Noah Wang <noahwang.wang@xxxxxxxxxxx>
+L:	linux-hwmon@xxxxxxxxxxxxxxx
+S:	Maintained
+F:	Documentation/devicetree/bindings/hwmon/mps,mp2891.yaml
+F:	Documentation/hwmon/mp2891.rst
+F:	drivers/hwmon/pmbus/mp2891.c
+
 TQ SYSTEMS BOARD & DRIVER SUPPORT
 L:	linux@xxxxxxxxxxxxxxx
 S:	Supported
-- 
2.25.1





[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux