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

title: Maxim MAX77693 MicroUSB and Companion Power Management IC regulators

maintainers:
  - Chanwoo Choi <cw00.choi@samsung.com>
  - Krzysztof Kozlowski <krzk@kernel.org>

description: |
  This is a part of device tree bindings for Maxim MAX77693 MicroUSB Integrated
  Circuit (MUIC).

  See also Documentation/devicetree/bindings/mfd/maxim,max77693.yaml for
  additional information and example.

properties:
  CHARGER:
    type: object
    $ref: regulator.yaml#
    additionalProperties: false
    description: |
      Current regulator.

    properties:
      regulator-name: true
      regulator-always-on: true
      regulator-boot-on: true
      regulator-min-microamp:
        minimum: 60000
      regulator-max-microamp:
        maximum: 2580000

    required:
      - regulator-name

patternProperties:
  "^ESAFEOUT[12]$":
    type: object
    $ref: regulator.yaml#
    additionalProperties: false
    description: |
      Safeout LDO regulator.

    properties:
      regulator-name: true
      regulator-always-on: true
      regulator-boot-on: true
      regulator-min-microvolt:
        minimum: 3300000
      regulator-max-microvolt:
        maximum: 4950000

    required:
      - regulator-name

additionalProperties: false