# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwmon/pmbus/adi,adp1050.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Analog Devices ADP1050 digital controller with PMBus interface

maintainers:
  - Radu Sabau <radu.sabau@analog.com>

description: |
   The ADP1050 is used to monitor system voltages, currents and temperatures.
   Through the PMBus interface, the ADP1050 targets isolated power supplies
   and has four individual monitors for input/output voltage, input current
   and temperature.
   Datasheet:
     https://www.analog.com/en/products/adp1050.html

properties:
  compatible:
    const: adi,adp1050

  reg:
    maxItems: 1

  vcc-supply: true

required:
  - compatible
  - reg
  - vcc-supply

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;
        clock-frequency = <100000>;

        hwmon@70 {
            compatible = "adi,adp1050";
            reg = <0x70>;
            vcc-supply = <&vcc>;
        };
    };
...
