Active-semi ACT8865 regulator

Schema identifier ($id): "http://devicetree.org/schemas/regulator/active-semi,act8865.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "active-semi,act8865"

reg — required here #

Maximum number of items (maxItems): 1

system-power-controller — not listed as required here #

Indicates that the ACT8865 is responsible for powering OFF the system.

Value type (type): "boolean"

active-semi,vsel-high — not listed as required here #

Indicates the VSEL pin is high. If this property is missing, the VSEL pin is assumed to be low.

Value type (type): "boolean"

regulators — required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

DCDC_REG1 — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

vp1-supply — not listed as required here

Handle to the VP1 input supply

DCDC_REG2 — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

vp2-supply — not listed as required here

Handle to the VP2 input supply

DCDC_REG3 — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

vp3-supply — not listed as required here

Handle to the VP3 input supply

Properties matching a name pattern (patternProperties) #

^LDO_REG[1-2]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

inl45-supply — not listed as required here

Handle to the INL45 input supply

^LDO_REG[3-4]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

inl67-supply — not listed as required here

Handle to the INL67 input supply

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "reg", "compatible", "regulators"

Examples (examples) #

#include <dt-bindings/regulator/active-semi,8865-regulator.h>

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

  pmic@5b {
    compatible = "active-semi,act8865";
    reg = <0x5b>;
    active-semi,vsel-high;

    regulators {
      DCDC_REG1 {
        regulator-name = "VCC_1V8";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;
        regulator-always-on;
      };

      DCDC_REG2 {
        regulator-name = "VCC_1V2";
        regulator-min-microvolt = <1100000>;
        regulator-max-microvolt = <1300000>;
        regulator-always-on;

        regulator-allowed-modes = <ACT8865_REGULATOR_MODE_FIXED>,
                                  <ACT8865_REGULATOR_MODE_LOWPOWER>;
        regulator-initial-mode = <ACT8865_REGULATOR_MODE_FIXED>;

        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-suspend-min-microvolt = <1150000>;
          regulator-suspend-max-microvolt = <1150000>;
          regulator-changeable-in-suspend;
          regulator-mode = <ACT8865_REGULATOR_MODE_LOWPOWER>;
        };
      };

      DCDC_REG3 {
        regulator-name = "VCC_3V3";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
        regulator-always-on;
      };

      LDO_REG1 {
        regulator-name = "VDDANA";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
        regulator-always-on;

        regulator-allowed-modes = <ACT8865_REGULATOR_MODE_NORMAL>,
                                  <ACT8865_REGULATOR_MODE_LOWPOWER>;
        regulator-initial-mode = <ACT8865_REGULATOR_MODE_NORMAL>;

        regulator-state-mem {
          regulator-off-in-suspend;
        };
      };

      LDO_REG2 {
        regulator-name = "FUSE_2V5";
        regulator-min-microvolt = <2500000>;
        regulator-max-microvolt = <2500000>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page