Austria MicroSystems AS3711 Quad Buck High Current PMIC with Charger

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ams,as3711.yaml#"

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

Maintainers (maintainers): "Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>"

AS3711 is an I2C PMIC from Austria MicroSystems with multiple DC/DC and LDO power supplies, a battery charger and an RTC. So far only bindings for the two step-up DC/DC converters are defined.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ams,as3711"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

Step-up converter configuration, to be used as a backlight source

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) #

compatible — required here

Exact value (const): "ams,as3711-bl"

su1-dev — not listed as required here

Framebuffer phandle for the first step-up converter

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

su1-max-uA — not listed as required here

Maximum current for the first step-up converter

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

su2-dev — not listed as required here

Framebuffer phandle for the second step-up converter

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

su2-max-uA — not listed as required here

Maximum current for the second step-up converter

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

su2-feedback-voltage — not listed as required here

Second step-up converter uses voltage feedback

Value type (type): "boolean"

su2-feedback-curr1 — not listed as required here

Second step-up converter uses CURR1 input for current feedback

Value type (type): "boolean"

su2-feedback-curr2 — not listed as required here

Second step-up converter uses CURR2 input for current feedback

Value type (type): "boolean"

su2-feedback-curr3 — not listed as required here

Second step-up converter uses CURR3 input for current feedback

Value type (type): "boolean"

su2-feedback-curr-auto — not listed as required here

Second step-up converter uses automatic current feedback selection

Value type (type): "boolean"

su2-fbprot-lx-sd4 — not listed as required here

Second step-up converter uses LX_SD4 for over-voltage protection

Value type (type): "boolean"

su2-fbprot-gpio2 — not listed as required here

Second step-up converter uses GPIO2 for over-voltage protection

Value type (type): "boolean"

su2-fbprot-gpio3 — not listed as required here

Second step-up converter uses GPIO3 for over-voltage protection

Value type (type): "boolean"

su2-fbprot-gpio4 — not listed as required here

Second step-up converter uses GPIO4 for over-voltage protection

Value type (type): "boolean"

su2-auto-curr1 — not listed as required here

Second step-up converter uses CURR1 input for automatic current feedback

Value type (type): "boolean"

su2-auto-curr2 — not listed as required here

Second step-up converter uses CURR2 input for automatic current feedback

Value type (type): "boolean"

su2-auto-curr3 — not listed as required here

Second step-up converter uses CURR3 input for automatic current feedback

Value type (type): "boolean"

Required in this object (required): "compatible"

Requirements triggered by another property (dependentRequired): { su1-dev: "su1-max-uA", su1-max-uA: "su1-dev", su2-dev: "su2-max-uA", su2-max-uA: "su2-dev", su2-feedback-voltage: "su2-dev", su2-feedback-curr1: "su2-dev", su2-feedback-curr2: "su2-dev", su2-feedback-curr3: "su2-dev", su2-feedback-curr-auto: "su2-dev", su2-fbprot-lx-sd4: "su2-dev", su2-fbprot-gpio2: "su2-dev", su2-fbprot-gpio3: "su2-dev", su2-fbprot-gpio4: "su2-dev", su2-auto-curr1: "su2-feedback-curr-auto", su2-auto-curr2: "su2-feedback-curr-auto", su2-auto-curr3: "su2-feedback-curr-auto" }

Rules triggered by another property (dependentSchemas) #

su2-dev — applies when this property is present

All of these rules must match (allOf)

Rule 1

Exactly one of these rules must match (oneOf)

Rule 1

Required in this object (required): "su2-feedback-voltage"

Rule 2

Required in this object (required): "su2-feedback-curr1"

Rule 3

Required in this object (required): "su2-feedback-curr2"

Rule 4

Required in this object (required): "su2-feedback-curr3"

Rule 5

Required in this object (required): "su2-feedback-curr-auto"

Rule 2

Exactly one of these rules must match (oneOf)

Rule 1

Required in this object (required): "su2-fbprot-lx-sd4"

Rule 2

Required in this object (required): "su2-fbprot-gpio2"

Rule 3

Required in this object (required): "su2-fbprot-gpio3"

Rule 4

Required in this object (required): "su2-fbprot-gpio4"

su2-feedback-curr-auto — applies when this property is present

At least one of these rules must match (anyOf)

Rule 1

Required in this object (required): "su2-auto-curr1"

Rule 2

Required in this object (required): "su2-auto-curr2"

Rule 3

Required in this object (required): "su2-auto-curr3"

regulators — not listed as required here #

Other DC/DC and LDO supplies

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(sd[1-4]|ldo[1-8])$ — 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.

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

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

false

Not allowed by this rule.

Examples (examples) #

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

    pmic@40 {
        compatible = "ams,as3711";
        reg = <0x40>;

        regulators {
            sd4 {
                regulator-name = "1.215V";
                regulator-min-microvolt = <1215000>;
                regulator-max-microvolt = <1235000>;
            };
            ldo2 {
                regulator-name = "2.8V CPU";
                regulator-min-microvolt = <2800000>;
                regulator-max-microvolt = <2800000>;
                regulator-always-on;
                regulator-boot-on;
            };
        };

        backlight {
            compatible = "ams,as3711-bl";
            su2-dev = <&lcdc>;
            su2-max-uA = <36000>;
            su2-feedback-curr-auto;
            su2-fbprot-gpio4;
            su2-auto-curr1;
            su2-auto-curr2;
            su2-auto-curr3;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 115: To use the SU1 converter as a backlight source the following two

Line 116: properties must be provided:

Line 120: To use the SU2 converter as a backlight source the following two

Line 121: properties must be provided:

Edit this page