MCP16502 - High-Performance PMIC
Schema identifier ($id): "http://devicetree.org/schemas/regulator/microchip,mcp16502.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrei Simion <andrei.simion@microchip.com>"
The MCP16502 is an optimally integrated PMIC compatible with Microchip's eMPUs(Embedded Microprocessor Units), requiring Dynamic Voltage Scaling (DVS) with the use of High-Performance mode (HPM).
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "microchip,mcp16502"
lpm-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO for LPM pin. Note that this GPIO must remain high during suspend-to-ram, keeping the PMIC into HIBERNATE mode.
reg — required here #
Maximum number of items (maxItems): 1
lvin-supply — not listed as required here #
Input supply phandle for LDO1 and LDO2
pvin1-supply — not listed as required here #
Input supply phandle for VDD_IO (BUCK1)
pvin2-supply — not listed as required here #
Input supply phandle for VDD_DDR (BUCK2)
pvin3-supply — not listed as required here #
Input supply phandle for VDD_CORE (BUCK3)
pvin4-supply — not listed as required here #
Input supply phandle for VDD_OTHER (BUCK4)
regulators — required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
List of regulators and its properties.
Properties matching a name pattern (patternProperties) #
^(VDD_(IO|CORE|DDR|OTHER)|LDO[1-2])$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
regulator-initial-mode — not listed as required here
Default value (default): 2
Initial operating mode
regulator-allowed-modes — not listed as required here
Array item rules (items)
Supported modes 2 - FPWM higher precision, higher consumption 4 - AutoPFM lower precision, lower consumption
Required in this object (required): "compatible", "reg", "regulators"
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@5b {
compatible = "microchip,mcp16502";
reg = <0x5b>;
lvin-supply = <®_5v>;
pvin1-supply = <®_5v>;
pvin2-supply = <®_5v>;
pvin3-supply = <®_5v>;
pvin4-supply = <®_5v>;
regulators {
VDD_IO {
regulator-name = "VDD_IO";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-initial-mode = <2>;
regulator-allowed-modes = <2>, <4>;
regulator-always-on;
regulator-state-standby {
regulator-on-in-suspend;
regulator-mode = <4>;
};
regulator-state-mem {
regulator-off-in-suspend;
regulator-mode = <4>;
};
};
VDD_DDR {
regulator-name = "VDD_DDR";
regulator-min-microvolt = <1350000>;
regulator-max-microvolt = <1350000>;
regulator-initial-mode = <2>;
regulator-allowed-modes = <2>, <4>;
regulator-always-on;
regulator-state-standby {
regulator-on-in-suspend;
regulator-mode = <4>;
};
regulator-state-mem {
regulator-on-in-suspend;
regulator-mode = <4>;
};
};
VDD_CORE {
regulator-name = "VDD_CORE";
regulator-min-microvolt = <1150000>;
regulator-max-microvolt = <1150000>;
regulator-initial-mode = <2>;
regulator-allowed-modes = <2>, <4>;
regulator-always-on;
regulator-state-standby {
regulator-on-in-suspend;
regulator-mode = <4>;
};
regulator-state-mem {
regulator-off-in-suspend;
regulator-mode = <4>;
};
};
VDD_OTHER {
regulator-name = "VDD_OTHER";
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1250000>;
regulator-initial-mode = <2>;
regulator-allowed-modes = <2>, <4>;
regulator-always-on;
regulator-state-standby {
regulator-on-in-suspend;
regulator-mode = <4>;
};
regulator-state-mem {
regulator-off-in-suspend;
regulator-mode = <4>;
};
};
LDO1 {
regulator-name = "LDO1";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-state-standby {
regulator-on-in-suspend;
};
regulator-state-mem {
regulator-off-in-suspend;
};
};
LDO2 {
regulator-name = "LDO2";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3700000>;
regulator-always-on;
regulator-state-standby {
regulator-on-in-suspend;
};
regulator-state-mem {
regulator-off-in-suspend;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause