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

title: Vicor PLI1209BC Power Regulator

maintainers:
  - Marcello Sylvester Bauer <sylv@sylv.io>
  - Naresh Solanki <naresh.solanki@9elements.com>

description:
  The Vicor PLI1209BC is a Digital Supervisor with Isolation for use
  with BCM Bus Converter Modules.

properties:
  compatible:
    enum:
      - vicor,pli1209bc

  reg:
    maxItems: 1

  regulators:
    type: object
    description:
      List of regulators provided by this controller.

    properties:
      vout2:
        $ref: /schemas/regulator/regulator.yaml#
        type: object
        unevaluatedProperties: false

    additionalProperties: false

required:
  - compatible
  - reg

additionalProperties: false

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

        regulator@5f {
            compatible = "vicor,pli1209bc";
            reg = <0x5f>;

            regulators {
                p12v_d: vout2 {
                    regulator-name = "bcm3";
                    regulator-boot-on;
                };
            };
        };
    };

