# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/infineon,ir38060.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Infineon Buck Regulators with PMBUS interfaces

maintainers:
  - Not Me.

allOf:
  - $ref: regulator.yaml#

properties:
  compatible:
    enum:
      - infineon,ir38060
      - infineon,ir38064
      - infineon,ir38164
      - infineon,ir38263

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

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

      regulator@34 {
        compatible = "infineon,ir38060";
        reg = <0x34>;

        regulator-min-microvolt = <437500>;
        regulator-max-microvolt = <1387500>;
      };
    };
