NXP PCA9450A/B/C Power Management Integrated Circuit regulators
Schema identifier ($id): "http://devicetree.org/schemas/regulator/nxp,pca9450-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Robin Gong <yibin.gong@nxp.com>"
Regulator nodes should be named to BUCK_<number> and LDO_<number>. The definition for each of these nodes is defined using the standard binding for regulators at Documentation/devicetree/bindings/regulator/regulator.txt. Datasheet is available at https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf
Support PF9453, Datasheet is available at https://www.nxp.com/docs/en/data-sheet/PF9453_SDS.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nxp,pca9450a", "nxp,pca9450b", "nxp,pca9450c", "nxp,pca9451a", "nxp,pca9452", "nxp,pf9453"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
inl1-supply — not listed as required here #
Regulator supply for the INL1 pin group, powering LDOx
inb13-supply — not listed as required here #
Regulator supply for the INB13 pin group, powering BUCK1 and BUCK3.
inb26-supply — not listed as required here #
Regulator supply for the INB26 pin group, powering BUCK2 and BUCK6.
inb45-supply — not listed as required here #
Regulator supply for the INB45 pin group, powering BUCK4 and BUCK5.
regulators — required here #
Value type (type): "object"
list of regulators provided by this controller
Properties and child nodes (properties) #
LDO5 — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties for single LDO5 regulator.
Properties and child nodes (properties)
nxp,sd-vsel-fixed-low — not listed as required here
Value type (type): "boolean"
Let the driver know that SD_VSEL is hardwired to low level and there is no GPIO to get the actual value from.
sd-vsel-gpios — not listed as required here
GPIO that can be used to read the current status of the SD_VSEL signal in order for the driver to know if LDO5CTRL_L or LDO5CTRL_H is used by the hardware.
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^LDO([1-4]|-SNVS)$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties for single LDO regulator.
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
^BUCK[1-6]$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties for single BUCK regulator.
Properties and child nodes (properties)
nxp,dvs-run-voltage — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 600000
Maximum value (maximum): 2187500
PMIC default "RUN" state voltage in uV. Only Buck1~3 have such dvs(dynamic voltage scaling) property.
nxp,dvs-standby-voltage — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 600000
Maximum value (maximum): 2187500
PMIC default "STANDBY" state voltage in uV. Only Buck1~3 have such dvs(dynamic voltage scaling) property.
regulator-allowed-modes — not listed as required here
Buck regulator operating modes allowed. Valid values below.
Users should use the macros from dt-bindings/regulator/nxp,pca9450-regulator.h
0 (PCA9450_BUCK_MODE_AUTO): Auto PFM/PWM mode
1 (PCA9450_BUCK_MODE_FORCE_PWM): Forced PWM mode
Array item rules (items)
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
nxp,i2c-lt-enable — not listed as required here #
Value type (type): "boolean"
Indicates that the I2C Level Translator is used.
nxp,wdog_b-warm-reset — not listed as required here #
Value type (type): "boolean"
When WDOG_B signal is asserted a warm reset will be done instead of cold reset.
nxp,pmic-on-req-on-debounce-us — not listed as required here #
Allowed values (enum): 120, 20000, 100000, 750000
Debounce time for PMIC_ON_REQ high.
nxp,pmic-on-req-off-debounce-us — not listed as required here #
Allowed values (enum): 120, 2000
Debounce time for PMIC_ON_REQ is asserted low
nxp,power-on-step-ms — not listed as required here #
Allowed values (enum): 1, 2, 4, 8
Time step configuration during power on sequence
nxp,power-down-step-ms — not listed as required here #
Allowed values (enum): 2, 4, 8, 16
Time step configuration during power down sequence
nxp,restart-ms — not listed as required here #
Allowed values (enum): 250, 500
Time to stay off regulators during Cold reset
npx,pmic-rst-b-debounce-ms — not listed as required here #
Allowed values (enum): 10, 50, 100, 500, 1000, 2000, 4000, 8000
PMIC_RST_B debounce time
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.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nxp,pf9453"When the condition matches (
then) #Properties and child nodes (
properties)
regulators— not listed as required hereProperties matching a name pattern (
patternProperties)
^LDO[3-4]$— name matches this regular expression
false— Not permitted by this property rule.
^BUCK[5-6]$— name matches this regular expression
false— Not permitted by this property rule.When the condition does not match (
else) #Properties and child nodes (
properties)
regulators— not listed as required hereProperties and child nodes (
properties)
LDO-SNVS— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/regulator/nxp,pca9450-regulator.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic: pmic@25 {
compatible = "nxp,pca9450b";
reg = <0x25>;
pinctrl-0 = <&pinctrl_pmic>;
interrupt-parent = <&gpio1>;
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
regulators {
buck1: BUCK1 {
regulator-name = "BUCK1";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <2187500>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <3125>;
};
buck2: BUCK2 {
regulator-name = "BUCK2";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <2187500>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <3125>;
nxp,dvs-run-voltage = <950000>;
nxp,dvs-standby-voltage = <850000>;
};
buck4: BUCK4 {
regulator-name = "BUCK4";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
regulator-always-on;
regulator-initial-mode = <PCA9450_BUCK_MODE_FORCE_PWM>;
regulator-allowed-modes = <PCA9450_BUCK_MODE_FORCE_PWM>;
};
buck5: BUCK5 {
regulator-name = "BUCK5";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
regulator-always-on;
regulator-allowed-modes = <PCA9450_BUCK_MODE_AUTO
PCA9450_BUCK_MODE_FORCE_PWM>;
};
buck6: BUCK6 {
regulator-name = "BUCK6";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
regulator-always-on;
};
ldo1: LDO1 {
regulator-name = "LDO1";
regulator-min-microvolt = <1600000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo2: LDO2 {
regulator-name = "LDO2";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1150000>;
regulator-boot-on;
regulator-always-on;
};
ldo3: LDO3 {
regulator-name = "LDO3";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo4: LDO4 {
regulator-name = "LDO4";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo5: LDO5 {
regulator-name = "LDO5";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 23: The valid names for PCA9450 regulator nodes are:
Line 24: BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6,
Line 25: LDO1, LDO2, LDO3, LDO4, LDO5
Line 26: Note: Buck3 removed on PCA9450B and connect with Buck1 on PCA9450C.