diff mbox series

[2/3] dt-bindings: hwmon: pmbus: Add Delta DPS920AB PSU driver bindings

Message ID 20210430132735.127342-2-robert.marko@sartura.hr
State New
Headers show
Series [1/3] hwmon: (pmbus) Add driver for Delta DPS-920AB PSU | expand

Commit Message

Robert Marko April 30, 2021, 1:27 p.m. UTC
Add binding document for the Delta DPS920AB PSU driver.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
 .../bindings/hwmon/pmbus/delta,dps920ab.yaml  | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/delta,dps920ab.yaml

Comments

Guenter Roeck April 30, 2021, 1:48 p.m. UTC | #1
On Fri, Apr 30, 2021 at 03:27:34PM +0200, Robert Marko wrote:
> Add binding document for the Delta DPS920AB PSU driver.
> 

Is there a reason to not just add delta,dps920ab to the list of trivial
devices ?

Thanks,
Guenter

> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
> ---
>  .../bindings/hwmon/pmbus/delta,dps920ab.yaml  | 43 +++++++++++++++++++
>  1 file changed, 43 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/delta,dps920ab.yaml
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/delta,dps920ab.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/delta,dps920ab.yaml
> new file mode 100644
> index 000000000000..e05363a8e455
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/pmbus/delta,dps920ab.yaml
> @@ -0,0 +1,43 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +
> +$id: http://devicetree.org/schemas/hwmon/pmbus/delta,dps920ab.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Delta DPS920AB power supply
> +
> +maintainers:
> +  - Robert Marko <robert.marko@sartura.hr>
> +
> +description: |
> +  Delta DPS920AB is a 920W 54V DC single output power supply
> +  with active PFC capable of 16.88A on the 54V output.
> +  It has a built in PWM capable fan with tachometer.
> +  PMBus is used to expose information about the PSU.
> +
> +properties:
> +  compatible:
> +    enum:
> +      - delta,dps920ab
> +
> +  reg:
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    i2c {
> +        #address-cells = <1>;
> +        #size-cells = <0>;
> +
> +        psu@5a {
> +            compatible = "delta,dps920ab";
> +            reg = <0x5a>;
> +        };
> +    };
> -- 
> 2.31.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/delta,dps920ab.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/delta,dps920ab.yaml
new file mode 100644
index 000000000000..e05363a8e455
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/delta,dps920ab.yaml
@@ -0,0 +1,43 @@ 
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+
+$id: http://devicetree.org/schemas/hwmon/pmbus/delta,dps920ab.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Delta DPS920AB power supply
+
+maintainers:
+  - Robert Marko <robert.marko@sartura.hr>
+
+description: |
+  Delta DPS920AB is a 920W 54V DC single output power supply
+  with active PFC capable of 16.88A on the 54V output.
+  It has a built in PWM capable fan with tachometer.
+  PMBus is used to expose information about the PSU.
+
+properties:
+  compatible:
+    enum:
+      - delta,dps920ab
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        psu@5a {
+            compatible = "delta,dps920ab";
+            reg = <0x5a>;
+        };
+    };