Linux Audio

Check our new training course

Embedded Linux Audio

Check our new training course
with Creative Commons CC-BY-SA
lecture materials

Bootlin logo

Elixir Cross Referencer

Loading...
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/active-semi,act8600.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Active-semi ACT8600 regulator

maintainers:
  - Paul Cercueil <paul@crapouillou.net>

properties:
  compatible:
    const: active-semi,act8600

  reg:
    maxItems: 1

  system-power-controller:
    description:
      Indicates that the ACT8600 is responsible for powering OFF
      the system.
    type: boolean

  active-semi,vsel-high:
    description:
      Indicates the VSEL pin is high. If this property is missing,
      the VSEL pin is assumed to be low.
    type: boolean

  regulators:
    type: object
    additionalProperties: false

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

        properties:
          vp1-supply:
            description: Handle to the VP1 input supply

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

        properties:
          vp2-supply:
            description: Handle to the VP2 input supply

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

        properties:
          vp3-supply:
            description: Handle to the VP3 input supply

    patternProperties:
      "^(SUDCDC_REG4|LDO_REG9|LDO_REG10)$":
        type: object
        $ref: /schemas/regulator/regulator.yaml#
        unevaluatedProperties: false

      "^LDO[5-8]$":
        type: object
        $ref: /schemas/regulator/regulator.yaml#
        unevaluatedProperties: false

        properties:
          inl-supply:
            description: Handle to the INL input supply

additionalProperties: false

required:
  - reg
  - compatible
  - regulators

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

      pmic@5a {
        compatible = "active-semi,act8600";
        reg = <0x5a>;

        regulators {
          SUDCDC_REG4 {
            regulator-min-microvolt = <5300000>;
            regulator-max-microvolt = <5300000>;
            inl-supply = <&vcc>;
          };

          LDO5 {
            regulator-min-microvolt = <2500000>;
            regulator-max-microvolt = <2500000>;
            inl-supply = <&vcc>;
          };

          LDO6 {
            regulator-min-microvolt = <3300000>;
            regulator-max-microvolt = <3300000>;
            inl-supply = <&vcc>;
          };

          LDO7 {
            regulator-min-microvolt = <3300000>;
            regulator-max-microvolt = <3300000>;
            inl-supply = <&vcc>;
          };

          LDO8 {
            regulator-min-microvolt = <1800000>;
            regulator-max-microvolt = <1800000>;
            regulator-always-on;
            inl-supply = <&vcc>;
          };

          LDO_REG9 {
            regulator-min-microvolt = <3300000>;
            regulator-max-microvolt = <3300000>;
            regulator-always-on;
            inl-supply = <&vcc>;
          };

          LDO_REG10 {
            inl-supply = <&vcc>;
          };
        };
      };
    };