Marvell 88PM886 PMIC core

Schema identifier ($id): "http://devicetree.org/schemas/mfd/marvell,88pm886-a1.yaml#"

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

Maintainers (maintainers): "Karel Balej <balejk@matfyz.cz>"

Marvell 88PM886 is a PMIC providing several functions such as onkey, regulators or battery and charger.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "marvell,88pm886-a1"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

regulators — not listed as required here #

Value type (type): "object"

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

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(ldo(1[0-6]|[1-9])|buck[1-5])$ — name matches this regular expression

Value type (type): "object"

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

LDO or buck regulator.

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

#io-channel-cells — not listed as required here #

Exact value (const): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  pmic@30 {
    compatible = "marvell,88pm886-a1";
    reg = <0x30>;
    interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-parent = <&gic>;
    #io-channel-cells = <1>;
    wakeup-source;

    regulators {
      ldo2: ldo2 {
        regulator-min-microvolt = <3100000>;
        regulator-max-microvolt = <3300000>;
      };

      ldo15: ldo15 {
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
      };

      buck2: buck2 {
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page