Regulator bindings
Single-page view · as markdown
Active-semi ACT8600 regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/active-semi,act8600.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,act8600"
reg — required here #
Maximum number of items (maxItems): 1
system-power-controller — not listed as required here #
Indicates that the ACT8600 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) #
DCDC1 — 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
DCDC2 — 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
DCDC3 — 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) #
^(SUDCDC_REG4|LDO_REG9|LDO_REG10)$ — 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.
^LDO[5-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.
Properties and child nodes (properties)
inl-supply — not listed as required here
Handle to the INL 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) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@5a {
compatible = "active-semi,act8600";
reg = <0x5a>;
regulators {
SUDCDC_REG4 {
regulator-min-microvolt = <5300000>;
regulator-max-microvolt = <5300000>;
inl-supply = <&vcc>;
};
LDO5 {
regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <2500000>;
inl-supply = <&vcc>;
};
LDO6 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
inl-supply = <&vcc>;
};
LDO7 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
inl-supply = <&vcc>;
};
LDO8 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
inl-supply = <&vcc>;
};
LDO_REG9 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
inl-supply = <&vcc>;
};
LDO_REG10 {
inl-supply = <&vcc>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Active-semi ACT8846 regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/active-semi,act8846.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,act8846"
reg — required here #
Maximum number of items (maxItems): 1
system-power-controller — not listed as required here #
Indicates that the ACT8846 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"
inl1-supply — not listed as required here #
Handle to the INL1 input supply (REG5-7)
inl2-supply — not listed as required here #
Handle to the INL2 input supply (REG8-9)
inl3-supply — not listed as required here #
Handle to the INL3 input supply (REG10-12)
vp1-supply — not listed as required here #
Handle to the VP1 input supply (REG1)
vp2-supply — not listed as required here #
Handle to the VP2 input supply (REG2)
vp3-supply — not listed as required here #
Handle to the VP3 input supply (REG3)
vp4-supply — not listed as required here #
Handle to the VP4 input supply (REG4)
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 matching a name pattern (patternProperties) #
^REG([1-9]|1[0-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 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) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@5a {
compatible = "active-semi,act8846";
reg = <0x5a>;
system-power-controller;
regulators {
REG1 {
regulator-name = "VCC_DDR";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
};
REG2 {
regulator-name = "VCC_IO";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
REG3 {
regulator-name = "VDD_LOG";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-always-on;
};
REG4 {
regulator-name = "VCC_20";
regulator-min-microvolt = <2000000>;
regulator-max-microvolt = <2000000>;
regulator-always-on;
};
REG5 {
regulator-name = "VCCIO_SD";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
REG6 {
regulator-name = "VDD10_LCD";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-always-on;
};
REG7 {
regulator-name = "VCC_WL";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
REG8 {
regulator-name = "VCCA_33";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
REG9 {
regulator-name = "VCC_LAN";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
REG10 {
regulator-name = "VDD_10";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-always-on;
};
REG11 {
regulator-name = "VCC_18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
REG12 {
regulator-name = "VCC18_LCD";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Active-semi ACT8865 regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
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)
Active-semi ACT8945a regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/active-semi,act8945a.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,act8945a"
reg — required here #
Maximum number of items (maxItems): 1
system-power-controller — not listed as required here #
Indicates that the ACT8945a 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) #
REG_DCDC1 — 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
REG_DCDC2 — 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
REG_DCDC3 — 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) #
^REG_LDO[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
^REG_LDO[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
charger — 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 and child nodes (properties) #
compatible — required here
Exact value (const): "active-semi,act8945a-charger"
interrupts — required here
Maximum number of items (maxItems): 1
active-semi,chglev-gpios — required here
charge current level GPIO
Maximum number of items (maxItems): 1
active-semi,lbo-gpios — required here
low battery voltage detect GPIO
Maximum number of items (maxItems): 1
active-semi,input-voltage-threshold-microvolt — not listed as required here
Specifies the charger's input over-voltage threshold value. Despite the name, specified values are in millivolt (mV).
Allowed values (enum): 6600, 7000, 7500, 8000
Default value (default): 6600
active-semi,precondition-timeout — not listed as required here
Specifies the charger's PRECONDITION safety timer setting value in minutes. If 0, it means to disable this timer.
Allowed values (enum): 0, 40, 60, 80
Default value (default): 40
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
active-semi,total-timeout — not listed as required here
Specifies the charger's total safety timer setting value in hours; If 0, it means to disable this timer;
Allowed values (enum): 0, 3, 4, 5
Default value (default): 3
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Required in this object (required): "compatible", "interrupts", "active-semi,chglev-gpios", "active-semi,lbo-gpios"
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/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/mfd/atmel-flexcom.h>
#include <dt-bindings/regulator/active-semi,8945a-regulator.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@5b {
compatible = "active-semi,act8945a";
reg = <0x5b>;
active-semi,vsel-high;
regulators {
REG_DCDC1 {
regulator-name = "VDD_1V35";
regulator-min-microvolt = <1350000>;
regulator-max-microvolt = <1350000>;
regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
<ACT8945A_REGULATOR_MODE_LOWPOWER>;
regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-min-microvolt = <1400000>;
regulator-suspend-max-microvolt = <1400000>;
regulator-changeable-in-suspend;
regulator-mode = <ACT8945A_REGULATOR_MODE_LOWPOWER>;
};
};
REG_DCDC2 {
regulator-name = "VDD_1V2";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1300000>;
regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
<ACT8945A_REGULATOR_MODE_LOWPOWER>;
regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
REG_DCDC3 {
regulator-name = "VDD_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
<ACT8945A_REGULATOR_MODE_LOWPOWER>;
regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
REG_LDO1 {
regulator-name = "VDD_FUSE";
regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <2500000>;
regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
<ACT8945A_REGULATOR_MODE_LOWPOWER>;
regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
REG_LDO2 {
regulator-name = "VDD_3V3_LP";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
<ACT8945A_REGULATOR_MODE_LOWPOWER>;
regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
REG_LDO3 {
regulator-name = "VDD_LED";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
<ACT8945A_REGULATOR_MODE_LOWPOWER>;
regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
REG_LDO4 {
regulator-name = "VDD_SDHC_1V8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
<ACT8945A_REGULATOR_MODE_LOWPOWER>;
regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
};
charger {
compatible = "active-semi,act8945a-charger";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
interrupt-parent = <&pioA>;
interrupts = <45 IRQ_TYPE_EDGE_RISING>;
active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>;
active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>;
active-semi,input-voltage-threshold-microvolt = <6600>;
active-semi,precondition-timeout = <40>;
active-semi,total-timeout = <3>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices ADP5055 Triple Buck Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/adi,adp5055-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alexis Czezar Torreno <alexisczezar.torreno@analog.com>"
The ADP5055 combines three high performance buck regulator. The device enables direct connection to high input voltages up to 18 V with no preregulators. https://www.analog.com/media/en/technical-documentation/data-sheets/adp5055.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adp5055"
reg — required here #
Allowed values (enum): 112, 113
adi,tset-us — not listed as required here #
Setting time used by the device. This is changed via soldering specific resistor values on the CFG2 pin.
Allowed values (enum): 2600, 20800
Default value (default): 2600
adi,ocp-blanking — not listed as required here #
If present, overcurrent protection (OCP) blanking for all regulator is on.
Value type (type): "boolean"
adi,delay-power-good — not listed as required here #
Configures delay timer of the power good (PWRGD) pin. Delay is based on Tset which can be 2.6 ms or 20.8 ms.
Value type (type): "boolean"
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^buck[0-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) #
enable-gpios — not listed as required here
Maximum number of items (maxItems): 1
GPIO specifier to enable the GPIO control for each regulator. The driver supports two modes of enable, hardware only (GPIOs) or software only (Registers). Pure hardware enabling requires each regulator to contain this property. If at least one regulator does not have this, the driver automatically switches to software only mode.
adi,dvs-limit-upper-microvolt — not listed as required here
Configure the allowable upper side limit of the voltage output of each regulator in microvolt. Relative to the default Vref trimming value. Vref = 600 mV. Voltages are in 12 mV steps, value is autoadjusted. Vout_high = Vref_trim + dvs-limit-upper.
Minimum value (minimum): 12000
Maximum value (maximum): 192000
Default value (default): 192000
adi,dvs-limit-lower-microvolt — not listed as required here
Configure the allowable lower side limit of the voltage output of each regulator in microvolt. Relative to the default Vref trimming value. Vref = 600 mV. Voltages are in 12 mV steps, value is autoadjusted. Vout_low = Vref_trim + dvs-limit-lower.
Minimum value (minimum): -190500
Maximum value (maximum): -10500
Default value (default): -190500
adi,fast-transient — not listed as required here
Configures the fast transient sensitivity for each regulator. "none" - No fast transient. "3G_1.5%" - 1.5% window with 3*350uA/V "5G_1.5%" - 1.5% window with 5*350uA/V "5G_2.5%" - 2.5% window with 5*350uA/V
Allowed values (enum): "none", "3G_1.5%", "5G_1.5%", "5G_2.5%"
Default value (default): "5G_2.5%"
adi,mask-power-good — not listed as required here
If present, masks individual regulators PWRGD signal to the external PWRGD hardware pin.
Value type (type): "boolean"
Required in this object (required): "regulator-name"
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) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@70 {
compatible = "adi,adp5055";
reg = <0x70>;
#address-cells = <1>;
#size-cells = <0>;
adi,tset-us = <2600>;
adi,ocp-blanking;
adi,delay-power-good;
buck0 {
regulator-name = "buck0";
enable-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
adi,dvs-limit-upper-microvolt = <192000>;
adi,dvs-limit-lower-microvolt = <(-190500)>;
adi,fast-transient = "5G_2.5%";
adi,mask-power-good;
};
buck1 {
regulator-name = "buck1";
enable-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
adi,dvs-limit-upper-microvolt = <192000>;
adi,dvs-limit-lower-microvolt = <(-190500)>;
adi,fast-transient = "5G_2.5%";
adi,mask-power-good;
};
buck2 {
regulator-name = "buck2";
enable-gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
adi,dvs-limit-upper-microvolt = <192000>;
adi,dvs-limit-lower-microvolt = <(-190500)>;
adi,fast-transient = "5G_2.5%";
adi,mask-power-good;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Analog Devices MAX77503 Buck Converter
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/adi,max77503-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Gokhan Celik <Gokhan.Celik@analog.com>"
The Analog Devices MAX77503 is a single channel 14V input, 1.5A high-efficiency buck converter. This converter has 94% efficiency for 2-Cell/3-Cell battery applications.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,max77503"
reg — required here #
I2C address of the device
Array item rules (items) #
Item 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@1e {
compatible = "adi,max77503";
reg = <0x1e>;
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <5000000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2023 Analog Devices, Inc.
Buck Converter for MAX77540/MAX77541
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/adi,max77541-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Okan Sahin <okan.sahin@analog.com>"
This is a part of device tree bindings for ADI MAX77540/MAX77541
The buck converter is represented as a sub-node of the PMIC node on the device tree.
The device has two buck regulators. See also Documentation/devicetree/bindings/mfd/adi,max77541.yaml for additional information and example.
Properties matching a name pattern (patternProperties) #
^buck[12]$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Buck regulator.
Properties and child nodes (properties) #
regulator-name — not listed as required here
true — No constraints added by this property rule.
regulator-always-on — not listed as required here
true — No constraints added by this property rule.
regulator-boot-on — not listed as required here
true — No constraints added by this property rule.
regulator-min-microvolt — not listed as required here
Minimum value (minimum): 300000
regulator-max-microvolt — not listed as required here
Maximum value (maximum): 5200000
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Maxim MAX77675 PMIC Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/adi,max77675.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Joan Na <joan.na@analog.com>"
The MAX77675 is a Power Management IC providing four switching buck regulators (SBB0–SBB3) accessible via I2C. It supports configuration of output voltages and enable controls for each regulator.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/input/input.yaml
Rule 2 #
Shared schema rule (
$ref):/schemas/pinctrl/pincfg-node.yaml
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "adi,max77675"
reg — required here #
Maximum number of items (maxItems): 1
reset-time-sec — not listed as required here #
Manual reset time in seconds
Allowed values (enum): 4, 8, 12, 16
Default value (default): 4
bias-disable — not listed as required here #
Value type (type): "boolean"
Disable internal pull-up for EN pin
input-debounce — not listed as required here #
Debounce time for the enable pin, in microseconds
Array item rules (items) #
Item 1
Default value (default): 100
adi,en-mode — not listed as required here #
Enable mode configuration. The debounce time set by 'input-debounce' applies to both push-button and slide-switch modes. "push-button" - A long press triggers power-on or power-down "slide-switch" - Low : powers on, High : powers down "logic" - Low : powers on, High : powers down (no debounce time)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "push-button", "slide-switch", "logic"
Default value (default): "slide-switch"
adi,voltage-change-latency-us — not listed as required here #
Specifies the delay (in microseconds) between an output voltage change request and the start of the SBB voltage ramp.
Allowed values (enum): 10, 100
Default value (default): 100
adi,drv-sbb-strength — not listed as required here #
SIMO Buck-Boost Drive Strength Trim. Controls the drive strength of the SIMO regulator's power MOSFETs. This setting affects switching speed, impacting power efficiency and EMI. "max" – Maximum drive strength (~0.6 ns transition time) "high" – High drive strength (~1.2 ns transition time) "low" – Low drive strength (~1.8 ns transition time) "min" – Minimum drive strength (~8 ns transition time)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "max", "high", "low", "min"
Default value (default): "max"
adi,dvs-slew-rate-mv-per-us — not listed as required here #
Dynamic rising slew rate for output voltage transitions, in mV/μs. This setting is only used when 'adi,fixed-slew-rate' is not present.
Default value (default): 5
adi,bias-low-power-request — not listed as required here #
Value type (type): "boolean"
Request low-power bias mode
adi,simo-ldo-always-on — not listed as required here #
Value type (type): "boolean"
Set internal LDO to always supply 1.8V
regulators — required here #
Value type (type): "object"
Regulator child nodes
Properties matching a name pattern (patternProperties) #
^sbb[0-3]$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties)
adi,fps-slot — not listed as required here
FPS (Flexible Power Sequencer) slot selection. The Flexible Power Sequencer allows resources to power up under hardware or software control. Additionally, each resource can power up independently or among a group of other regulators with adjustable power-up and power-down slots. "slot0" - Assign to FPS Slot 0 "slot1" - Assign to FPS Slot 1 "slot2" - Assign to FPS Slot 2 "slot3" - Assign to FPS Slot 3 "default" - Use the default FPS slot value stored in register
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "slot0", "slot1", "slot2", "slot3", "default"
Default value (default): "default"
adi,fixed-slew-rate — not listed as required here
Value type (type): "boolean"
When this property is present, the device uses a constant 2 mV/μs slew rate and ignores any dynamic slew rate configuration. When absent, the device uses the dynamic slew rate specified by 'adi,dvs-slew-rate-mv-per-us'
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
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>;
max77675: pmic@44 {
compatible = "adi,max77675";
reg = <0x44>;
reset-time-sec = <4>;
input-debounce = <100>;
adi,en-mode = "slide-switch";
adi,voltage-change-latency-us = <100>;
adi,drv-sbb-strength = "max";
adi,dvs-slew-rate-mv-per-us = <5>;
regulators {
sbb0: sbb0 {
regulator-name = "sbb0";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <5500000>;
adi,fps-slot = "default";
adi,fixed-slew-rate;
};
sbb1: sbb1 {
regulator-name = "sbb1";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <5500000>;
adi,fps-slot = "default";
adi,fixed-slew-rate;
};
sbb2: sbb2 {
regulator-name = "sbb2";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <5500000>;
adi,fps-slot = "default";
adi,fixed-slew-rate;
};
sbb3: sbb3 {
regulator-name = "sbb3";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <5500000>;
adi,fps-slot = "default";
adi,fixed-slew-rate;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices MAX77857 Buck-Boost Converter
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/adi,max77857.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ibrahim Tilki <Ibrahim.Tilki@analog.com>", "Okan Sahin <Okan.Sahin@analog.com>"
Analog Devices MAX77857 Buck-Boost Converter
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,max77831", "adi,max77857", "adi,max77859", "adi,max77859a"
reg — required here #
I2C address of the device
Array item rules (items) #
Item 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
adi,switch-frequency-hz — not listed as required here #
Switching frequency of the Buck-Boost converter in Hz.
Array item rules (items) #
Item 1
adi,rtop-ohms — not listed as required here #
Top feedback resistor value in ohms for external feedback.
Minimum value (minimum): 150000
Maximum value (maximum): 330000
adi,rbot-ohms — not listed as required here #
Bottom feedback resistor value in ohms for external feedback.
Property dependencies (dependencies) #
adi,rtop-ohms — applies when this property is present #
Also requires: "adi,rbot-ohms"
adi,rbot-ohms — applies when this property is present #
Also requires: "adi,rtop-ohms"
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
adi,switch-frequency-hz— not listed as required hereArray item rules (
items)
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@66 {
reg = <0x66>;
compatible = "adi,max77857";
interrupt-parent = <&gpio>;
interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
adi,rtop-ohms = <312000>;
adi,rbot-ohms = <12000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2022 Analog Devices Inc.
Allwinner D1 System LDOs
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/allwinner,sun20i-d1-system-ldos.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Samuel Holland <samuel@sholland.org>"
Allwinner D1 contains a pair of general-purpose LDOs which are designed to supply power inside and outside the SoC. They are controlled by a register within the system control MMIO space.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "allwinner,sun20i-d1-system-ldos"
reg — required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^ldo[ab]$ — 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.
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale Anatop Voltage Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/anatop-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "fsl,anatop-regulator"
regulator-name — required here #
true — No constraints added by this property rule.
anatop-reg-offset — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
u32 value representing the anatop MFD register offset.
anatop-vol-bit-shift — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
u32 value representing the bit shift for the register.
anatop-vol-bit-width — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
u32 value representing the number of bits used in the register.
anatop-min-bit-val — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
u32 value representing the minimum value of this register.
anatop-min-voltage — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
u32 value representing the minimum voltage of this regulator.
anatop-max-voltage — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
u32 value representing the maximum voltage of this regulator.
anatop-delay-reg-offset — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
u32 value representing the anatop MFD step time register offset.
anatop-delay-bit-shift — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
u32 value representing the bit shift for the step time register.
anatop-delay-bit-width — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
u32 value representing the number of bits used in the step time register.
anatop-enable-bit — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
u32 value representing regulator enable bit offset.
vin-supply — not listed as required here #
input supply phandle.
Required in this object (required): "compatible", "regulator-name", "anatop-reg-offset", "anatop-vol-bit-shift", "anatop-vol-bit-width", "anatop-min-bit-val", "anatop-min-voltage", "anatop-max-voltage"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
regulator-vddpu {
compatible = "fsl,anatop-regulator";
regulator-name = "vddpu";
regulator-min-microvolt = <725000>;
regulator-max-microvolt = <1300000>;
regulator-always-on;
anatop-reg-offset = <0x140>;
anatop-vol-bit-shift = <9>;
anatop-vol-bit-width = <5>;
anatop-delay-reg-offset = <0x170>;
anatop-delay-bit-shift = <24>;
anatop-delay-bit-width = <2>;
anatop-min-bit-val = <1>;
anatop-min-voltage = <725000>;
anatop-max-voltage = <1300000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Awinic AW37503 Voltage Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/awinic,aw37503.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alec Li <like@awinic.com>"
The AW37503 are dual voltage regulator, designed to support positive/negative supply for driving TFT-LCD panels. It support software-configurable output switching and monitoring. The output voltages can be programmed via an I2C compatible interface.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "awinic,aw37503"
reg — required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^out[pn]$ — 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 for single regulator.
Properties and child nodes (properties) #
enable-gpios — not listed as required here
Maximum number of items (maxItems): 1
GPIO specifier to enable the GPIO control (on/off) for regulator.
Required in this object (required): "regulator-name"
Required in this object (required): "compatible", "reg", "outp", "outn"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@3e {
compatible = "awinic,aw37503";
reg = <0x3e>;
outp {
regulator-name = "outp";
regulator-boot-on;
regulator-always-on;
enable-gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
outn {
regulator-name = "outn";
regulator-boot-on;
regulator-always-on;
enable-gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Broadcom BCM59054 Power Management Unit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/brcm,bcm59054.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This is a part of device tree bindings for the BCM59054 power management unit.
See Documentation/devicetree/bindings/mfd/brcm,bcm59056.yaml for additional information and example.
Maintainers (maintainers): "Artur Weber <aweber.kernel@gmail.com>"
Properties matching a name pattern (patternProperties) #
^(cam|sim|mmc)ldo[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.
^(rf|sd|sdx|aud|mic|usb|vib|tcx)ldo$ — 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.
^(c|mm|v)sr$ — 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.
^(io|sd)sr[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.
^gpldo[1-3]$ — 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.
^lvldo[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) #
vbus — 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 not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Broadcom BCM59056 Power Management Unit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/brcm,bcm59056.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This is a part of device tree bindings for the BCM59056 power management unit.
See Documentation/devicetree/bindings/mfd/brcm,bcm59056.yaml for additional information and example.
Maintainers (maintainers): "Artur Weber <aweber.kernel@gmail.com>"
Properties matching a name pattern (patternProperties) #
^(cam|sim|mmc)ldo[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.
^(rf|sd|sdx|aud|mic|usb|vib)ldo$ — 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.
^(c|m|v)sr$ — 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.
^(io|sd)sr[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.
^gpldo[1-6]$ — 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) #
vbus — 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 not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Dialog Semiconductor DA9121 voltage regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/dlg,da9121.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Adam Ward <Adam.Ward.opensource@diasemi.com>"
Dialog Semiconductor DA9121 Single-channel 10A double-phase buck converter Dialog Semiconductor DA9122 Double-channel 5A single-phase buck converter Dialog Semiconductor DA9220 Double-channel 3A single-phase buck converter Dialog Semiconductor DA9217 Single-channel 6A double-phase buck converter Dialog Semiconductor DA9130 Single-channel 10A double-phase buck converter Dialog Semiconductor DA9131 Double-channel 5A single-phase buck converter Dialog Semiconductor DA9132 Double-channel 3A single-phase buck converter Dialog Semiconductor DA9141 Single-channel 40A quad-phase buck converter Dialog Semiconductor DA9142 Single-channel 20A double-phase buck converter
Device parameter ranges
The current limits can be set to at/near double the rated current per channel to allow for transient peaks. Current limit changes when the output is enabled are not supported, as a precaution against undefined behaviour.
|----------------------------------------------| | | range & reset default value | | Device |------------------------------| | | microvolt | microamp | |----------------------------------------------| | DA9121/DA9130 | Min: 300000 | Min: 7000000 | | | Max: 1900000 | Max: 20000000 | |----------------------------------------------| | DA9121/DA9131 | Min: 300000 | Min: 3500000 | | | Max: 1900000 | Max: 10000000 | |----------------------------------------------| | DA9121/DA9131 | Min: 300000 | Min: 3500000 | | | Max: 1900000 | Max: 6000000 | |----------------------------------------------| | DA9217 | Min: 300000 | Min: 7000000 | | | Max: 1900000 | Max: 12000000 | |----------------------------------------------| | DA9141 | Min: 300000 | Min: 26000000 | | | Max: 1300000 | Max: 78000000 | |----------------------------------------------| | DA9142 | Min: 300000 | Min: 13000000 | | | Max: 1300000 | Max: 39000000 | |----------------------------------------------|
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "pmic@[0-9a-f]{1,2}"
compatible — required here #
Allowed values (enum): "dlg,da9121", "dlg,da9122", "dlg,da9220", "dlg,da9217", "dlg,da9130", "dlg,da9131", "dlg,da9132", "dlg,da9141", "dlg,da9142"
reg — required here #
Maximum number of items (maxItems): 1
Specifies the I2C slave address.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
IRQ line information.
dlg,irq-polling-delay-passive-ms — not listed as required here #
Minimum value (minimum): 1000
Maximum value (maximum): 10000
Specify the polling period, measured in milliseconds, between interrupt status update checks. Range 1000-10000 ms.
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 provided by the device
Properties matching a name pattern (patternProperties) #
^buck([1-2])$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties for a single BUCK regulator
Properties and child nodes (properties)
regulator-initial-mode — not listed as required here
Allowed values (enum): 0, 1, 2, 3
Defined in include/dt-bindings/regulator/dlg,da9121-regulator.h
enable-gpios — not listed as required here
Maximum number of items (maxItems): 1
Specify a valid GPIO for platform control of the regulator
dlg,ripple-cancel — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
Defined in include/dt-bindings/regulator/dlg,da9121-regulator.h Only present on multi-channel devices (DA9122, DA9220, DA9131, DA9132)
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "regulators"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereThis rule must not match (
not)Rule for matching array elements (
contains)Allowed values (
enum):"dlg,da9122","dlg,da9131","dlg,da9132","dlg,da9220"When the condition matches (
then) #Properties and child nodes (
properties)
regulators— not listed as required hereProperties and child nodes (
properties)
buck2— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/regulator/dlg,da9121-regulator.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@68 {
compatible = "dlg,da9121";
reg = <0x68>;
interrupt-parent = <&gpio6>;
interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
dlg,irq-polling-delay-passive-ms = <2000>;
regulators {
DA9121_BUCK1: buck1 {
regulator-name = "BUCK1";
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1900000>;
regulator-min-microamp = <7000000>;
regulator-max-microamp = <20000000>;
regulator-boot-on;
regulator-initial-mode = <DA9121_BUCK_MODE_AUTO>;
enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
};
};
};
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/regulator/dlg,da9121-regulator.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@68 {
compatible = "dlg,da9122";
reg = <0x68>;
interrupt-parent = <&gpio6>;
interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
dlg,irq-polling-delay-passive-ms = <2000>;
regulators {
DA9122_BUCK1: buck1 {
regulator-name = "BUCK1";
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1900000>;
regulator-min-microamp = <3500000>;
regulator-max-microamp = <10000000>;
regulator-boot-on;
regulator-initial-mode = <DA9121_BUCK_MODE_AUTO>;
enable-gpios = <&gpio6 1 GPIO_ACTIVE_HIGH>;
dlg,ripple-cancel = <DA9121_BUCK_RIPPLE_CANCEL_NONE>;
};
DA9122_BUCK2: buck2 {
regulator-name = "BUCK2";
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1900000>;
regulator-min-microamp = <3500000>;
regulator-max-microamp = <10000000>;
regulator-boot-on;
regulator-initial-mode = <DA9121_BUCK_MODE_AUTO>;
enable-gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>;
dlg,ripple-cancel = <DA9121_BUCK_RIPPLE_CANCEL_NONE>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Dialog Semiconductor DA9210 Multi-Phase 12A DC-DC Buck Converter
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/dlg,da9210.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Support Opensource <support.opensource@diasemi.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "dlg,da9210"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@68 {
compatible = "dlg,da9210";
reg = <0x68>;
interrupt-parent = <&irqc0>;
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1570000>;
regulator-min-microamp = <1600000>;
regulator-max-microamp = <4600000>;
regulator-boot-on;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Dialog Semiconductor DA9211-9215, DA9223-9225 Voltage Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/dlg,da9211.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ariel D'Alessandro <ariel.dalessandro@collabora.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "dlg,da9211", "dlg,da9212", "dlg,da9213", "dlg,da9214", "dlg,da9215", "dlg,da9223", "dlg,da9224", "dlg,da9225"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
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 provided by the device
Properties matching a name pattern (patternProperties) #
^BUCK([AB])$ — 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 for a single BUCK regulator
Properties and child nodes (properties)
regulator-initial-mode — not listed as required here
Array item rules (items)
Defined in include/dt-bindings/regulator/dlg,da9211-regulator.h
regulator-allowed-modes — not listed as required here
Array item rules (items)
Defined in include/dt-bindings/regulator/dlg,da9211-regulator.h
enable-gpios — not listed as required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "regulators"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/regulator/dlg,da9211-regulator.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@68 {
compatible = "dlg,da9212";
reg = <0x68>;
interrupts = <3 27>;
regulators {
BUCKA {
regulator-name = "VBUCKA";
regulator-min-microvolt = < 300000>;
regulator-max-microvolt = <1570000>;
regulator-min-microamp = <2000000>;
regulator-max-microamp = <5000000>;
enable-gpios = <&gpio 27 0>;
};
BUCKB {
regulator-name = "VBUCKB";
regulator-min-microvolt = < 300000>;
regulator-max-microvolt = <1570000>;
regulator-min-microamp = <2000000>;
regulator-max-microamp = <5000000>;
enable-gpios = <&gpio 17 0>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Dialog Semiconductor SLG51000 Voltage Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/dlg,slg51000.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eric Jeong <eric.jeong.opensource@diasemi.com>", "Support Opensource <support.opensource@diasemi.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "dlg,slg51000"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
dlg,cs-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO for chip select
vin3-supply — not listed as required here #
Input supply for ldo3, required if regulator is enabled
vin4-supply — not listed as required here #
Input supply for ldo4, required if regulator is enabled
vin5-supply — not listed as required here #
Input supply for ldo5, required if regulator is enabled
vin6-supply — not listed as required here #
Input supply for ldo6, required if regulator is enabled
vin7-supply — not listed as required here #
Input supply for ldo7, required if regulator is enabled
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 matching a name pattern (patternProperties) #
^ldo[1-7]$ — 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)
enable-gpios — not listed as required here
Maximum number of items (maxItems): 1
Required in this object (required): "regulator-name"
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) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/regulator/dlg,da9121-regulator.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@75 {
compatible = "dlg,slg51000";
reg = <0x75>;
dlg,cs-gpios = <&tlmm 69 GPIO_ACTIVE_HIGH>;
vin5-supply = <&vreg_s1f_1p2>;
vin6-supply = <&vreg_s1f_1p2>;
regulators {
ldo1 {
regulator-name = "slg51000_b_ldo1";
regulator-min-microvolt = <2400000>;
regulator-max-microvolt = <3300000>;
};
ldo2 {
regulator-name = "slg51000_b_ldo2";
regulator-min-microvolt = <2400000>;
regulator-max-microvolt = <3300000>;
};
ldo3 {
regulator-name = "slg51000_b_ldo3";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3750000>;
};
ldo4 {
regulator-name = "slg51000_b_ldo4";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3750000>;
};
ldo5 {
regulator-name = "slg51000_b_ldo5";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1200000>;
};
ldo6 {
regulator-name = "slg51000_b_ldo6";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1200000>;
};
ldo7 {
regulator-name = "slg51000_b_ldo7";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3750000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Fairchild FAN53555 regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/fcs,fan53555.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fcs,fan53555","fcs,fan53526","rockchip,rk8600","rockchip,rk8602","silergy,syr827","silergy,syr828","tcs,tcs4525"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"rockchip,rk8601"Item 2
Exact value (
const):"rockchip,rk8600"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"rockchip,rk8603"Item 2
Exact value (
const):"rockchip,rk8602"
reg — required here #
Maximum number of items (maxItems): 1
fcs,suspend-voltage-selector — not listed as required here #
Declares which of the two available voltage selector registers should be used for the suspend voltage. The other one is used for the runtime voltage setting.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
vin-supply — not listed as required here #
Supply for the vin pin
vsel-gpios — not listed as required here #
Voltage Select. When this pin is LOW, VOUT is set by the VSEL0 register. When this pin is HIGH, VOUT is set by the VSEL1 register.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@40 {
compatible = "fcs,fan53555";
reg = <0x40>;
regulator-name = "fan53555";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&parent_reg>;
fcs,suspend-voltage-selector = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
FitiPower FP9931/JD9930 Power Management Integrated Circuit
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/fitipower,fp9931.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andreas Kemnade <andreas@kemnade.info>"
FP9931 is a Power Management IC to provide Power for EPDs with one 3.3V switch, 2 symmetric LDOs behind 2 DC/DC converters, and one unsymmetric regulator for a compensation voltage. JD9930 has in addition some kind of night mode.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"fitipower,fp9931"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fitipower,jd9930"Item 2
Exact value (
const):"fitipower,fp9931"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — required here #
Maximum number of items (maxItems): 1
pg-gpios — required here #
Maximum number of items (maxItems): 1
en-ts-gpios — not listed as required here #
Maximum number of items (maxItems): 1
xon-gpios — not listed as required here #
Maximum number of items (maxItems): 1
vin-supply — not listed as required here #
Supply for the whole chip. Some vendor kernels and devicetrees declare this as a non-existing GPIO named "pwrall".
fitipower,tdly-ms — not listed as required here #
Power up soft start delay settings tDLY1-4 bitfields in the POWERON_DELAY register
Array item rules (items) #
Item 1
Item 2
Item 3
Item 4
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) #
^(vcom|vposneg|v3p3)$ — name matches this regular expression
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml
Required in this object (required): "compatible", "reg", "pg-gpios", "enable-gpios"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@18 {
compatible = "fitipower,fp9931";
reg = <0x18>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fp9931_gpio>;
vin-supply = <&epd_pmic_supply>;
pg-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
en-ts-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
enable-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
fitipower,tdly-ms = <2 2 4 4>;
regulators {
vcom {
regulator-name = "vcom";
regulator-min-microvolt = <2352840>;
regulator-max-microvolt = <2352840>;
};
vposneg {
regulator-name = "vposneg";
regulator-min-microvolt = <15060000>;
regulator-max-microvolt = <15060000>;
};
v3p3 {
regulator-name = "v3p3";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Fixed Voltage regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/fixed-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Liam Girdwood <lgirdwood@gmail.com>", "Mark Brown <broonie@kernel.org>"
Any property defined as part of the core regulator binding, defined in regulator.yaml, can also be used. However a fixed voltage regulator is expected to have the regulator-min-microvolt and regulator-max-microvolt to be the same.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"regulator-fixed-clock"When the condition matches (
then) #
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"regulator-fixed-domain"When the condition matches (
then) #Required in this object (
required):"power-domains","required-opps"
Rule 4 #
This rule must not match (
not) #
Properties and child nodes (properties) #
$nodename — not listed as required here #
At least one of these rules must match (anyOf) #
Rule 1
Preferred name is 'regulator-[0-9]v[0-9]'
String pattern (
pattern):"^regulator(-[0-9]+v[0-9]+|-[0-9a-z-]+)?$"
Rule 2
Any name allowed
Deprecated (
deprecated):true
compatible — required here #
Allowed values (enum): "regulator-fixed", "regulator-fixed-clock", "regulator-fixed-domain"
regulator-name — required here #
true — No constraints added by this property rule.
gpio — not listed as required here #
gpio to use for enable control
Maximum number of items (maxItems): 1
gpios — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
clock to use for enable control. This binding is only available if the compatible is chosen to regulator-fixed-clock. The clock binding is mandatory if compatible is chosen to regulator-fixed-clock.
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Deprecated (deprecated): true
Power domain to use for enable control. This binding is only available if the compatible is chosen to regulator-fixed-domain.
Maximum number of items (maxItems): 1
required-opps — not listed as required here #
Deprecated (deprecated): true
Performance state to use for enable control. This binding is only available if the compatible is chosen to regulator-fixed-domain. The power-domain binding is mandatory if compatible is chosen to regulator-fixed-domain.
Maximum number of items (maxItems): 1
startup-delay-us — not listed as required here #
startup time in microseconds
off-on-delay-us — not listed as required here #
off delay time in microseconds
enable-active-high — not listed as required here #
Polarity of GPIO is Active high. If this property is missing, the default assumed is Active low.
Value type (type): "boolean"
gpio-open-drain — not listed as required here #
GPIO is open drain type. If this property is missing then default assumption is false.
Value type (type): "boolean"
vin-supply — not listed as required here #
Input supply phandle.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Interrupt signaling a critical under-voltage event.
system-critical-regulator — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "regulator-name"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
reg_1v8: regulator-1v8 {
compatible = "regulator-fixed";
regulator-name = "1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio = <&gpio1 16 0>;
startup-delay-us = <70000>;
enable-active-high;
regulator-boot-on;
gpio-open-drain;
vin-supply = <&parent_reg>;
};
reg_1v8_clk: regulator-1v8-clk {
compatible = "regulator-fixed-clock";
regulator-name = "1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
clocks = <&clock1>;
startup-delay-us = <70000>;
enable-active-high;
regulator-boot-on;
vin-supply = <&parent_reg>;
};
reg_1v8_domain: regulator-1v8-domain {
compatible = "regulator-fixed-domain";
regulator-name = "1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
power-domains = <&domain1>;
required-opps = <&domain1_state1>;
startup-delay-us = <70000>;
enable-active-high;
regulator-boot-on;
vin-supply = <&parent_reg>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
ChromeOS EC controlled voltage regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/google,cros-ec-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pi-Hsun Shih <pihsun@chromium.org>"
Any property defined as part of the core regulator binding, defined in regulator.yaml, can also be used.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "google,cros-ec-regulator"
reg — required here #
Maximum number of items (maxItems): 1
Identifier for the voltage regulator to ChromeOS EC.
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
spi {
#address-cells = <1>;
#size-cells = <0>;
cros_ec: ec@0 {
compatible = "google,cros-ec-spi";
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <99 0>;
regulator@0 {
compatible = "google,cros-ec-regulator";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
reg = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
GPIO controlled regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/gpio-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Liam Girdwood <lgirdwood@gmail.com>", "Mark Brown <broonie@kernel.org>"
Any property defined as part of the core regulator binding, defined in regulator.txt, can also be used.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "regulator-gpio"
regulator-name — required here #
true — No constraints added by this property rule.
enable-gpios — not listed as required here #
GPIO to use to enable/disable the regulator. Warning, the GPIO phandle flags are ignored and the GPIO polarity is controlled solely by the presence of "enable-active-high" DT property. This is due to compatibility with old DTs.
Maximum number of items (maxItems): 1
gpios — required here #
Array of one or more GPIO pins used to select the regulator voltage/current listed in "states".
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
gpios-states — not listed as required here #
On operating systems, that don't support reading back gpio values in
output mode (most notably linux), this array provides the state of GPIO
pins set when requesting them from the gpio controller. Systems, that are
capable of preserving state when requesting the lines, are free to ignore
this property.
0: LOW
1: HIGH
Default is LOW if nothing else is specified.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
Array item rules (items) #
Default value (
default):0
states — required here #
Selection of available voltages/currents provided by this regulator and matching GPIO configurations to achieve them. If there are no states in the "states" array, use a fixed regulator instead.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 256
Array item rules (items) #
Array item rules (
items)Item 1
Voltage in microvolts
Item 2
GPIO group state value
startup-delay-us — not listed as required here #
startup time in microseconds
enable-active-high — not listed as required here #
Polarity of "enable-gpio" GPIO is active HIGH. Default is active LOW.
Value type (type): "boolean"
gpio-open-drain — not listed as required here #
GPIO is open drain type. If this property is missing then default assumption is false.
Value type (type): "boolean"
regulator-type — not listed as required here #
Specifies what is being regulated.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "voltage", "current"
Default value (default): "voltage"
vin-supply — not listed as required here #
Input supply phandle.
Required in this object (required): "compatible", "regulator-name", "gpios", "states"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
gpio-regulator {
compatible = "regulator-gpio";
regulator-name = "mmci-gpio-supply";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2600000>;
regulator-boot-on;
enable-gpios = <&gpio0 23 0x4>;
gpios = <&gpio0 24 0x4
&gpio0 25 0x4>;
states = <1800000 0x3>,
<2200000 0x2>,
<2600000 0x1>,
<2900000 0x0>;
startup-delay-us = <100000>;
enable-active-high;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 37: Should be enough...
Infineon Buck Regulators with PMBUS interfaces
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/infineon,ir38060.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Guenter Roeck <linux@roeck-us.net>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "infineon,ir38060", "infineon,ir38064", "infineon,ir38164", "infineon,ir38263"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@34 {
compatible = "infineon,ir38060";
reg = <0x34>;
regulator-min-microvolt = <437500>;
regulator-max-microvolt = <1387500>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Linear Technology LTC3676 8-output regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/lltc,ltc3676.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tim Harvey <tharvey@gateworks.com>"
LTC3676 contains eight regulators, 4 switching SW1..SW4 and four LDO1..4 .
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "lltc,ltc3676"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
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 provided by this controller, must be named after their hardware counterparts (SW|LDO)[1-4].
Properties matching a name pattern (patternProperties) #
^(sw[1-4]|ldo[24])$ — name matches this regular expression
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Shared schema rule ($ref): regulator.yaml#
Properties for single SW or LDO regulator. Regulators SW1..SW4 can regulate the feedback reference from 412.5mV to 800mV in 12.5 mV steps. The output voltage thus ranges between 0.4125 * (1 + R1/R2) V and 0.8 * (1 + R1/R2) V. Regulators LDO1, LDO2, LDO4 have a fixed 0.725 V reference and thus output 0.725 * (1 + R1/R2) V. The LDO1 standby regulator can not be disabled and thus should have the regulator-always-on property set.
Properties and child nodes (properties)
lltc,fb-voltage-divider — required here
An array of two integers containing the resistor values R1 and R2 of the feedback voltage divider in ohms.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Required in this object (required): "lltc,fb-voltage-divider"
Properties and child nodes (properties) #
ldo1 — not listed as required here
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Shared schema rule ($ref): regulator.yaml#
The LDO1 standby regulator can not be disabled and thus should have the regulator-always-on property set. See patternProperties description above for the rest of the details.
Properties and child nodes (properties)
lltc,fb-voltage-divider — required here
An array of two integers containing the resistor values R1 and R2 of the feedback voltage divider in ohms.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Required in this object (required): "lltc,fb-voltage-divider", "regulator-always-on"
ldo3 — not listed as required here
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Shared schema rule ($ref): regulator.yaml#
The LDO3 regulator is fixed to 1.8 V. See patternProperties description above for the rest of the details.
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@3c {
compatible = "lltc,ltc3676";
reg = <0x3c>;
regulators {
sw1_reg: sw1 {
regulator-min-microvolt = <674400>;
regulator-max-microvolt = <1308000>;
lltc,fb-voltage-divider = <127000 200000>;
regulator-ramp-delay = <7000>;
regulator-boot-on;
regulator-always-on;
};
sw2_reg: sw2 {
regulator-min-microvolt = <1033310>;
regulator-max-microvolt = <200400>;
lltc,fb-voltage-divider = <301000 200000>;
regulator-ramp-delay = <7000>;
regulator-boot-on;
regulator-always-on;
};
sw3_reg: sw3 {
regulator-min-microvolt = <674400>;
regulator-max-microvolt = <130800>;
lltc,fb-voltage-divider = <127000 200000>;
regulator-ramp-delay = <7000>;
regulator-boot-on;
regulator-always-on;
};
sw4_reg: sw4 {
regulator-min-microvolt = <868310>;
regulator-max-microvolt = <168400>;
lltc,fb-voltage-divider = <221000 200000>;
regulator-ramp-delay = <7000>;
regulator-boot-on;
regulator-always-on;
};
ldo2_reg: ldo2 {
regulator-min-microvolt = <2490375>;
regulator-max-microvolt = <2490375>;
lltc,fb-voltage-divider = <487000 200000>;
regulator-boot-on;
regulator-always-on;
};
ldo3_reg: ldo3 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
};
ldo4_reg: ldo4 {
regulator-min-microvolt = <3023250>;
regulator-max-microvolt = <3023250>;
lltc,fb-voltage-divider = <634000 200000>;
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
Regulator driver for MAX77650 PMIC from Maxim Integrated.
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/max77650-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bartosz Golaszewski <bgolaszewski@baylibre.com>"
This module is part of the MAX77650 MFD device. For more details see Documentation/devicetree/bindings/mfd/max77650.yaml.
The regulator controller is represented as a sub-node of the PMIC node on the device tree.
The device has a single LDO regulator and a SIMO buck-boost regulator with three independent power rails.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "maxim,max77650-regulator"
Properties matching a name pattern (patternProperties) #
^regulator-(ldo|sbb[0-2])$ — name matches this regular expression #
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Maxim MAX8660 voltage regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/max8660.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daniel Mack <zonque@gmail.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "pmic@[0-9a-f]{1,2}"
compatible — not listed as required here #
Allowed values (enum): "maxim,max8660", "maxim,max8661"
reg — not listed as required here #
Maximum number of items (maxItems): 1
regulators — not listed as required here #
Value type (type): "object"
Properties matching a name pattern (patternProperties) #
^regulator-.+$ — name matches this regular expression
Shared schema rule ($ref): regulator.yaml#
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.
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@34 {
compatible = "maxim,max8660";
reg = <0x34>;
regulators {
regulator-V3 {
regulator-min-microvolt = <725000>;
regulator-max-microvolt = <1800000>;
};
regulator-V4 {
regulator-min-microvolt = <725000>;
regulator-max-microvolt = <1800000>;
};
regulator-V5 {
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <2000000>;
};
regulator-V6 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
regulator-V7 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Regulator driver for MAX8893 PMIC from Maxim Integrated.
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/max8893.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sergey Larin <cerg2010cerg2010@mail.ru>"
The device has 5 LDO regulators and a single BUCK regulator. Programming is done through I2C bus.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "maxim,max8893"
reg — required here #
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
Properties matching a name pattern (patternProperties) #
^(ldo[1-5]|buck)$ — name matches this regular expression
Shared schema rule ($ref): regulator.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "regulators"
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@3e {
compatible = "maxim,max8893";
reg = <0x3e>;
regulators {
/* Front camera - s5k6aafx, back - m5mo */
/* Numbers used to indicate the sequence */
front_1_back_1: buck {
regulator-name = "cam_isp_core_1v2";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
};
front_4_back_5: ldo1 {
regulator-name = "vt_io_1v8,cam_isp_1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
front_3_back_4: ldo2 {
regulator-name = "vt_core_1v5";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
};
front_5_back_6: ldo3 {
regulator-name = "vt_cam_1v8,vt_sensor_io_1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
ldo4 {
/* not used */
};
back_7: ldo5 {
regulator-name = "cam_sensor_io_1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max14577.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB Integrated Circuit (MUIC).
See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for additional information and example.
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "maxim,max14577-regulator", "maxim,max77836-regulator"
CHARGER — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Current regulator.
Properties and child nodes (properties) #
regulator-min-microvolt — not listed as required here
false — Not permitted by this property rule.
regulator-max-microvolt — not listed as required here
false — Not permitted by this property rule.
SAFEOUT — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Safeout LDO regulator (fixed voltage).
Properties and child nodes (properties) #
regulator-min-microamp — not listed as required here
false — Not permitted by this property rule.
regulator-max-microamp — not listed as required here
false — Not permitted by this property rule.
regulator-min-microvolt — not listed as required here
Exact value (const): 4900000
regulator-max-microvolt — not listed as required here
Exact value (const): 4900000
Properties matching a name pattern (patternProperties) #
^LDO[12]$ — 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.
Current regulator.
Properties and child nodes (properties) #
regulator-min-microamp — not listed as required here
false — Not permitted by this property rule.
regulator-max-microamp — not listed as required here
false — Not permitted by this property rule.
regulator-min-microvolt — not listed as required here
Minimum value (minimum): 800000
regulator-max-microvolt — not listed as required here
Maximum value (maximum): 3950000
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):"maxim,max14577-regulator"When the condition matches (
then) #Properties and child nodes (
properties)
LDO1— not listed as required here
false— Not permitted by this property rule.
LDO2— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Maxim Integrated MAX20086-MAX20089 Camera Power Protector
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max20086.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The MAX20086-MAX20089 are dual/quad camera power protectors, designed to deliver power over coax for radar and camera modules. They support software-configurable output switching and monitoring. The output voltage and current limit are fixed by the hardware design.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "maxim,max20086", "maxim,max20087", "maxim,max20088", "maxim,max20089"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO connected to the EN pin, active high
in-supply — required here #
Input supply for the camera outputs (IN pin, 3.0V to 15.0V)
vdd-supply — required here #
Input supply for the device (VDD pin, 3.0V to 5.5V)
regulators — required here #
Value type (type): "object"
Properties matching a name pattern (patternProperties) #
^OUT[1-4]$ — 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 not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "in-supply", "vdd-supply", "regulators"
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)When the condition matches (
then) #Properties and child nodes (
properties)
regulators— not listed as required hereProperties and child nodes (
properties)
OUT3— not listed as required here
false— Not permitted by this property rule.
OUT4— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@28 {
compatible = "maxim,max20087";
reg = <0x28>;
in-supply = <®_12v0>;
vdd-supply = <®_3v3>;
enable-gpios = <&gpio 108 GPIO_ACTIVE_HIGH>;
regulators {
OUT1 {
regulator-name = "VOUT1";
};
OUT2 {
regulator-name = "VOUT2";
};
OUT3 {
regulator-name = "VOUT3";
};
OUT4 {
regulator-name = "VOUT4";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Maxim Integrated MAX20411 Step-Down DC-DC Converter
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max20411.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"
The MAX20411 is a high-efficiency, DC-DC step-down converter. It provides configurable output voltage in the range of 0.5V to 1.275V, configurable over I2C.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "maxim,max20411"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — required here #
GPIO connected to the EN pin, active high
vdd-supply — not listed as required here #
Input supply for the device (VDD pin, 3.0V to 5.5V)
Required in this object (required): "compatible", "reg", "enable-gpios"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@39 {
compatible = "maxim,max20411";
reg = <0x39>;
enable-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1000000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Maxim MAX77686 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max77686.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for Maxim MAX77686 Power Management Integrated Circuit (PMIC).
The Maxim MAX77686 provides high-efficiency Buck and 26 Low-DropOut (LDO) regulators.
See also Documentation/devicetree/bindings/mfd/maxim,max77686.yaml for additional information and example.
Properties matching a name pattern (patternProperties) #
^LDO([1-9]|1[0-9]|2[3-6])$ — 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 for single LDO regulator.
Regulators which can be turned off during system suspend:
LDO2, LDO6-8, LDO10-12, LDO14-16
Required in this object (required): "regulator-name"
^LDO2[0-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 for single LDO regulator.
Properties and child nodes (properties) #
maxim,ena-gpios — not listed as required here
Maximum number of items (maxItems): 1
GPIO specifier to enable the GPIO control (on/off) for regulator.
Required in this object (required): "regulator-name"
^BUCK[1-7]$ — 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 for single BUCK regulator. Regulators which can be turned off during system suspend: BUCK[1-4]
Required in this object (required): "regulator-name"
^BUCK[89]$ — 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 for single BUCK regulator.
Properties and child nodes (properties) #
maxim,ena-gpios — not listed as required here
Maximum number of items (maxItems): 1
GPIO specifier to enable the GPIO control (on/off) for regulator.
Required in this object (required): "regulator-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 24: 26 LDOs
Line 37: LDO20-LDO22 with maxim,ena-gpios
Line 54: 9 bucks
Maxim MAX77693 MicroUSB and Companion Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max77693.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for Maxim MAX77693 MicroUSB Integrated Circuit (MUIC).
See also Documentation/devicetree/bindings/mfd/maxim,max77693.yaml for additional information and example.
Properties and child nodes (properties) #
CHARGER — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Current regulator.
Properties and child nodes (properties) #
regulator-name — required here
true — No constraints added by this property rule.
regulator-always-on — not listed as required here
true — No constraints added by this property rule.
regulator-boot-on — not listed as required here
true — No constraints added by this property rule.
regulator-min-microamp — not listed as required here
Minimum value (minimum): 60000
regulator-max-microamp — not listed as required here
Maximum value (maximum): 2580000
Required in this object (required): "regulator-name"
Properties matching a name pattern (patternProperties) #
^ESAFEOUT[12]$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Safeout LDO regulator.
Properties and child nodes (properties) #
regulator-name — required here
true — No constraints added by this property rule.
regulator-always-on — not listed as required here
true — No constraints added by this property rule.
regulator-boot-on — not listed as required here
true — No constraints added by this property rule.
regulator-min-microvolt — not listed as required here
Minimum value (minimum): 3300000
regulator-max-microvolt — not listed as required here
Maximum value (maximum): 4950000
Required in this object (required): "regulator-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Maxim MAX77802 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max77802.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Javier Martinez Canillas <javier@dowhile0.org>", "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for Maxim MAX77802 Power Management Integrated Circuit (PMIC).
The Maxim MAX77686 provides 10 high-efficiency Buck and 32 Low-DropOut (LDO) regulators.
See also Documentation/devicetree/bindings/mfd/maxim,max77802.yaml for additional information and example.
Certain regulators support "regulator-initial-mode" and "regulator-mode".
The valid modes list is defined in the dt-bindings/regulator/maxim,max77802.h
and their meaning is::
1 - Normal regulator voltage output mode.
3 - Low Power which reduces the quiescent current down to only 1uA
The standard "regulator-mode" property can only be used for regulators that support changing their mode to Low Power Mode during suspend. These regulators are:: bucks 2-4 and LDOs 1-35. Also, it only takes effect if the regulator has been enabled for the given suspend state using "regulator-on-in-suspend" and has not been disabled for that state using "regulator-off-in-suspend".
Properties matching a name pattern (patternProperties) #
^LDO([13]|2[01])$ — 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.
LDOs supporting the regulator-initial-mode property and changing their mode during normal operation.
^LDO([24-9]|1[0-5789]|2[3-9]|3[02345])$ — 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.
LDOs supporting the regulator-mode property (changing mode to Low Power Mode during suspend).
Properties and child nodes (properties) #
regulator-initial-mode — not listed as required here
false — Not permitted by this property rule.
^BUCK[2-4]$ — 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.
bucks supporting the regulator-mode property (changing mode to Low Power Mode during suspend).
Properties and child nodes (properties) #
regulator-initial-mode — not listed as required here
false — Not permitted by this property rule.
^BUCK([15-9]|10)$ — 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
false — Not permitted by this property rule.
Properties matching a name pattern (patternProperties) #
^regulator-state-(standby|mem|disk)$ — name matches this regular expression
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
true
Allowed by this rule.
Properties and child nodes (properties)
regulator-mode — not listed as required here
false — Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 37: LDO1, LDO3, LDO20, LDO21
Line 46: LDO2, LDO4-15, LDO17-19, LDO23-30, LDO32-35
Line 58: buck2-4
Line 70: buck1, buck5-10
Maxim Integrated MAX77826 PMIC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max77826.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Iskren Chernev <iskren.chernev@gmail.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "pmic@[0-9a-f]{1,2}"
compatible — required here #
Allowed values (enum): "maxim,max77826"
reg — required here #
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
list of regulators provided by this controller, must be named after their hardware counterparts LDO[1-15], BUCK and BUCKBOOST
Properties matching a name pattern (patternProperties) #
^LDO([1-9]|1[0-5])$ — 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.
^BUCK|BUCKBOOST$ — 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 not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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@69 {
compatible = "maxim,max77826";
reg = <0x69>;
regulators {
LDO2 {
regulator-min-microvolt = <650000>;
regulator-max-microvolt = <3587500>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Maxim Integrated MAX77838 PMIC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max77838.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "pmic@[0-9a-f]{1,2}"
compatible — required here #
Allowed values (enum): "maxim,max77838"
reg — required here #
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
list of regulators provided by this controller, must be named after their hardware counterparts ldo[1-4] and buck
Properties and child nodes (properties) #
buck — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^ldo([1-4])$ — 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 not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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@60 {
compatible = "maxim,max77838";
reg = <0x60>;
regulators {
ldo2 {
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
Maxim MAX77843 MicroUSB and Companion Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max77843.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for Maxim MAX77843 MicroUSB Integrated Circuit (MUIC).
See also Documentation/devicetree/bindings/mfd/maxim,max77843.yaml for additional information and example.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "maxim,max77843-regulator"
CHARGER — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Current regulator.
Properties and child nodes (properties) #
regulator-name — required here
true — No constraints added by this property rule.
regulator-always-on — not listed as required here
true — No constraints added by this property rule.
regulator-boot-on — not listed as required here
true — No constraints added by this property rule.
regulator-min-microamp — not listed as required here
Minimum value (minimum): 100000
regulator-max-microamp — not listed as required here
Maximum value (maximum): 3150000
Required in this object (required): "regulator-name"
Properties matching a name pattern (patternProperties) #
^SAFEOUT[12]$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Safeout LDO regulator.
Properties and child nodes (properties) #
regulator-name — required here
true — No constraints added by this property rule.
regulator-always-on — not listed as required here
true — No constraints added by this property rule.
regulator-boot-on — not listed as required here
true — No constraints added by this property rule.
regulator-min-microvolt — not listed as required here
Minimum value (minimum): 3300000
regulator-max-microvolt — not listed as required here
Maximum value (maximum): 4950000
Required in this object (required): "regulator-name"
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Maxim MAX8952 voltage regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max8952.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "maxim,max8952"
max8952,default-mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
index of default DVS voltage
max8952,dvs-mode-microvolt — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 4
Array item rules (items) #
Minimum value (
minimum):770000Maximum value (
maximum):1400000
Array of 4 integer values defining DVS voltages in microvolts. All values must be from range <770000, 1400000>.
max8952,en-gpio — not listed as required here #
Maximum number of items (maxItems): 1
GPIO used to control enable status of regulator
max8952,ramp-speed — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3, 4, 5, 6, 7
Default value (default): 0
Voltage ramp speed, values map to: - 0: 32mV/us - 1: 16mV/us - 2: 8mV/us - 3: 4mV/us - 4: 2mV/us - 5: 1mV/us - 6: 0.5mV/us - 7: 0.25mV/us Defaults to 32mV/us if not specified.
max8952,sync-freq — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
Default value (default): 0
Sync frequency, values map to: - 0: 26 MHz - 1: 13 MHz - 2: 19.2 MHz Defaults to 26 MHz if not specified.
max8952,vid-gpios — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Array of two GPIO pins used for DVS voltage selection
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "max8952,dvs-mode-microvolt", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@60 {
compatible = "maxim,max8952";
reg = <0x60>;
max8952,vid-gpios = <&gpx0 3 GPIO_ACTIVE_HIGH>,
<&gpx0 4 GPIO_ACTIVE_HIGH>;
max8952,default-mode = <0>;
max8952,dvs-mode-microvolt = <1250000>, <1200000>,
<1050000>, <950000>;
max8952,sync-freq = <0>;
max8952,ramp-speed = <0>;
regulator-name = "VARM_1.2V_C210";
regulator-min-microvolt = <770000>;
regulator-max-microvolt = <1400000>;
regulator-always-on;
regulator-boot-on;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Maxim MAX8973/MAX77621 voltage regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max8973.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "maxim,max8973", "maxim,max77621"
junction-warn-millicelsius — not listed as required here #
Junction warning temperature threshold in millicelsius. If die temperature crosses this level then device generates the warning interrupts. Please note that thermal functionality is only supported on MAX77621. The supported threshold warning temperature for MAX77621 are 120 degC and 140 degC.
maxim,dvs-gpio — not listed as required here #
Maximum number of items (maxItems): 1
GPIO which is connected to DVS pin of device.
maxim,dvs-default-state — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default state of GPIO during initialisation. 1 for HIGH and 0 for LOW.
maxim,externally-enable — not listed as required here #
Value type (type): "boolean"
Externally control the regulator output enable/disable.
maxim,enable-gpio — not listed as required here #
Maximum number of items (maxItems): 1
GPIO for enable control. If the valid GPIO is provided then externally enable control will be considered.
maxim,enable-remote-sense — not listed as required here #
Value type (type): "boolean"
Enable remote sense.
maxim,enable-falling-slew-rate — not listed as required here #
Value type (type): "boolean"
Enable falling slew rate.
maxim,enable-active-discharge — not listed as required here #
Value type (type): "boolean"
Eable active discharge.
maxim,enable-frequency-shift — not listed as required here #
Value type (type): "boolean"
Enable 9% frequency shift.
maxim,enable-bias-control — not listed as required here #
Value type (type): "boolean"
Enable bias control which can reduce the startup delay to 20us from 220us.
maxim,enable-etr — not listed as required here #
Value type (type): "boolean"
Enable Enhanced Transient Response.
maxim,enable-high-etr-sensitivity — not listed as required here #
Value type (type): "boolean"
Enhanced transient response circuit is enabled and set for high sensitivity. If this property is available then etr will be enable default. Enhanced transient response (ETR) will affect the configuration of CKADV.
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@1b {
compatible = "maxim,max8973";
reg = <0x1b>;
regulator-min-microvolt = <935000>;
regulator-max-microvolt = <1200000>;
regulator-boot-on;
regulator-always-on;
};
};
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@1b {
compatible = "maxim,max77621";
reg = <0x1b>;
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1231250>;
regulator-name = "PPVAR_CPU";
regulator-ramp-delay = <12500>;
maxim,dvs-default-state = <1>;
maxim,enable-active-discharge;
maxim,enable-bias-control;
maxim,enable-etr;
maxim,enable-gpio = <&pmic 5 GPIO_ACTIVE_HIGH>;
maxim,externally-enable;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Maxim MAX8997 Power Management IC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max8997.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
The Maxim MAX8997 is a Power Management IC which includes voltage and current regulators, charger controller with fuel gauge, RTC, clock outputs, haptic motor driver, flash LED driver and Micro-USB Interface Controller.
The binding here is not complete and describes only regulator and charger controller parts.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "maxim,max8997-pmic"
charger-supply — not listed as required here #
Regulator node for charging current.
interrupts — not listed as required here #
Array item rules (items) #
Item 1
irq1 interrupt
Item 2
alert interrupt
max8997,pmic-buck1-dvs-voltage — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
A set of 8 voltage values in micro-volt (uV) units for buck1 when changing voltage using GPIO DVS. If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should specify at least one voltage level (which would be a safe operating voltage).
max8997,pmic-buck2-dvs-voltage — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
A set of 8 voltage values in micro-volt (uV) units for buck2 when changing voltage using GPIO DVS. If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should specify at least one voltage level (which would be a safe operating voltage).
max8997,pmic-buck5-dvs-voltage — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
A set of 8 voltage values in micro-volt (uV) units for buck5 when changing voltage using GPIO DVS. If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should specify at least one voltage level (which would be a safe operating voltage).
max8997,pmic-buck1-uses-gpio-dvs — not listed as required here #
Value type (type): "boolean"
buck1 can be controlled by GPIO DVS.
max8997,pmic-buck2-uses-gpio-dvs — not listed as required here #
Value type (type): "boolean"
buck2 can be controlled by GPIO DVS.
max8997,pmic-buck5-uses-gpio-dvs — not listed as required here #
Value type (type): "boolean"
buck5 can be controlled by GPIO DVS.
max8997,pmic-buck125-default-dvs-idx — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 7
Default value (default): 0
Default voltage setting selected from the possible 8 options selectable by the dvs gpios. The value of this property should be between 0 and 7. If not specified or if out of range, the default value of this property is set to 0.
max8997,pmic-buck125-dvs-gpios — not listed as required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
GPIO specifiers for three host gpio's used for DVS.
max8997,pmic-ignore-gpiodvs-side-effect — not listed as required here #
Value type (type): "boolean"
When GPIO-DVS mode is used for multiple bucks, changing the voltage value of one of the bucks may affect that of another buck, which is the side effect of the change (set_voltage). Use this property to ignore such side effects and change the voltage.
reg — required here #
Maximum number of items (maxItems): 1
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 child nodes that specify the regulators.
Properties matching a name pattern (patternProperties) #
^LDO([1-9]|1[0-8]|21)$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties for single LDO regulator.
Properties and child nodes (properties)
regulator-name — required here
true — No constraints added by this property rule.
Required in this object (required): "regulator-name"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
^BUCK[1-7]$ — 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)
regulator-name — required here
true — No constraints added by this property rule.
Required in this object (required): "regulator-name"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
^EN32KHZ_[AC]P$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
32768 Hz clock output (modelled as regulator)
Properties and child nodes (properties)
regulator-name — required here
true — No constraints added by this property rule.
regulator-always-on — not listed as required here
true — No constraints added by this property rule.
regulator-boot-on — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "regulator-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties) #
CHARGER — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
main battery charger current control
Properties and child nodes (properties)
regulator-name — required here
true — No constraints added by this property rule.
Required in this object (required): "regulator-name"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
CHARGER_CV — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
main battery charger voltage control
Properties and child nodes (properties)
regulator-name — required here
true — No constraints added by this property rule.
Required in this object (required): "regulator-name"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
CHARGER_TOPOFF — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
end of charge current threshold level
Properties and child nodes (properties)
regulator-name — required here
true — No constraints added by this property rule.
Required in this object (required): "regulator-name"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ENVICHG — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Battery Charging Current Monitor Output. This is a fixed voltage type regulator
Properties and child nodes (properties)
regulator-name — required here
true — No constraints added by this property rule.
Required in this object (required): "regulator-name"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ESAFEOUT1 — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
LDO19
Properties and child nodes (properties)
regulator-name — required here
true — No constraints added by this property rule.
Required in this object (required): "regulator-name"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
ESAFEOUT2 — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
LDO20
Properties and child nodes (properties)
regulator-name — required here
true — No constraints added by this property rule.
Required in this object (required): "regulator-name"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Required in this object (required): "compatible", "max8997,pmic-buck1-dvs-voltage", "max8997,pmic-buck2-dvs-voltage", "max8997,pmic-buck5-dvs-voltage", "reg", "regulators"
Property dependencies (dependencies) #
max8997,pmic-buck1-uses-gpio-dvs — applies when this property is present #
Also requires: "max8997,pmic-buck125-dvs-gpios"
max8997,pmic-buck2-uses-gpio-dvs — applies when this property is present #
Also requires: "max8997,pmic-buck125-dvs-gpios"
max8997,pmic-buck5-uses-gpio-dvs — applies when this property is present #
Also requires: "max8997,pmic-buck125-dvs-gpios"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Condition (if) #
At least one of these rules must match (
anyOf) #Rule 1 #
Required in this object (
required):"max8997,pmic-buck1-uses-gpio-dvs"Rule 2 #
Required in this object (
required):"max8997,pmic-buck2-uses-gpio-dvs"Rule 3 #
Required in this object (
required):"max8997,pmic-buck5-uses-gpio-dvs"
When the condition matches (then) #
Properties and child nodes (
properties) #
max8997,pmic-buck1-dvs-voltage— not listed as required here #Minimum number of items (
minItems):8Maximum number of items (
maxItems):8
max8997,pmic-buck2-dvs-voltage— not listed as required here #Minimum number of items (
minItems):8Maximum number of items (
maxItems):8
max8997,pmic-buck5-dvs-voltage— not listed as required here #Minimum number of items (
minItems):8Maximum number of items (
maxItems):8
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@66 {
compatible = "maxim,max8997-pmic";
reg = <0x66>;
interrupts-extended = <&gpx0 7 IRQ_TYPE_LEVEL_LOW>,
<&gpx2 3 IRQ_TYPE_EDGE_FALLING>;
max8997,pmic-buck1-uses-gpio-dvs;
max8997,pmic-buck2-uses-gpio-dvs;
max8997,pmic-buck5-uses-gpio-dvs;
max8997,pmic-ignore-gpiodvs-side-effect;
max8997,pmic-buck125-default-dvs-idx = <0>;
max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
<&gpx0 6 GPIO_ACTIVE_HIGH>,
<&gpl0 0 GPIO_ACTIVE_HIGH>;
max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
<1250000>, <1200000>,
<1150000>, <1100000>,
<1000000>, <950000>;
max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
<950000>, <900000>,
<1100000>, <1000000>,
<950000>, <900000>;
max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
<1200000>, <1200000>,
<1200000>, <1200000>,
<1200000>, <1200000>;
pinctrl-0 = <&max8997_irq>, <&otg_gp>, <&usb_sel>;
pinctrl-names = "default";
charger-supply = <&charger_reg>;
regulators {
LDO1 {
regulator-name = "VADC_3.3V_C210";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
LDO2 {
regulator-name = "VALIVE_1.1V_C210";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
regulator-always-on;
};
BUCK1 {
regulator-name = "VARM_1.2V_C210";
regulator-min-microvolt = <65000>;
regulator-max-microvolt = <2225000>;
regulator-always-on;
};
// ...
BUCK7 {
regulator-name = "VCC_SUB_2.0V";
regulator-min-microvolt = <2000000>;
regulator-max-microvolt = <2000000>;
regulator-always-on;
};
ESAFEOUT1 {
regulator-name = "SAFEOUT1";
};
ESAFEOUT2 {
regulator-name = "SAFEOUT2";
regulator-boot-on;
};
EN32KHZ_AP {
regulator-name = "EN32KHZ_AP";
regulator-always-on;
};
EN32KHZ_CP {
regulator-name = "EN32KHZ_CP";
regulator-always-on;
};
CHARGER {
regulator-name = "CHARGER";
regulator-min-microamp = <200000>;
regulator-max-microamp = <950000>;
};
CHARGER_CV {
regulator-name = "CHARGER_CV";
regulator-min-microvolt = <4200000>;
regulator-max-microvolt = <4200000>;
regulator-always-on;
};
CHARGER_TOPOFF {
regulator-name = "CHARGER_TOPOFF";
regulator-min-microamp = <200000>;
regulator-max-microamp = <200000>;
regulator-always-on;
};
};
};
};
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@66 {
compatible = "maxim,max8997-pmic";
reg = <0x66>;
interrupt-parent = <&gpx0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>,
<3 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default";
pinctrl-0 = <&max8997_irq>;
max8997,pmic-buck1-dvs-voltage = <1350000>;
max8997,pmic-buck2-dvs-voltage = <1100000>;
max8997,pmic-buck5-dvs-voltage = <1200000>;
regulators {
LDO1 {
regulator-name = "VDD_ABB_3.3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
// ...
BUCK1 {
regulator-name = "VDD_ARM_1.2V";
regulator-min-microvolt = <950000>;
regulator-max-microvolt = <1350000>;
regulator-always-on;
regulator-boot-on;
};
// ...
EN32KHZ_AP {
regulator-name = "EN32KHZ_AP";
regulator-always-on;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 119: 1-18 and 21 LDOs
Line 134: 7 bucks
MediaTek MT6316 BP/VP SPMI PMIC Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mediatek,mt6316b-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"
The MediaTek MT6316BP/VP PMICs are fully controlled by SPMI interface, both feature four step-down DC/DC (buck) converters, and provides 2+2 Phases, joining Buck 1+2 for the first phase, and Buck 3+4 for the second phase.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt6316b-regulator"
reg — required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^vbuck(12|34)$ — 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-allowed-modes — not listed as required here
Allowed Buck regulator operating modes allowed. Valid values below.
0 - Normal mode with automatic power saving, reducing the switching
frequency when light load conditions are detected
1 - Forced Continuous Conduction mode (FCCM) for improved voltage
regulation accuracy with constant switching frequency but lower
regulator efficiency
2 - Forced Low Power mode for improved regulator efficiency, used
when no heavy load is expected, will shut down unnecessary IP
blocks and secondary phases to reduce quiescent current.
This mode does not limit the maximum output current but unless
only a light load is applied, there will be regulation accuracy
and efficiency losses.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
Array item rules (items)
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) #
#include <dt-bindings/spmi/spmi.h>
spmi {
#address-cells = <2>;
#size-cells = <0>;
pmic@8 {
compatible = "mediatek,mt6316b-regulator";
reg = <0x8 SPMI_USID>;
vbuck12 {
regulator-name = "dvdd_core";
regulator-min-microvolt = <450000>;
regulator-max-microvolt = <965000>;
regulator-allowed-modes = <0 1 2>;
regulator-enable-ramp-delay = <256>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MediaTek MT6316 CP/HP/KP SPMI PMIC Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mediatek,mt6316c-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"
The MediaTek MT6316CP/HP/KP PMICs are fully controlled by SPMI interface, features four step-down DC/DC (buck) converters, and provides 3+1 Phases, joining Buck 1+2+4 for the first phase, and uses Buck 3 for the second.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt6316c-regulator"
reg — required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^vbuck(124|3)$ — 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-allowed-modes — not listed as required here
Allowed Buck regulator operating modes allowed. Valid values below.
0 - Normal mode with automatic power saving, reducing the switching
frequency when light load conditions are detected
1 - Forced Continuous Conduction mode (FCCM) for improved voltage
regulation accuracy with constant switching frequency but lower
regulator efficiency
2 - Forced Low Power mode for improved regulator efficiency, used
when no heavy load is expected, will shut down unnecessary IP
blocks and secondary phases to reduce quiescent current.
This mode does not limit the maximum output current but unless
only a light load is applied, there will be regulation accuracy
and efficiency losses.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
Array item rules (items)
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) #
#include <dt-bindings/spmi/spmi.h>
spmi {
#address-cells = <2>;
#size-cells = <0>;
pmic@6 {
compatible = "mediatek,mt6316c-regulator";
reg = <0x6 SPMI_USID>;
vbuck124 {
regulator-name = "dvdd_proc_m";
regulator-min-microvolt = <450000>;
regulator-max-microvolt = <1277500>;
regulator-allowed-modes = <0 1 2>;
regulator-enable-ramp-delay = <256>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MediaTek MT6316 DP/TP SPMI PMIC Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mediatek,mt6316d-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"
The MediaTek MT6316DP/TP PMICs are fully controlled by SPMI interface, both feature four step-down DC/DC (buck) converters, and provides a single Phase, joining Buck 1+2+3+4.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt6316d-regulator"
reg — required here #
Maximum number of items (maxItems): 1
vbuck1234 — not listed as required here #
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-allowed-modes — not listed as required here
Allowed Buck regulator operating modes allowed. Valid values below.
0 - Normal mode with automatic power saving, reducing the switching
frequency when light load conditions are detected
1 - Forced Continuous Conduction mode (FCCM) for improved voltage
regulation accuracy with constant switching frequency but lower
regulator efficiency
2 - Forced Low Power mode for improved regulator efficiency, used
when no heavy load is expected, will shut down unnecessary IP
blocks and secondary phases to reduce quiescent current.
This mode does not limit the maximum output current but unless
only a light load is applied, there will be regulation accuracy
and efficiency losses.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
Array item rules (items)
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) #
#include <dt-bindings/spmi/spmi.h>
spmi {
#address-cells = <2>;
#size-cells = <0>;
pmic@7 {
compatible = "mediatek,mt6316d-regulator";
reg = <0x7 SPMI_USID>;
vbuck1234 {
regulator-name = "dvdd_gpustack";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1277500>;
regulator-allowed-modes = <0 1 2>;
regulator-enable-ramp-delay = <256>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MT6331 Regulator from MediaTek Integrated
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mediatek,mt6331-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"
The MT6331 PMIC provides 6 BUCK and 21 LDO (Low Dropout) regulators and nodes are named according to the regulator type: buck-<name> and ldo-<name>. MT6331 regulators node should be sub node of the MT6397 MFD node.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt6331-regulator"
Properties matching a name pattern (patternProperties) #
^buck-v(core2|io18|dvfs11|dvfs12|dvfs13|dvfs14)$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^v(core2|io18|dvfs11|dvfs12|dvfs13|dvfs14)$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo-(avdd32aud|vauxa32)$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^(avdd32_aud|vauxa32)$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo-v(dig18|emc33|ibr|io28|mc|mch|mipi|rtc|sim1|sim2|sram|usb10)$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^v(dig18|emc33|ibr|io28|mc|mch|mipi|rtc|sim1|sim2|sram|usb)$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo-vcam(a|af|d|io)$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^vcam(a|_af|d|io)$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo-vtcxo[12]$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — required here
String pattern (pattern): "^vtcxo[12]$"
Required in this object (required): "regulator-name"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo-vgp[1234]$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — required here
String pattern (pattern): "^vgp[1234]$"
Required in this object (required): "regulator-name"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pmic {
regulators {
mt6331_vdvfs11_reg: buck-vdvfs11 {
regulator-name = "vdvfs11";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1493750>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <1>;
regulator-allowed-modes = <0 1>;
};
mt6331_vdvfs12_reg: buck-vdvfs12 {
regulator-name = "vdvfs12";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1493750>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <1>;
regulator-allowed-modes = <0 1>;
};
mt6331_vdvfs13_reg: buck-vdvfs13 {
regulator-name = "vdvfs13";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1493750>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <1>;
regulator-allowed-modes = <0 1>;
};
mt6331_vdvfs14_reg: buck-vdvfs14 {
regulator-name = "vdvfs14";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1493750>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <1>;
regulator-allowed-modes = <0 1>;
};
mt6331_vcore2_reg: buck-vcore2 {
regulator-name = "vcore2";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1493750>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <1>;
regulator-allowed-modes = <0 1>;
};
mt6331_vio18_reg: buck-vio18 {
regulator-name = "vio18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <0>;
regulator-allowed-modes = <0 1>;
};
mt6331_vtcxo1_reg: ldo-vtcxo1 {
regulator-name = "vtcxo1";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
regulator-boot-on;
};
mt6331_vtcxo2_reg: ldo-vtcxo2 {
regulator-name = "vtcxo2";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
regulator-boot-on;
};
mt6331_avdd32_aud_reg: ldo-avdd32aud {
regulator-name = "avdd32_aud";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <3200000>;
};
mt6331_vauxa32_reg: ldo-vauxa32 {
regulator-name = "vauxa32";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <3200000>;
};
mt6331_vcama_reg: ldo-vcama {
regulator-name = "vcama";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
};
mt6331_vio28_reg: ldo-vio28 {
regulator-name = "vio28";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
regulator-boot-on;
};
mt6331_vcamaf_reg: ldo-vcamaf {
regulator-name = "vcam_af";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
mt6331_vmc_reg: ldo-vmc {
regulator-name = "vmc";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
mt6331_vmch_reg: ldo-vmch {
regulator-name = "vmch";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3300000>;
};
mt6331_vemc33_reg: ldo-vemc33 {
regulator-name = "vemc33";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
mt6331_vgp1_reg: ldo-vgp1 {
regulator-name = "vgp1";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
mt6331_vsim1_reg: ldo-vsim1 {
regulator-name = "vsim1";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3100000>;
};
mt6331_vsim2_reg: ldo-vsim2 {
regulator-name = "vsim2";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3100000>;
};
mt6331_vmipi_reg: ldo-vmipi {
regulator-name = "vmipi";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
mt6331_vibr_reg: ldo-vibr {
regulator-name = "vibr";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
mt6331_vgp4_reg: ldo-vgp4 {
regulator-name = "vgp4";
regulator-min-microvolt = <1600000>;
regulator-max-microvolt = <2200000>;
};
mt6331_vcamd_reg: ldo-vcamd {
regulator-name = "vcamd";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1500000>;
};
mt6331_vusb10_reg: ldo-vusb10 {
regulator-name = "vusb";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1300000>;
regulator-boot-on;
};
mt6331_vcamio_reg: ldo-vcamio {
regulator-name = "vcam_io";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1800000>;
};
mt6331_vsram_reg: ldo-vsram {
regulator-name = "vsram";
regulator-min-microvolt = <1012500>;
regulator-max-microvolt = <1012500>;
regulator-always-on;
regulator-boot-on;
};
mt6331_vgp2_reg: ldo-vgp2 {
regulator-name = "vgp2";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1500000>;
regulator-boot-on;
};
mt6331_vgp3_reg: ldo-vgp3 {
regulator-name = "vgp3";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1800000>;
};
mt6331_vrtc_reg: ldo-vrtc {
regulator-name = "vrtc";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
};
mt6331_vdig18_reg: ldo-vdig18 {
regulator-name = "dvdd18_dig";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MT6332 Regulator from MediaTek Integrated
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mediatek,mt6332-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"
The MT6332 Companion PMIC provides 6 BUCK and 4 LDO (Low Dropout) regulators and nodes are named according to the regulator type: buck-<name> and ldo-<name>. MT6332 regulators node should be sub node of the MT6397 MFD node.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt6332-regulator"
Properties matching a name pattern (patternProperties) #
^buck-v(dram|dvfs2|pa|rf18a|rf18b|sbst)$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^v(dram|dvfs2|pa|rf18a|rf18b|sbst)$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo-v(bif28|dig18|sram|usb33)$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^v(bif28|dig18|sram|usb33)$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pmic {
regulators {
mt6332_vdram_reg: buck-vdram {
regulator-name = "vdram";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1493750>;
regulator-ramp-delay = <12500>;
regulator-allowed-modes = <0 1>;
regulator-always-on;
};
mt6332_vdvfs2_reg: buck-vdvfs2 {
regulator-name = "vdvfs2";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1312500>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <1>;
regulator-allowed-modes = <0 1>;
};
mt6332_vpa_reg: buck-vpa {
regulator-name = "vpa";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
mt6332_vrf18a_reg: buck-vrf18a {
regulator-name = "vrf18a";
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <2240625>;
regulator-allowed-modes = <0 1>;
};
mt6332_vrf18b_reg: buck-vrf18b {
regulator-name = "vrf18b";
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <2240625>;
regulator-allowed-modes = <0 1>;
};
mt6332_vsbst_reg: buck-vsbst {
regulator-name = "vsbst";
regulator-min-microvolt = <3500000>;
regulator-max-microvolt = <7468750>;
};
mt6332_vauxb32_reg: ldo-vauxb32 {
regulator-name = "vauxb32";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <3200000>;
};
mt6332_vbif28_reg: ldo-vbif28 {
regulator-name = "vbif28";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
};
mt6332_vdig18_reg: ldo-vdig18 {
regulator-name = "vdig18";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
mt6332_vsram_reg: ldo-vsram {
regulator-name = "vauxa32";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1493750>;
regulator-always-on;
};
mt6332_vusb33_reg: ldo-vusb33 {
regulator-name = "vusb33";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MediaTek MT6357 Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mediatek,mt6357-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen Zhong <chen.zhong@mediatek.com>", "Fabien Parent <fabien.parent@linaro.org>", "Alexandre Mergnat <amergnat@baylibre.com>"
The MT6357 PMIC provides 5 BUCK and 29 LDO. Regulators and nodes are named according to the regulator type: - buck-<name> - ldo-<name>. MT6357 regulators node should be sub node of the MT6397 MFD node.
Properties matching a name pattern (patternProperties) #
^buck-v(core|modem|pa|proc|s1)$ — 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 for single BUCK regulator.
Required in this object (required): "regulator-name", "regulator-min-microvolt", "regulator-max-microvolt"
^ldo-v(camio18|aud28|aux18|io18|io28|rf12|rf18|cn18|cn28|fe28)$ — 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 for single fixed LDO regulator.
Required in this object (required): "regulator-name", "regulator-min-microvolt", "regulator-max-microvolt"
^ldo-v(efuse|ibr|ldo28|mch|cama|camd|cn33-bt|cn33-wifi)$ — 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 for single LDO regulator.
Required in this object (required): "regulator-name", "regulator-min-microvolt", "regulator-max-microvolt"
^ldo-v(xo22|emc|mc|sim1|sim2|sram-others|sram-proc|dram|usb33)$ — 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 for single LDO regulator.
Required in this object (required): "regulator-name", "regulator-min-microvolt", "regulator-max-microvolt"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pmic {
regulators {
mt6357_vproc_reg: buck-vproc {
regulator-name = "vproc";
regulator-min-microvolt = <518750>;
regulator-max-microvolt = <1312500>;
regulator-ramp-delay = <6250>;
regulator-enable-ramp-delay = <220>;
regulator-always-on;
};
mt6357_vcore_reg: buck-vcore {
regulator-name = "vcore";
regulator-min-microvolt = <518750>;
regulator-max-microvolt = <1312500>;
regulator-ramp-delay = <6250>;
regulator-enable-ramp-delay = <220>;
regulator-always-on;
};
mt6357_vmodem_reg: buck-vmodem {
regulator-name = "vmodem";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1193750>;
regulator-ramp-delay = <6250>;
regulator-enable-ramp-delay = <220>;
};
mt6357_vs1_reg: buck-vs1 {
regulator-name = "vs1";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <2200000>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <220>;
regulator-always-on;
};
mt6357_vpa_reg: buck-vpa {
regulator-name = "vpa";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3650000>;
regulator-ramp-delay = <50000>;
regulator-enable-ramp-delay = <220>;
};
mt6357_vfe28_reg: ldo-vfe28 {
regulator-name = "vfe28";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vxo22_reg: ldo-vxo22 {
regulator-name = "vxo22";
regulator-min-microvolt = <2200000>;
regulator-max-microvolt = <2400000>;
regulator-enable-ramp-delay = <110>;
};
mt6357_vrf18_reg: ldo-vrf18 {
regulator-name = "vrf18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-enable-ramp-delay = <110>;
};
mt6357_vrf12_reg: ldo-vrf12 {
regulator-name = "vrf12";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-enable-ramp-delay = <110>;
};
mt6357_vefuse_reg: ldo-vefuse {
regulator-name = "vefuse";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vcn33_bt_reg: ldo-vcn33-bt {
regulator-name = "vcn33-bt";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3500000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vcn33_wifi_reg: ldo-vcn33-wifi {
regulator-name = "vcn33-wifi";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3500000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vcn28_reg: ldo-vcn28 {
regulator-name = "vcn28";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vcn18_reg: ldo-vcn18 {
regulator-name = "vcn18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vcama_reg: ldo-vcama {
regulator-name = "vcama";
regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <2800000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vcamd_reg: ldo-vcamd {
regulator-name = "vcamd";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1800000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vcamio_reg: ldo-vcamio18 {
regulator-name = "vcamio";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vldo28_reg: ldo-vldo28 {
regulator-name = "vldo28";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <3000000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vsram_others_reg: ldo-vsram-others {
regulator-name = "vsram-others";
regulator-min-microvolt = <518750>;
regulator-max-microvolt = <1312500>;
regulator-ramp-delay = <6250>;
regulator-enable-ramp-delay = <110>;
regulator-always-on;
};
mt6357_vsram_proc_reg: ldo-vsram-proc {
regulator-name = "vsram-proc";
regulator-min-microvolt = <518750>;
regulator-max-microvolt = <1312500>;
regulator-ramp-delay = <6250>;
regulator-enable-ramp-delay = <110>;
regulator-always-on;
};
mt6357_vaux18_reg: ldo-vaux18 {
regulator-name = "vaux18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vaud28_reg: ldo-vaud28 {
regulator-name = "vaud28";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vio28_reg: ldo-vio28 {
regulator-name = "vio28";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vio18_reg: ldo-vio18 {
regulator-name = "vio18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-enable-ramp-delay = <264>;
regulator-always-on;
};
mt6357_vdram_reg: ldo-vdram {
regulator-name = "vdram";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1200000>;
regulator-enable-ramp-delay = <3300>;
};
mt6357_vmc_reg: ldo-vmc {
regulator-name = "vmc";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <44>;
};
mt6357_vmch_reg: ldo-vmch {
regulator-name = "vmch";
regulator-min-microvolt = <2900000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <44>;
};
mt6357_vemc_reg: ldo-vemc {
regulator-name = "vemc";
regulator-min-microvolt = <2900000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <44>;
regulator-always-on;
};
mt6357_vsim1_reg: ldo-vsim1 {
regulator-name = "vsim1";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3100000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vsim2_reg: ldo-vsim2 {
regulator-name = "vsim2";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3100000>;
regulator-enable-ramp-delay = <264>;
};
mt6357_vibr_reg: ldo-vibr {
regulator-name = "vibr";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <44>;
};
mt6357_vusb33_reg: ldo-vusb33 {
regulator-name = "vusb33";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3100000>;
regulator-enable-ramp-delay = <264>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MediaTek MT6358 Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mediatek,mt6358-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Zhiyong Tao <zhiyong.tao@mediatek.com>"
Regulator node of the PMIC. This node should under the PMIC's device node. All voltage regulators provided by the PMIC are described as sub-nodes of this node.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"mediatek,mt6358-regulator"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt6366-regulator"Item 2
Exact value (
const):"mediatek,mt6358-regulator"
vsys-ldo1-supply — not listed as required here #
Supply for LDOs vfe28, vxo22, vcn28, vaux18, vaud28, vsim1, vusb, vbif28
vsys-ldo2-supply — not listed as required here #
Supply for LDOs vldo28 (MT6358 only), vio28, vmc, vmch, vsim2
vsys-ldo3-supply — not listed as required here #
Supply for LDOs vcn33, vcama[12] (MT6358 only), vemc, vibr
vsys-vcore-supply — not listed as required here #
Supply for buck regulator vcore
vsys-vdram1-supply — not listed as required here #
Supply for buck regulator vdram1
vsys-vgpu-supply — not listed as required here #
Supply for buck regulator vgpu
vsys-vmodem-supply — not listed as required here #
Supply for buck regulator vmodem
vsys-vpa-supply — not listed as required here #
Supply for buck regulator vpa
vsys-vproc11-supply — not listed as required here #
Supply for buck regulator vproc11
vsys-vproc12-supply — not listed as required here #
Supply for buck regulator vproc12
vsys-vs1-supply — not listed as required here #
Supply for buck regulator vs1
vsys-vs2-supply — not listed as required here #
Supply for buck regulator vs2
vs1-ldo1-supply — not listed as required here #
Supply for LDOs vrf18, vefuse, vcn18, vcamio (MT6358 only), vio18, vm18 (MT6366 only)
vs2-ldo1-supply — not listed as required here #
Supply for LDOs vdram2, vmddr (MT6366 only)
vs2-ldo2-supply — not listed as required here #
Supply for LDOs vrf12, va12
vs2-ldo3-supply — not listed as required here #
Supply for LDOs vsram-core (MT6366 only), vsram-gpu, vsram-others, vsram-proc11, vsram-proc12
vs2-ldo4-supply — not listed as required here #
Supply for LDO vcamd
Properties matching a name pattern (patternProperties) #
^(buck_)?v(core|dram1|gpu|modem|pa|proc1[12]|s[12])$ — name matches this regular expression #
Buck regulators
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
Buck regulatpr operating modes allowed. Valid values below.
Users should use the macros from dt-bindings/regulator/mediatek,mt6397-regulator.h
0 (MT6397_BUCK_MODE_AUTO): Auto PFM/PWM mode
1 (MT6397_BUCK_MODE_FORCE_PWM): Forced PWM mode
Array item rules (items)
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^(ldo_)?v(a|rf)12$ — name matches this regular expression #
LDOs with fixed 1.2V output and 0~100/10mV tuning
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
false — Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^(ldo_)?v((aux|cn|io|rf)18|camio)$ — name matches this regular expression #
LDOs with fixed 1.8V output and 0~100/10mV tuning (vcn18 on MT6366 has variable output)
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
false — Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^(ldo_)?vxo22$ — name matches this regular expression #
LDOs with fixed 2.2V output and 0~100/10mV tuning
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
false — Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^(ldo_)?v(aud|bif|cn|fe|io)28$ — name matches this regular expression #
LDOs with fixed 2.8V output and 0~100/10mV tuning
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
false — Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^(ldo_)?vusb$ — name matches this regular expression #
LDOs with fixed 3.0V output and 0~100/10mV tuning
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
false — Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^(ldo_)?vsram[_-](core|gpu|others|proc1[12])$ — name matches this regular expression #
LDOs with variable output
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
false — Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^(ldo_)?v(cama[12]|camd|cn33|dram2|efuse|emc|ibr|ldo28|m18|mc|mch|mddr|sim[12])$ — name matches this regular expression #
LDOs with variable output and 0~100/10mV tuning
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
false — Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible"
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 hereExact value (
const):"mediatek,mt6358-regulator"When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^(?<!buck_)(?<!ldo_)v.*[^y-](?!-supply)$— name matches this regular expression
false— Not permitted by this property rule.
^ldo_vsram-— name matches this regular expression
false— Not permitted by this property rule.
^ldo_vsram[-_]core$— name matches this regular expression
false— Not permitted by this property rule.Properties and child nodes (
properties)
ldo_vm18— not listed as required here
false— Not permitted by this property rule.
ldo_vmddr— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"mediatek,mt6366-regulator"When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^(buck|ldo)_— name matches this regular expression
false— Not permitted by this property rule.
^vsram_— name matches this regular expression
false— Not permitted by this property rule.
^vcam— name matches this regular expression
false— Not permitted by this property rule.Properties and child nodes (
properties)
vldo28— not listed as required here
false— Not permitted by this property rule.
vs2-ldo4-supply— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
#include <dt-bindings/regulator/mediatek,mt6397-regulator.h>
regulator {
compatible = "mediatek,mt6358-regulator";
buck_vgpu {
regulator-name = "vgpu";
regulator-min-microvolt = <625000>;
regulator-max-microvolt = <900000>;
regulator-ramp-delay = <6250>;
regulator-enable-ramp-delay = <200>;
regulator-allowed-modes = <MT6397_BUCK_MODE_AUTO
MT6397_BUCK_MODE_FORCE_PWM>;
};
ldo_vsram_gpu {
regulator-name = "vsram_gpu";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1000000>;
regulator-ramp-delay = <6250>;
regulator-enable-ramp-delay = <240>;
};
};
#include <dt-bindings/regulator/mediatek,mt6397-regulator.h>
regulator {
compatible = "mediatek,mt6366-regulator", "mediatek,mt6358-regulator";
vdram1 {
regulator-name = "pp1125_emi_vdd2";
regulator-min-microvolt = <1125000>;
regulator-max-microvolt = <1125000>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <0>;
regulator-allowed-modes = <MT6397_BUCK_MODE_AUTO
MT6397_BUCK_MODE_FORCE_PWM>;
regulator-always-on;
};
vproc11 {
regulator-name = "ppvar_dvdd_proc_bc_mt6366";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <1200000>;
regulator-ramp-delay = <6250>;
regulator-enable-ramp-delay = <200>;
regulator-allowed-modes = <MT6397_BUCK_MODE_AUTO
MT6397_BUCK_MODE_FORCE_PWM>;
regulator-always-on;
};
vmddr {
regulator-name = "pm0750_emi_vmddr";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <750000>;
regulator-enable-ramp-delay = <325>;
regulator-always-on;
};
vsram-proc11 {
regulator-name = "pp0900_dvdd_sram_bc";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1120000>;
regulator-ramp-delay = <6250>;
regulator-enable-ramp-delay = <240>;
regulator-always-on;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 147: Old regulator node name scheme (with prefix and underscores) only
Line 148: ([^y-] is used to avoid matching -supply
Line 151: vsram_core regulator doesn't exist on MT6358
Line 155: vm18 and vmddr regulators don't exist on MT6358
Line 166: Prefer cleaned up regulator node names
Line 168: Don't allow underscores
Line 170: vcam* regulators don't exist on MT6366
Line 174: vldo28 regulator doesn't exist on MT6366
Line 176: vs2_ldo4 supply pin doesn't exist on MT6366
MediaTek MT6363 PMIC Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mediatek,mt6363-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"
The MT6363 SPMI PMIC provides 10 BUCK and 25 LDO (Low DropOut) regulators and can optionally provide overcurrent warnings with one ocp interrupt for each voltage regulator.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt6363-regulator"
reg — required here #
Maximum number of items (maxItems): 1
vsys-vbuck1-supply — not listed as required here #
Input supply for vbuck1
vsys-vbuck2-supply — not listed as required here #
Input supply for vbuck2
vsys-vbuck3-supply — not listed as required here #
Input supply for vbuck3
vsys-vbuck4-supply — not listed as required here #
Input supply for vbuck4
vsys-vbuck5-supply — not listed as required here #
Input supply for vbuck5
vsys-vbuck6-supply — not listed as required here #
Input supply for vbuck6
vsys-vbuck7-supply — not listed as required here #
Input supply for vbuck7
vsys-vs1-supply — not listed as required here #
Input supply for vs1
vsys-vs2-supply — not listed as required here #
Input supply for vs2
vsys-vs3-supply — not listed as required here #
Input supply for vs3
vs1-ldo1-supply — not listed as required here #
Input supply for va15, vio0p75, vm18, vrf18, vrf-io18
vs1-ldo2-supply — not listed as required here #
Input supply for vcn15, vio18, vufs18
vs2-ldo1-supply — not listed as required here #
Input supply for vsram-cpub, vsram-cpum, vrf12, vrf13, vufs12
vs2-ldo2-supply — not listed as required here #
Input supply for va12-1, va12-2, vcn13, vsram-cpul
vs3-ldo1-supply — not listed as required here #
Input supply for vsram-apu, vsram-digrf, vsram-mdfe
vs3-ldo2-supply — not listed as required here #
Input supply for vsram-modem, vrf0p9
vsys-ldo1-supply — not listed as required here #
Input supply for vaux18, vemc, vtref18
Properties matching a name pattern (patternProperties) #
^v(buck[1-7]|s[1-3])$ — name matches this regular expression #
Buck regulators
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-allowed-modes — not listed as required here
Allowed Buck regulator operating modes allowed. Valid values below.
0 - Normal mode with automatic power saving, reducing the switching
frequency when light load conditions are detected
1 - Forced Continuous Conduction mode (FCCM) for improved voltage
regulation accuracy with constant switching frequency but lower
regulator efficiency
2 - Forced Low Power mode for improved regulator efficiency, used
when no heavy load is expected, does not limit the maximum out
current but unless only a light load is applied, there will be
regulation accuracy and efficiency losses.
3 - Forced Ultra Low Power mode for ultra low load, this greatly
reduces the maximum output power, makes the regulator to be
efficient only for ultra light load, and greatly reduces the
quiescent current (Iq) of the buck.
Maximum number of items (maxItems): 3
Array item rules (items)
^va(12-1|12-2|15)$ — name matches this regular expression #
Shared schema rule ($ref): #/$defs/ldo-common
^v(aux|m|rf-io|tref)18$ — name matches this regular expression #
Shared schema rule ($ref): #/$defs/ldo-common
^v(cn13|cn15|emc)$ — name matches this regular expression #
Shared schema rule ($ref): #/$defs/ldo-common
^vio(0p75|18)$ — name matches this regular expression #
Shared schema rule ($ref): #/$defs/ldo-common
^vrf(0p9|12|13|18)$ — name matches this regular expression #
Shared schema rule ($ref): #/$defs/ldo-common
^vsram-(apu|cpub|cpum|cpul|digrf|mdfe|modem)$ — name matches this regular expression #
Shared schema rule ($ref): #/$defs/ldo-common
^vufs(12|18)$ — name matches this regular expression #
Shared schema rule ($ref): #/$defs/ldo-common
Reusable definitions ($defs) #
ldo-common #
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-allowed-modes — not listed as required here
Allowed LDO regulator operating modes allowed. Valid values below.
0 - Normal mode with automatic power saving, reducing the switching
frequency when light load conditions are detected
2 - Forced Low Power mode for improved regulator efficiency, used
when no heavy load is expected, does not limit the maximum out
current but unless only a light load is applied, there will be
regulation accuracy and efficiency losses.
Maximum number of items (maxItems): 2
Array item rules (items)
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MediaTek MT6397 Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mediatek,mt6397-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sen Chu <sen.chu@mediatek.com>", "Macpaul Lin <macpaul.lin@mediatek.com>"
Regulator node of the PMIC. This node should under the PMIC's device node. All voltage regulators provided by the PMIC are described as sub-nodes of this node.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mediatek,mt6397-regulator"
Properties matching a name pattern (patternProperties) #
^(buck_)?v(core|drm|gpu|io18|pca(7|15)|sramca(7|15))$ — name matches this regular expression #
Buck regulators
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
BUCK regulators can set regulator-initial-mode and regulator-allowed-modes to values specified in dt-bindings/regulator/mediatek,mt6397-regulator.h
Array item rules (items)
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^(ldo_)?v(tcxo|(a|io)28)$ — name matches this regular expression #
LDOs with fixed 2.8V output and 0~100/10mV tuning
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
false — Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^(ldo_)?vusb$ — name matches this regular expression #
LDOs with fixed 3.0V output and 0~100/10mV tuning
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
false — Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^(ldo_)?v(cama|emc3v3|gp[123456]|ibr|mc|mch)$ — name matches this regular expression #
LDOs with variable output and 0~100/10mV tuning
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-allowed-modes — not listed as required here
false — Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
mt6397_regulators: regulators {
compatible = "mediatek,mt6397-regulator";
mt6397_vpca15_reg: buck_vpca15 {
regulator-name = "vpca15";
regulator-min-microvolt = < 850000>;
regulator-max-microvolt = <1350000>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <200>;
};
mt6397_vpca7_reg: buck_vpca7 {
regulator-name = "vpca7";
regulator-min-microvolt = < 850000>;
regulator-max-microvolt = <1350000>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <115>;
};
mt6397_vsramca15_reg: buck_vsramca15 {
regulator-name = "vsramca15";
regulator-min-microvolt = < 850000>;
regulator-max-microvolt = <1350000>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <115>;
};
mt6397_vsramca7_reg: buck_vsramca7 {
regulator-name = "vsramca7";
regulator-min-microvolt = < 850000>;
regulator-max-microvolt = <1350000>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <115>;
};
mt6397_vcore_reg: buck_vcore {
regulator-name = "vcore";
regulator-min-microvolt = < 850000>;
regulator-max-microvolt = <1350000>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <115>;
};
mt6397_vgpu_reg: buck_vgpu {
regulator-name = "vgpu";
regulator-min-microvolt = < 700000>;
regulator-max-microvolt = <1350000>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <115>;
};
mt6397_vdrm_reg: buck_vdrm {
regulator-name = "vdrm";
regulator-min-microvolt = < 800000>;
regulator-max-microvolt = <1400000>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <500>;
};
mt6397_vio18_reg: buck_vio18 {
regulator-name = "vio18";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <2120000>;
regulator-ramp-delay = <12500>;
regulator-enable-ramp-delay = <500>;
};
mt6397_vtcxo_reg: ldo_vtcxo {
regulator-name = "vtcxo";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-enable-ramp-delay = <90>;
};
mt6397_va28_reg: ldo_va28 {
regulator-name = "va28";
/* fixed output 2.8 V */
regulator-enable-ramp-delay = <218>;
};
mt6397_vcama_reg: ldo_vcama {
regulator-name = "vcama";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <2800000>;
regulator-enable-ramp-delay = <218>;
};
mt6397_vio28_reg: ldo_vio28 {
regulator-name = "vio28";
/* fixed output 2.8 V */
regulator-enable-ramp-delay = <240>;
};
mt6397_usb_reg: ldo_vusb {
regulator-name = "vusb";
/* fixed output 3.3 V */
regulator-enable-ramp-delay = <218>;
};
mt6397_vmc_reg: ldo_vmc {
regulator-name = "vmc";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <218>;
};
mt6397_vmch_reg: ldo_vmch {
regulator-name = "vmch";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <218>;
};
mt6397_vemc_3v3_reg: ldo_vemc3v3 {
regulator-name = "vemc_3v3";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <218>;
};
mt6397_vgp1_reg: ldo_vgp1 {
regulator-name = "vcamd";
regulator-min-microvolt = <1220000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <240>;
};
mt6397_vgp2_reg: ldo_vgp2 {
regulator-name = "vcamio";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <218>;
};
mt6397_vgp3_reg: ldo_vgp3 {
regulator-name = "vcamaf";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <218>;
};
mt6397_vgp4_reg: ldo_vgp4 {
regulator-name = "vgp4";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <218>;
};
mt6397_vgp5_reg: ldo_vgp5 {
regulator-name = "vgp5";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3000000>;
regulator-enable-ramp-delay = <218>;
};
mt6397_vgp6_reg: ldo_vgp6 {
regulator-name = "vgp6";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <218>;
};
mt6397_vibr_reg: ldo_vibr {
regulator-name = "vibr";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <218>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MediaTek DVFSRC-controlled Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mediatek,mt6873-dvfsrc-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Dynamic Voltage and Frequency Scaling Resource Collector Regulators are controlled with votes to the DVFSRC hardware.
Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mediatek,mt6873-dvfsrc-regulator", "mediatek,mt6893-dvfsrc-regulator", "mediatek,mt8183-dvfsrc-regulator", "mediatek,mt8192-dvfsrc-regulator", "mediatek,mt8195-dvfsrc-regulator", "mediatek,mt8196-dvfsrc-regulator"
dvfsrc-vcore — not listed as required here #
DVFSRC-controlled SoC Vcore regulator
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
dvfsrc-vscp — not listed as required here #
DVFSRC-controlled System Control Processor regulator
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible"
At least one of these rules must match (anyOf) #
Rule 1 #
Rule 2 #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MCP16502 - High-Performance PMIC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
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
Monolithic Power System MP5416 PMIC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mps,mp5416.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Saravanan Sekar <sravanhome@gmail.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^pmic@[0-9a-f]{1,2}$"
compatible — required here #
Allowed values (enum): "mps,mp5416", "mps,mp5496"
reg — required here #
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
list of regulators provided by this controller, must be named after their hardware counterparts BUCK[1-4] and LDO[1-4]
Properties matching a name pattern (patternProperties) #
^buck[1-4]$ — name matches this regular expression
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Value type (type): "object"
^ldo[1-4]$ — name matches this regular expression
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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@69 {
compatible = "mps,mp5416";
reg = <0x69>;
regulators {
buck1 {
regulator-name = "buck1";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <2187500>;
regulator-min-microamp = <3800000>;
regulator-max-microamp = <6800000>;
regulator-boot-on;
};
ldo2 {
regulator-name = "ldo2";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3975000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Monolithic Power Systems MP8867/MP8869 voltage regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mps,mp886x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jisheng Zhang <jszhang@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mps,mp8867", "mps,mp8869"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — required here #
GPIO to enable/disable the regulator.
Maximum number of items (maxItems): 1
mps,fb-voltage-divider — required here #
An array of two integers containing the resistor values R1 and R2 of the feedback voltage divider in kilo ohms.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Maximum number of items (maxItems): 2
mps,switch-frequency-hz — not listed as required here #
The valid switch frequency in Hertz.
Allowed values (enum): 500000, 750000, 1000000, 1250000, 1500000
Required in this object (required): "compatible", "reg", "enable-gpios", "mps,fb-voltage-divider"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@62 {
compatible = "mps,mp8869";
regulator-name = "vcpu";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1150000>;
enable-gpios = <&porta 1 GPIO_ACTIVE_LOW>;
mps,fb-voltage-divider = <80 240>;
reg = <0x62>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Monolithic Power System MPQ2286 PMIC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mps,mpq2286.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Saravanan Sekar <saravanan@linumiz.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mps,mpq2286"
reg — required here #
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
Properties and child nodes (properties) #
buck — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
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.
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@3 {
compatible = "mps,mpq2286";
reg = <0x3>;
regulators {
buck {
regulator-name = "buck";
regulator-min-microvolt = <1600000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Monolithic Power System MPQ7920 PMIC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mps,mpq7920.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Saravanan Sekar <sravanhome@gmail.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "pmic@[0-9a-f]{1,2}"
compatible — required here #
Allowed values (enum): "mps,mpq7920"
reg — required here #
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
list of regulators provided by this controller, must be named after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5]
Properties and child nodes (properties) #
mps,switch-freq — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Allowed values (enum): 0, 1, 2, 3
Default value (default): 2
switching frequency must be one of following corresponding value 1.1MHz, 1.65MHz, 2.2MHz, 2.75MHz
ldortc — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^ldo[1-4]$ — 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.
^buck[1-4]$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties)
mps,buck-softstart — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Allowed values (enum): 0, 1, 2, 3
defines the soft start time of this buck, must be one of the following corresponding values 150us, 300us, 610us, 920us
mps,buck-phase-delay — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Allowed values (enum): 0, 1, 2, 3
defines the phase delay of this buck, must be one of the following corresponding values 0deg, 90deg, 180deg, 270deg
mps,buck-ovp-disable — not listed as required here
Value type (type): "boolean"
disables over voltage protection of this buck
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.
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@69 {
compatible = "mps,mpq7920";
reg = <0x69>;
regulators {
mps,switch-freq = /bits/ 8 <1>;
buck1 {
regulator-name = "buck1";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <3587500>;
regulator-min-microamp = <460000>;
regulator-max-microamp = <7600000>;
regulator-boot-on;
mps,buck-ovp-disable;
mps,buck-phase-delay = /bits/ 8 <2>;
mps,buck-softstart = /bits/ 8 <1>;
};
ldo2 {
regulator-name = "ldo2";
regulator-min-microvolt = <650000>;
regulator-max-microvolt = <3587500>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Monolithic Power System MPQ7932 PMIC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mps,mpq7932.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Saravanan Sekar <saravanan@linumiz.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mps,mpq7932"
reg — required here #
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
list of regulators provided by this controller, must be named after their hardware counterparts BUCK[1-6]
Properties matching a name pattern (patternProperties) #
^buck[1-6]$ — 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 not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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@3 {
compatible = "mps,mpq7932";
reg = <0x3>;
regulators {
buck1 {
regulator-name = "buck1";
regulator-min-microvolt = <1600000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
};
buck2 {
regulator-name = "buck2";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Mediatek MT6315 Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mt6315-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>"
The MT6315 is a power management IC (PMIC) configurable with SPMI. that contains 4 BUCKs output which can combine with each other by different efuse settings.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt6319-regulator"Item 2
Exact value (
const):"mediatek,mt6315-regulator"
Rule 2
Exact value (
const):"mediatek,mt6315-regulator"
reg — required here #
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
List of regulators and its properties
Properties matching a name pattern (patternProperties) #
^vbuck[1-4]$ — 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 not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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) #
pmic@6 {
compatible = "mediatek,mt6315-regulator";
reg = <0x6 0>;
regulators {
vbuck1 {
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1193750>;
regulator-enable-ramp-delay = <256>;
regulator-allowed-modes = <0 1 2>;
};
vbuck3 {
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1193750>;
regulator-enable-ramp-delay = <256>;
regulator-allowed-modes = <0 1 2>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
MT6359 Regulator from MediaTek Integrated
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mt6359-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>"
List of regulators provided by this controller. It is named according to its regulator type, buck_<name> and ldo_<name>. MT6359 regulators node should be sub node of the MT6397 MFD node.
Properties matching a name pattern (patternProperties) #
^buck_v(s1|gpu11|modem|pu|core|s2|pa|proc2|proc1|core_sshub)$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^v(s1|gpu11|modem|pu|core|s2|pa|proc2|proc1|core_sshub)$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo_v(ibr|rf12|usb|camio|efuse|xo22)$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^v(ibr|rf12|usb|camio|efuse|xo22)$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo_v(rfck|emc|a12|a09|ufs|bbck)$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^v(rfck|emc|a12|a09|ufs|bbck)$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo_vcn(18|13|33_1_bt|13_1_wifi|33_2_bt|33_2_wifi)$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^vcn(18|13|33_1_bt|13_1_wifi|33_2_bt|33_2_wifi)$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo_vsram_(proc2|others|md|proc1|others_sshub)$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^vsram_(proc2|others|md|proc1|others_sshub)$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo_v(fe|bif|io)28$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^v(fe|bif|io)28$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo_v(aud|io|aux|rf|m)18$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^v(aud|io|aux|rf|m)18$"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo_vsim[12]$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — required here
String pattern (pattern): "^vsim[12]$"
Required in this object (required): "regulator-name"
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.
Examples (examples) #
pmic {
regulators {
mt6359_vs1_buck_reg: buck_vs1 {
regulator-name = "vs1";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <2200000>;
regulator-enable-ramp-delay = <0>;
regulator-always-on;
};
mt6359_vgpu11_buck_reg: buck_vgpu11 {
regulator-name = "vgpu11";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1193750>;
regulator-ramp-delay = <5000>;
regulator-enable-ramp-delay = <200>;
regulator-allowed-modes = <0 1 2>;
};
mt6359_vmodem_buck_reg: buck_vmodem {
regulator-name = "vmodem";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1100000>;
regulator-ramp-delay = <10760>;
regulator-enable-ramp-delay = <200>;
};
mt6359_vpu_buck_reg: buck_vpu {
regulator-name = "vpu";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1193750>;
regulator-ramp-delay = <5000>;
regulator-enable-ramp-delay = <200>;
regulator-allowed-modes = <0 1 2>;
};
mt6359_vcore_buck_reg: buck_vcore {
regulator-name = "vcore";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1300000>;
regulator-ramp-delay = <5000>;
regulator-enable-ramp-delay = <200>;
regulator-allowed-modes = <0 1 2>;
};
mt6359_vs2_buck_reg: buck_vs2 {
regulator-name = "vs2";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1600000>;
regulator-enable-ramp-delay = <0>;
regulator-always-on;
};
mt6359_vpa_buck_reg: buck_vpa {
regulator-name = "vpa";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3650000>;
regulator-enable-ramp-delay = <300>;
};
mt6359_vproc2_buck_reg: buck_vproc2 {
regulator-name = "vproc2";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1193750>;
regulator-ramp-delay = <7500>;
regulator-enable-ramp-delay = <200>;
regulator-allowed-modes = <0 1 2>;
};
mt6359_vproc1_buck_reg: buck_vproc1 {
regulator-name = "vproc1";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1193750>;
regulator-ramp-delay = <7500>;
regulator-enable-ramp-delay = <200>;
regulator-allowed-modes = <0 1 2>;
};
mt6359_vcore_sshub_buck_reg: buck_vcore_sshub {
regulator-name = "vcore_sshub";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1193750>;
};
mt6359_vgpu11_sshub_buck_reg: buck_vgpu11_sshub {
regulator-name = "vgpu11_sshub";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1193750>;
};
mt6359_vaud18_ldo_reg: ldo_vaud18 {
regulator-name = "vaud18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-enable-ramp-delay = <240>;
};
mt6359_vsim1_ldo_reg: ldo_vsim1 {
regulator-name = "vsim1";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3100000>;
};
mt6359_vibr_ldo_reg: ldo_vibr {
regulator-name = "vibr";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
mt6359_vrf12_ldo_reg: ldo_vrf12 {
regulator-name = "vrf12";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1300000>;
};
mt6359_vusb_ldo_reg: ldo_vusb {
regulator-name = "vusb";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
regulator-enable-ramp-delay = <960>;
regulator-always-on;
};
mt6359_vsram_proc2_ldo_reg: ldo_vsram_proc2 {
regulator-name = "vsram_proc2";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1293750>;
regulator-ramp-delay = <7500>;
regulator-enable-ramp-delay = <240>;
regulator-always-on;
};
mt6359_vio18_ldo_reg: ldo_vio18 {
regulator-name = "vio18";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <1900000>;
regulator-enable-ramp-delay = <960>;
regulator-always-on;
};
mt6359_vcamio_ldo_reg: ldo_vcamio {
regulator-name = "vcamio";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <1900000>;
};
mt6359_vcn18_ldo_reg: ldo_vcn18 {
regulator-name = "vcn18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-enable-ramp-delay = <240>;
};
mt6359_vfe28_ldo_reg: ldo_vfe28 {
regulator-name = "vfe28";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-enable-ramp-delay = <120>;
};
mt6359_vcn13_ldo_reg: ldo_vcn13 {
regulator-name = "vcn13";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1300000>;
};
mt6359_vcn33_1_bt_ldo_reg: ldo_vcn33_1_bt {
regulator-name = "vcn33_1_bt";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <3500000>;
};
mt6359_vcn33_1_wifi_ldo_reg: ldo_vcn33_1_wifi {
regulator-name = "vcn33_1_wifi";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <3500000>;
};
mt6359_vaux18_ldo_reg: ldo_vaux18 {
regulator-name = "vaux18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-enable-ramp-delay = <240>;
regulator-always-on;
};
mt6359_vsram_others_ldo_reg: ldo_vsram_others {
regulator-name = "vsram_others";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1293750>;
regulator-ramp-delay = <5000>;
regulator-enable-ramp-delay = <240>;
};
mt6359_vefuse_ldo_reg: ldo_vefuse {
regulator-name = "vefuse";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <2000000>;
};
mt6359_vxo22_ldo_reg: ldo_vxo22 {
regulator-name = "vxo22";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2200000>;
regulator-always-on;
};
mt6359_vrfck_ldo_reg: ldo_vrfck {
regulator-name = "vrfck";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1700000>;
};
mt6359_vrfck_1_ldo_reg: ldo_vrfck_1 {
regulator-name = "vrfck_1";
regulator-min-microvolt = <1240000>;
regulator-max-microvolt = <1600000>;
};
mt6359_vbif28_ldo_reg: ldo_vbif28 {
regulator-name = "vbif28";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-enable-ramp-delay = <240>;
};
mt6359_vio28_ldo_reg: ldo_vio28 {
regulator-name = "vio28";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
mt6359_vemc_ldo_reg: ldo_vemc {
regulator-name = "vemc";
regulator-min-microvolt = <2900000>;
regulator-max-microvolt = <3300000>;
};
mt6359_vemc_1_ldo_reg: ldo_vemc_1 {
regulator-name = "vemc_1";
regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <3300000>;
};
mt6359_vcn33_2_bt_ldo_reg: ldo_vcn33_2_bt {
regulator-name = "vcn33_2_bt";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <3500000>;
};
mt6359_vcn33_2_wifi_ldo_reg: ldo_vcn33_2_wifi {
regulator-name = "vcn33_2_wifi";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <3500000>;
};
mt6359_va12_ldo_reg: ldo_va12 {
regulator-name = "va12";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1300000>;
regulator-always-on;
};
mt6359_va09_ldo_reg: ldo_va09 {
regulator-name = "va09";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1200000>;
};
mt6359_vrf18_ldo_reg: ldo_vrf18 {
regulator-name = "vrf18";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <1810000>;
};
mt6359_vsram_md_ldo_reg: ldo_vsram_md {
regulator-name = "vsram_md";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1293750>;
regulator-ramp-delay = <10760>;
regulator-enable-ramp-delay = <240>;
};
mt6359_vufs_ldo_reg: ldo_vufs {
regulator-name = "vufs";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <1900000>;
};
mt6359_vm18_ldo_reg: ldo_vm18 {
regulator-name = "vm18";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <1900000>;
regulator-always-on;
};
mt6359_vbbck_ldo_reg: ldo_vbbck {
regulator-name = "vbbck";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1200000>;
};
mt6359_vsram_proc1_ldo_reg: ldo_vsram_proc1 {
regulator-name = "vsram_proc1";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1293750>;
regulator-ramp-delay = <7500>;
regulator-enable-ramp-delay = <240>;
regulator-always-on;
};
mt6359_vsim2_ldo_reg: ldo_vsim2 {
regulator-name = "vsim2";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3100000>;
};
mt6359_vsram_others_sshub_ldo: ldo_vsram_others_sshub {
regulator-name = "vsram_others_sshub";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1293750>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MT6360 Regulator from MediaTek Integrated
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/mt6360-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Gene Chen <gene_chen@richtek.com>"
list of regulators provided by this controller, must be named after their hardware counterparts buck1/2 or ldo1/2/3/5/6/7
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt6360-regulator"
LDO_VIN1-supply — not listed as required here #
Input supply phandle(s) for LDO1/2/3
LDO_VIN2-supply — not listed as required here #
Input supply phandle(s) for LDO5
LDO_VIN3-supply — not listed as required here #
Input supply phandle(s) for LDO6/7
Properties matching a name pattern (patternProperties) #
^buck[12]$ — name matches this regular expression #
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^ldo[123567]$ — name matches this regular expression #
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible"
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>
#include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
regulator {
compatible = "mediatek,mt6360-regulator";
LDO_VIN3-supply = <&BUCK2>;
buck1 {
regulator-name = "mt6360,buck1";
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1300000>;
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
MT6360_OPMODE_LP
MT6360_OPMODE_ULP>;
};
BUCK2: buck2 {
regulator-name = "mt6360,buck2";
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1300000>;
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
MT6360_OPMODE_LP
MT6360_OPMODE_ULP>;
};
ldo6 {
regulator-name = "mt6360,ldo6";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <2100000>;
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
MT6360_OPMODE_LP>;
};
ldo7 {
regulator-name = "mt6360,ldo7";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <2100000>;
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
MT6360_OPMODE_LP>;
};
ldo1 {
regulator-name = "mt6360,ldo1";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3600000>;
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
MT6360_OPMODE_LP>;
};
ldo2 {
regulator-name = "mt6360,ldo2";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3600000>;
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
MT6360_OPMODE_LP>;
};
ldo3 {
regulator-name = "mt6360,ldo3";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3600000>;
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
MT6360_OPMODE_LP>;
};
ldo5 {
regulator-name = "mt6360,ldo5";
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <3600000>;
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
MT6360_OPMODE_LP>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
NXP PCA9450A/B/C Power Management Integrated Circuit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
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.
NXP PF0900 Power Management Integrated Circuit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/nxp,pf0900.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Joy Zou <joy.zou@nxp.com>"
The PF0900 is a power management integrated circuit (PMIC) optimized for high performance i.MX9x based applications. It features five high efficiency buck converters, three linear and one vaon regulators. It provides low quiescent current in Standby and low power off Modes.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nxp,pf0900"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
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) #
vaon — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^ldo[1-3]$ — 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.
^sw[1-5]$ — 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.
nxp,i2c-crc-enable — not listed as required here #
Value type (type): "boolean"
The CRC enabled during register read/write. Controlled by customer unviewable fuse bits OTP_I2C_CRC_EN. Check chip part number.
Required in this object (required): "compatible", "reg", "interrupts", "regulators"
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@8 {
compatible = "nxp,pf0900";
reg = <0x08>;
interrupt-parent = <&pcal6524>;
interrupts = <89 IRQ_TYPE_LEVEL_LOW>;
nxp,i2c-crc-enable;
regulators {
vaon {
regulator-name = "VAON";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
sw1 {
regulator-name = "SW1";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <1950>;
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-max-microvolt = <650000>;
regulator-suspend-min-microvolt = <650000>;
};
};
sw2 {
regulator-name = "SW2";
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <1950>;
};
sw3 {
regulator-name = "SW3";
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <1950>;
};
sw4 {
regulator-name = "SW4";
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <1950>;
};
sw5 {
regulator-name = "SW5";
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <1950>;
};
ldo1 {
regulator-name = "LDO1";
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo2 {
regulator-name = "LDO2";
regulator-min-microvolt = <650000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo3 {
regulator-name = "LDO3";
regulator-min-microvolt = <650000>;
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
NXP PF5300/PF5301/PF5302 PMIC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/nxp,pf5300.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Woodrow Douglass <wdouglass@carnegierobotics.com>"
The PF5300, PF5301, and PF5302 integrate high-performance buck converters, 12 A, 8 A, and 15 A, respectively, to power high-end automotive and industrial processors. With adaptive voltage positioning and a high-bandwidth loop, they offer transient regulation to minimize capacitor requirements.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"nxp,pf5300"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"nxp,pf5300"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@28 {
compatible = "nxp,pf5302", "nxp,pf5300";
reg = <0x28>;
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <1200000>;
regulator-min-microvolt = <500000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NXP PF8100/PF8121A/PF8200 PMIC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/nxp,pf8x00-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jagan Teki <jagan@amarulasolutions.com>", "Troy Kisky <troy.kisky@boundarydevices.com>"
PF8100/PF8121A/PF8200 is a PMIC designed for highperformance consumer applications. It features seven high efficiency buck converters, four linear and one vsnvs regulators. It has built-in one time programmable fuse bank for device configurations.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nxp,pf8100", "nxp,pf8121a", "nxp,pf8200"
reg — required here #
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
list of regulators provided by this controller
Properties matching a name pattern (patternProperties) #
^ldo[1-4]$ — 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-7]$ — 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,ilim-ma — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 2100
Maximum value (maximum): 4500
Deprecated (deprecated): true
BUCK regulators current limit in mA. This property is deprecated, please use "regulator-max-microamp" instead. Listed current limits in mA are, 2100 (default) 2600 3000 4500
nxp,phase-shift — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
Allowed values (enum): 0, 45, 90, 135, 180, 225, 270, 315
BUCK regulators phase shift control in degrees.
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties) #
vsnvs — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties for single VSNVS regulator.
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.
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@8 {
compatible = "nxp,pf8100";
reg = <0x08>;
regulators {
reg_ldo1: ldo1 {
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <5000000>;
regulator-min-microvolt = <1500000>;
};
reg_ldo2: ldo2 {
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <5000000>;
regulator-min-microvolt = <1500000>;
};
reg_ldo3: ldo3 {
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <5000000>;
regulator-min-microvolt = <1500000>;
};
reg_ldo4: ldo4 {
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <5000000>;
regulator-min-microvolt = <1500000>;
};
reg_buck1: buck1 {
nxp,ilim-ma = <4500>;
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <1800000>;
regulator-min-microvolt = <400000>;
};
reg_buck2: buck2 {
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <1800000>;
regulator-min-microvolt = <400000>;
};
reg_buck3: buck3 {
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <1800000>;
regulator-min-microvolt = <400000>;
};
reg_buck4: buck4 {
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <1800000>;
regulator-min-microvolt = <400000>;
};
reg_buck5: buck5 {
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <1800000>;
regulator-min-microvolt = <400000>;
};
reg_buck6: buck6 {
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <1800000>;
regulator-min-microvolt = <400000>;
};
reg_buck7: buck7 {
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <3300000>;
regulator-min-microvolt = <3300000>;
};
reg_vsnvs: vsnvs {
regulator-always-on;
regulator-boot-on;
regulator-max-microvolt = <3300000>;
regulator-min-microvolt = <1800000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Onsemi FAN53880 PMIC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/onnn,fan53880.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Christoph Fritz <chf.fritz@googlemail.com>"
The FAN53880 is an I2C porgrammable power management IC (PMIC) that contains a BUCK (step-down converter), four low dropouts (LDO) and one BOOST (step-up converter) output. It is designed for mobile power applications.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "pmic@[0-9a-f]{1,2}"
compatible — required here #
Allowed values (enum): "onnn,fan53880"
reg — required here #
Maximum number of items (maxItems): 1
VIN12-supply — not listed as required here #
Input supply phandle(s) for LDO1 and LDO2
VIN3-supply — not listed as required here #
Input supply phandle(s) for LDO3
VIN4-supply — not listed as required here #
Input supply phandle(s) for LDO4
PVIN-supply — not listed as required here #
Input supply phandle(s) for BUCK and BOOST
regulators — required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
list of regulators provided by this controller, must be named after their hardware counterparts LDO[1-4], BUCK and BOOST
Properties matching a name pattern (patternProperties) #
^LDO[1-4]$ — 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.
^BUCK|BOOST$ — 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 not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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@35 {
compatible = "onnn,fan53880";
reg = <0x35>;
PVIN-supply = <&fixreg_example_vcc>;
regulators {
BUCK {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
PFUZE100 family of regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/pfuze100.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Robin Gong <yibin.gong@nxp.com>"
The valid names for regulators are: --PFUZE100 sw1ab,sw1c,sw2,sw3a,sw3b,sw4,swbst,vsnvs,vrefddr,vgen1~vgen6 --PFUZE200 sw1ab,sw2,sw3a,sw3b,swbst,vsnvs,vrefddr,vgen1~vgen6,coin --PFUZE3000 sw1a,sw1b,sw2,sw3,swbst,vsnvs,vrefddr,vldo1,vldo2,vccsd,v33,vldo3,vldo4 --PFUZE3001 sw1,sw2,sw3,vsnvs,vldo1,vldo2,vccsd,v33,vldo3,vldo4
Each regulator is defined using the standard binding for regulators.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^pmic@[0-9]$"
compatible — required here #
Allowed values (enum): "fsl,pfuze100", "fsl,pfuze200", "fsl,pfuze3000", "fsl,pfuze3001"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
fsl,pfuze-support-disable-sw — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Boolean, if present disable all unused switch regulators to save power consumption. Attention, ensure that all important regulators (e.g. DDR ref, DDR supply) has set the "regulator-always-on" property. If not present, the switched regulators are always on and can't be disabled. This binding is a workaround to keep backward compatibility with old dtb's which rely on the fact that the switched regulators are always on and don't mark them explicit as "regulator-always-on".
fsl,pmic-stby-poweroff — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
if present, configure the PMIC to shutdown all power rails when PMIC_STBY_REQ line is asserted during the power off sequence. Use this option if the SoC should be powered off by external power management IC (PMIC) on PMIC_STBY_REQ signal. As opposite to PMIC_STBY_REQ boards can implement PMIC_ON_REQ signal.
regulators — not listed as required here #
Value type (type): "object"
list of regulators provided by this controller.
Properties matching a name pattern (patternProperties) #
^sw([1-4]|[1-4][a-c]|[1-4][a-c][a-c])$ — name matches this regular expression
Shared schema rule ($ref): regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
^vgen[1-6]$ — name matches this regular expression
Shared schema rule ($ref): regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
^vldo[1-4]$ — name matches this regular expression
Shared schema rule ($ref): regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
^(vsnvs|vref|vrefddr|swbst|coin|v33|vccsd)$ — name matches this regular expression
Shared schema rule ($ref): regulator.yaml#
Value type (type): "object"
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.
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@8 {
compatible = "fsl,pfuze100";
reg = <0x08>;
regulators {
sw1a_reg: sw1ab {
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1875000>;
regulator-boot-on;
regulator-always-on;
regulator-ramp-delay = <6250>;
};
sw1c_reg: sw1c {
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1875000>;
regulator-boot-on;
regulator-always-on;
};
sw2_reg: sw2 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
sw3a_reg: sw3a {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1975000>;
regulator-boot-on;
regulator-always-on;
};
sw3b_reg: sw3b {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1975000>;
regulator-boot-on;
regulator-always-on;
};
sw4_reg: sw4 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3300000>;
};
swbst_reg: swbst {
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5150000>;
};
snvs_reg: vsnvs {
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <3000000>;
regulator-boot-on;
regulator-always-on;
};
vref_reg: vrefddr {
regulator-boot-on;
regulator-always-on;
};
vgen1_reg: vgen1 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1550000>;
};
vgen2_reg: vgen2 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1550000>;
};
vgen3_reg: vgen3 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
vgen4_reg: vgen4 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
vgen5_reg: vgen5 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
vgen6_reg: vgen6 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Generic PWM Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/pwm-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Brian Norris <briannorris@chromium.org>", "Lee Jones <lee@kernel.org>", "Alexandre Courbot <acourbot@nvidia.com>"
Currently supports 2 modes of operation:
Voltage Table:
When in this mode, a voltage table (See below) of predefined voltage <=>
duty-cycle values must be provided via DT. Limitations are that the
regulator can only operate at the voltages supplied in the table.
Intermediary duty-cycle values which would normally allow finer grained
voltage selection are ignored and rendered useless. Although more control
is given to the user if the assumptions made in continuous-voltage mode do
not reign true.
Continuous Voltage:
This mode uses the regulator's maximum and minimum supplied voltages
specified in the regulator-{min,max}-microvolt properties to calculate
appropriate duty-cycle values. This allows for a much more fine grained
solution when compared with voltage-table mode above. This solution does
make an assumption that a %50 duty-cycle value will cause the regulator
voltage to run at half way between the supplied max_uV and min_uV values.
If voltage-table is provided, then the device will be used in Voltage Table Mode. If no voltage-table is provided, then the device will be used in Continuous Voltage Mode.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "pwm-regulator"
pwms — required here #
Maximum number of items (maxItems): 1
voltage-table — not listed as required here #
Voltage and Duty-Cycle table.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Array item rules (items) #
Array item rules (
items)Item 1
voltage in microvolts (uV)
Item 2
duty-cycle in percent (%)
enable-gpios — not listed as required here #
Regulator enable GPIO
Maximum number of items (maxItems): 1
pwm-dutycycle-unit — not listed as required here #
Integer value encoding the duty cycle unit. If not defined, <100> is assumed, meaning that pwm-dutycycle-range contains values expressed in percent.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 100
pwm-dutycycle-range — not listed as required here #
Should contain 2 entries. The first entry is encoding the dutycycle for regulator-min-microvolt and the second one the dutycycle for regulator-max-microvolt. Duty cycle values are expressed in pwm-dutycycle-unit. If not defined, <0 100> is assumed.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
the dutycycle for regulator-min-microvolt
Item 2
the dutycycle for regulator-max-microvolt
Default value (default): "0 100"
Required in this object (required): "compatible", "pwms"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
// Continuous Voltage With Enable GPIO Example:
regulator {
compatible = "pwm-regulator";
pwms = <&pwm1 0 8448 0>;
enable-gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
regulator-min-microvolt = <1016000>;
regulator-max-microvolt = <1114000>;
regulator-name = "vdd_logic";
/* unit == per-mille */
pwm-dutycycle-unit = <1000>;
/*
* Inverted PWM logic, and the duty cycle range is limited
* to 30%-70%.
*/
pwm-dutycycle-range = <700 300>; /* */
};
// Voltage Table Example:
regulator {
compatible = "pwm-regulator";
pwms = <&pwm1 0 8448 0>;
regulator-min-microvolt = <1016000>;
regulator-max-microvolt = <1114000>;
regulator-name = "vdd_logic";
/* Voltage Duty-Cycle */
voltage-table = <1114000 0>,
<1095000 10>,
<1076000 20>,
<1056000 30>,
<1036000 40>,
<1016000 50>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 60: Optional properties for Continuous mode:
Qualcomm Technologies, Inc. QCA6390 PMU Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom,qca6390-pmu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bartosz Golaszewski <bartosz.golaszewski@linaro.org>"
The QCA6390 package contains discrete modules for WLAN and Bluetooth. They are powered by the Power Management Unit (PMU) that takes inputs from the host and provides LDO outputs. This document describes this module.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,qca6390-pmu", "qcom,wcn6750-pmu", "qcom,wcn6855-pmu", "qcom,wcn7850-pmu"
vdd-supply — not listed as required here #
VDD supply regulator handle
vddaon-supply — not listed as required here #
VDD_AON supply regulator handle
vddasd-supply — not listed as required here #
VDD_ASD supply regulator handle
vdddig-supply — not listed as required here #
VDD_DIG supply regulator handle
vddpmu-supply — not listed as required here #
VDD_PMU supply regulator handle
vddpmumx-supply — not listed as required here #
VDD_PMU_MX supply regulator handle
vddpmucx-supply — not listed as required here #
VDD_PMU_CX supply regulator handle
vddio1p2-supply — not listed as required here #
VDD_IO_1P2 supply regulator handle
vddrfa0p8-supply — not listed as required here #
VDD_RFA_0P8 supply regulator handle
vddrfa0p95-supply — not listed as required here #
VDD_RFA_0P95 supply regulator handle
vddrfa1p2-supply — not listed as required here #
VDD_RFA_1P2 supply regulator handle
vddrfa1p3-supply — not listed as required here #
VDD_RFA_1P3 supply regulator handle
vddrfa1p7-supply — not listed as required here #
VDD_RFA_1P7 supply regulator handle
vddrfa1p8-supply — not listed as required here #
VDD_RFA_1P8 supply regulator handle
vddrfa1p9-supply — not listed as required here #
VDD_RFA_1P9 supply regulator handle
vddrfa2p2-supply — not listed as required here #
VDD_RFA_2P2 supply regulator handle
vddpcie1p3-supply — not listed as required here #
VDD_PCIE_1P3 supply regulator handle
vddpcie1p9-supply — not listed as required here #
VDD_PCIE_1P9 supply regulator handle
vddio-supply — not listed as required here #
VDD_IO supply regulator handle
wlan-enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO line enabling the ATH11K WLAN module supplied by the PMU
bt-enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO line enabling the Bluetooth module supplied by the PMU
swctrl-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO line indicating the state of the clock supply to the BT module
xo-clk-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO line allowing to select the XO clock configuration for the module
clocks — not listed as required here #
Maximum number of items (maxItems): 1
Reference clock handle
regulators — required here #
Value type (type): "object"
LDO outputs of the PMU
Properties matching a name pattern (patternProperties) #
^ldo[0-9]$ — name matches this regular expression
Shared schema rule ($ref): regulator.yaml#
Value type (type): "object"
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.
Required in this object (required): "compatible", "regulators"
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):"qcom,qca6390-pmu"When the condition matches (
then) #Required in this object (
required):"vddaon-supply","vddpmu-supply","vddrfa0p95-supply","vddrfa1p3-supply","vddrfa1p9-supply","vddpcie1p3-supply","vddpcie1p9-supply","vddio-supply"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,wcn6750-pmu"When the condition matches (
then) #Required in this object (
required):"vddaon-supply","vddasd-supply","vddpmu-supply","vddrfa0p8-supply","vddrfa1p2-supply","vddrfa1p7-supply","vddrfa2p2-supply"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,wcn6855-pmu"When the condition matches (
then) #Required in this object (
required):"vddio-supply","vddaon-supply","vddpmu-supply","vddpmumx-supply","vddpmucx-supply","vddrfa0p95-supply","vddrfa1p3-supply","vddrfa1p9-supply","vddpcie1p3-supply","vddpcie1p9-supply"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,wcn7850-pmu"When the condition matches (
then) #Required in this object (
required):"vdd-supply","vddio-supply","vddaon-supply","vdddig-supply","vddrfa1p2-supply","vddrfa1p8-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
pmu {
compatible = "qcom,qca6390-pmu";
pinctrl-names = "default";
pinctrl-0 = <&bt_en_state>, <&wlan_en_state>;
vddaon-supply = <&vreg_s6a_0p95>;
vddpmu-supply = <&vreg_s2f_0p95>;
vddrfa0p95-supply = <&vreg_s2f_0p95>;
vddrfa1p3-supply = <&vreg_s8c_1p3>;
vddrfa1p9-supply = <&vreg_s5a_1p9>;
vddpcie1p3-supply = <&vreg_s8c_1p3>;
vddpcie1p9-supply = <&vreg_s5a_1p9>;
vddio-supply = <&vreg_s4a_1p8>;
wlan-enable-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
bt-enable-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
regulators {
vreg_pmu_rfa_cmn: ldo0 {
regulator-name = "vreg_pmu_rfa_cmn";
};
vreg_pmu_aon_0p59: ldo1 {
regulator-name = "vreg_pmu_aon_0p59";
};
vreg_pmu_wlcx_0p8: ldo2 {
regulator-name = "vreg_pmu_wlcx_0p8";
};
vreg_pmu_wlmx_0p85: ldo3 {
regulator-name = "vreg_pmu_wlmx_0p85";
};
vreg_pmu_btcmx_0p85: ldo4 {
regulator-name = "vreg_pmu_btcmx_0p85";
};
vreg_pmu_rfa_0p8: ldo5 {
regulator-name = "vreg_pmu_rfa_0p8";
};
vreg_pmu_rfa_1p2: ldo6 {
regulator-name = "vreg_pmu_rfa_1p2";
};
vreg_pmu_rfa_1p7: ldo7 {
regulator-name = "vreg_pmu_rfa_1p7";
};
vreg_pmu_pcie_0p9: ldo8 {
regulator-name = "vreg_pmu_pcie_0p9";
};
vreg_pmu_pcie_1p8: ldo9 {
regulator-name = "vreg_pmu_pcie_1p8";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm RPM regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom,rpm-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Qualcomm RPM regulator is modelled as a subdevice of the RPM. Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml for information regarding the RPM node. The regulator node houses sub-nodes for each regulator within the device. Each sub-node is identified using the node's name, with valid values listed for each of the pmics below. For pm8058 l0, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, l25, s0, s1, s2, s3, s4, lvs0, lvs1, ncp For pm8901 l0, l1, l2, l3, l4, l5, l6, s0, s1, s2, s3, s4, lvs0, lvs1, lvs2, lvs3, mvs For pm8921 s1, s2, s3, s4, s7, s8, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l14, l15, l16, l17, l18, l21, l22, l23, l24, l25, l26, l27, l28, l29, lvs1, lvs2, lvs3, lvs4, lvs5, lvs6, lvs7, usb-switch, hdmi-switch, ncp For pm8018 s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l14, lvs1 For smb208 s1a, s1b, s2a, s2b
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,rpm-pm8058-regulators", "qcom,rpm-pm8901-regulators", "qcom,rpm-pm8921-regulators", "qcom,rpm-pm8018-regulators", "qcom,rpm-smb208-regulators"
Properties matching a name pattern (patternProperties) #
.*-supply$ — name matches this regular expression #
Input supply phandle(s) for this node
^((s|l|lvs)[0-9]*|s[1-2][a-b]|ncp|mvs|usb-switch|hdmi-switch)$ — name matches this regular expression #
List of regulators and its properties
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
bias-pull-down — not listed as required here
enable pull down of the regulator when inactive
Value type (type): "boolean"
qcom,switch-mode-frequency — not listed as required here
Frequency (Hz) of the switch-mode power supply
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 19200000, 9600000, 6400000, 4800000, 3840000, 3200000, 2740000, 2400000, 2130000, 1920000, 1750000, 1600000, 1480000, 1370000, 1280000, 1200000
qcom,force-mode — not listed as required here
Indicates that the regulator should be forced to a particular mode
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
qcom,power-mode-hysteretic — not listed as required here
select that the power supply should operate in hysteretic mode, instead of the default pwm mode
Value type (type): "boolean"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible"
Examples (examples) #
#include <dt-bindings/mfd/qcom-rpm.h>
regulators {
compatible = "qcom,rpm-pm8921-regulators";
vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
s1 {
regulator-min-microvolt = <1225000>;
regulator-max-microvolt = <1225000>;
bias-pull-down;
qcom,switch-mode-frequency = <3200000>;
};
pm8921_s4: s4 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
qcom,switch-mode-frequency = <1600000>;
bias-pull-down;
qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 86: QCOM_RPM_FORCE_MODE_NONE do not force any mode
Line 87: QCOM_RPM_FORCE_MODE_LPM force into low power mode
Line 88: QCOM_RPM_FORCE_MODE_HPM force into high power mode
Line 89: QCOM_RPM_FORCE_MODE_AUTO allow regulator to automatically select its own mode
Line 90: based on realtime current draw, only for pm8921 smps and ftsmps
Qualcomm Technologies, Inc. RPMh Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom,rpmh-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>", "Krzysztof Kozlowski <krzk@kernel.org>"
rpmh-regulator devices support PMIC regulator management via the Voltage Regulator Manager (VRM) and Oscillator Buffer (XOB) RPMh accelerators. The APPS processor communicates with these hardware blocks via a Resource State Coordinator (RSC) using command packets. The VRM allows changing three parameters for a given regulator, enable state, output voltage, and operating mode. The XOB allows changing only a single parameter for a given regulator, its enable state. Despite its name, the XOB is capable of controlling the enable state of any PMIC peripheral. It is used for clock buffers, low-voltage switches, and LDO/SMPS regulators which have a fixed voltage and mode.
======================= Required Node Structure =======================
RPMh regulators must be described in two levels of device nodes. The first level describes the PMIC containing the regulators and must reside within an RPMh device node. The second level describes each regulator within the PMIC which is to be used on the board. Each of these regulators maps to a single RPMh resource.
The names used for regulator nodes must match those supported by a given
PMIC. Supported regulator node names are
For PM6150, smps1 - smps5, ldo1 - ldo19
For PM6150L, smps1 - smps8, ldo1 - ldo11, bob
For PM6350, smps1 - smps5, ldo1 - ldo22
For PM660, smps1 - smps6, ldo1 - ldo3, ldo5 - ldo19
For PM660L, smps1 - smps3, smps5, ldo1 - ldo8, bob
For PM7325, smps1 - smps8, ldo1 - ldo19
For PM7550, smps1 - smps6, ldo1 - ldo23, bob
For PM8005, smps1 - smps4
For PM8009, smps1 - smps2, ldo1 - ldo7
For PM8010, ldo1 - ldo7
For PM8150, smps1 - smps10, ldo1 - ldo18
For PM8150L, smps1 - smps8, ldo1 - ldo11, bob, flash, rgb
For PM8350, smps1 - smps12, ldo1 - ldo10
For PM8350C, smps1 - smps10, ldo1 - ldo13, bob
For PM8450, smps1 - smps6, ldo1 - ldo4
For PM8550, smps1 - smps6, ldo1 - ldo17, bob1 - bob2
For PM8998, smps1 - smps13, ldo1 - ldo28, lvs1 - lvs2
For PMH0101, ldo1 - ldo18, bob1 - bob2
For PMH0104, smps1 - smps4
For PMH0110, smps1 - smps10, ldo1 - ldo4
For PMI8998, bob
For PMC8380, smps1 - smps8, ldo1 - lodo3
For PMCX0102, smps1 - smps10, ldo1 - ldo4
For PMR735A, smps1 - smps3, ldo1 - ldo7
For PMR735B, ldo1 - ldo12
For PMR735D, ldo1 - ldo7
For PMX55, smps1 - smps7, ldo1 - ldo16
For PMX65, smps1 - smps8, ldo1 - ldo21
For PMX75, smps1 - smps10, ldo1 - ldo21
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,pm6150-rpmh-regulators", "qcom,pm6150l-rpmh-regulators", "qcom,pm6350-rpmh-regulators", "qcom,pm660-rpmh-regulators", "qcom,pm660l-rpmh-regulators", "qcom,pm7325-rpmh-regulators", "qcom,pm7550-rpmh-regulators", "qcom,pm8005-rpmh-regulators", "qcom,pm8009-rpmh-regulators", "qcom,pm8009-1-rpmh-regulators", "qcom,pm8010-rpmh-regulators", "qcom,pm8150-rpmh-regulators", "qcom,pm8150l-rpmh-regulators", "qcom,pm8350-rpmh-regulators", "qcom,pm8350c-rpmh-regulators", "qcom,pm8450-rpmh-regulators", "qcom,pm8550-rpmh-regulators", "qcom,pm8550ve-rpmh-regulators", "qcom,pm8550vs-rpmh-regulators", "qcom,pm8998-rpmh-regulators", "qcom,pmc8180-rpmh-regulators", "qcom,pmc8180c-rpmh-regulators", "qcom,pmc8380-rpmh-regulators", "qcom,pmcx0102-rpmh-regulators", "qcom,pmg1110-rpmh-regulators", "qcom,pmh0101-rpmh-regulators", "qcom,pmh0104-rpmh-regulators", "qcom,pmh0110-rpmh-regulators", "qcom,pmi8998-rpmh-regulators", "qcom,pmm8155au-rpmh-regulators", "qcom,pmm8654au-rpmh-regulators", "qcom,pmr735a-rpmh-regulators", "qcom,pmr735b-rpmh-regulators", "qcom,pmr735d-rpmh-regulators", "qcom,pmx55-rpmh-regulators", "qcom,pmx65-rpmh-regulators", "qcom,pmx75-rpmh-regulators"
qcom,pmic-id — required here #
RPMh resource name suffix used for the regulators found on this PMIC.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
String pattern (pattern): "^[a-n]|[A-N]_E[0-3]+$"
qcom,always-wait-for-ack — not listed as required here #
Boolean flag which indicates that the application processor must wait for an ACK or a NACK from RPMh for every request sent for this regulator including those which are for a strictly lower power state.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
vdd-flash-supply — not listed as required here #
Input supply phandle of flash.
vdd-rgb-supply — not listed as required here #
Input supply phandle of rgb.
bob — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
BOB regulator node.
Property dependencies (dependencies) #
regulator-allow-set-load — applies when this property is present
Also requires: "regulator-allowed-modes"
Properties matching a name pattern (patternProperties) #
^(smps|ldo|lvs|bob)[0-9]+$ — 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.
smps/ldo regulator nodes(s).
Property dependencies (dependencies) #
regulator-allow-set-load — applies when this property is present
Also requires: "regulator-allowed-modes"
Required in this object (required): "compatible", "qcom,pmic-id"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l2-l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l4-l7-l8-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l5-l16-l17-l18-l19-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l10-l14-l15-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l11-l12-l13-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l[169]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s[1-5]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,pm6150l-rpmh-regulators","qcom,pm8150l-rpmh-regulators","qcom,pmc8180c-rpmh-regulators"When the condition matches (
then) #Properties and child nodes (
properties)
vdd-bob-supply— not listed as required hereBOB regulator parent supply phandle.
vdd-l1-l8-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l2-l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l4-l5-l6-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l7-l11-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l9-l10-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-s[1-8]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l6-l7-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l2-l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l5-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l8-l9-l10-l11-l12-l13-l14-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l15-l16-l17-l18-l19-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-s[1-6]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-bob-supply— not listed as required hereBOB regulator parent supply phandle.
vdd-l1-l9-l10-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l2-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l3-l5-l7-l8-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l4-l6-supply— not listed as required here
true— No constraints added by this property rule.
vdd-s3-s4-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-s[125]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l4-l12-l15-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l2-l7-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l6-l9-l10-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l11-l17-l18-l19-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l13-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l14-l16-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l[358]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s[1-8]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-bob-supply— not listed as required hereBOB regulator parent supply phandle.
vdd-l2-l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l4-l5-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l9-l10-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l12-l14-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l13-l16-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l15-l17-l18-l19-l20-l21-l22-l23-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l(1|[6-8]|11)-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s[1-6]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,pm8005-rpmh-regulators","qcom,pmh0104-rpmh-regulators"When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^vdd-s[1-4]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 8 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,pm8009-rpmh-regulators","qcom,pm8009-1-rpmh-regulators"When the condition matches (
then) #Properties and child nodes (
properties)
vdd-l5-l6-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l[1-47]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s[1-2]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 9 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l2-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l3-l4-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l[5-7]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 10 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,pm8150-rpmh-regulators","qcom,pmc8180-rpmh-regulators","qcom,pmm8155au-rpmh-regulators"When the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l8-l11-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l2-l10-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l3-l4-l5-l18-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l6-l9-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l7-l12-l14-l15-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l13-l16-l17-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-s([1-9]|10)-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 11 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l2-l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l4-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l5-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l6-l7-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l8-l9-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-s[1-9]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 12 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l4-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l2-l7-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l3-l5-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l6-l9-l10-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l8-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-s([1-9]|1[0-2])-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 13 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-bob-supply— not listed as required hereBOB regulator parent supply phandle.
vdd-l1-l12-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l2-l8-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l3-l4-l5-l7-l13-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l6-l9-l11-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l10-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-s([1-9]|10)-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 14 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^vdd-l[1-4]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s[1-6]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 15 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l4-l10-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l2-l13-l14-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l5-l16-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l6-l7-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l8-l9-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l(3|1[1-7])-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s[1-6]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-bob[1-2]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 16 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^vdd-l[1-3]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s[1-6]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 17 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l27-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l2-l8-l17-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l3-l11-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l4-l5-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l6-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l7-l12-l14-l15-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l9-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l10-l23-l25-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l13-l19-l21-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l16-l28-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l18-l22-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l20-l24-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l26-supply— not listed as required here
true— No constraints added by this property rule.
vin-lvs-1-2-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-s([1-9]|1[0-3])-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 18 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,pmc8380-rpmh-regulators","qcom,pm8550ve-rpmh-regulators"When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^vdd-l[1-3]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s[1-8]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 19 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-s1-supply— not listed as required here
true— No constraints added by this property rule.
Rule 20 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l4-l10-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l2-l13-l14-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l3-l11-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l5-l16-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l6-l7-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l8-l9-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l(1[2578])-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-bob[1-2]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 21 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,pmcx0102-rpmh-regulators","qcom,pmh0110-rpmh-regulators"When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^vdd-l[1-4]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s([1-9]|10)-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 22 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-bob-supply— not listed as required hereBOB regulator parent supply phandle.
Rule 23 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l2-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l4-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l5-l6-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l7-bob-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-s[1-3]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 24 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l2-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l7-l8-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l([3-6]|9|1[0-2])-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 25 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l2-l5-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l3-l4-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l[6-7]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 26 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l1-l2-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l3-l9-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l4-l12-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l5-l6-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l7-l8-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l10-l11-l13-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l1[4-6]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s[1-7]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 27 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l2-l18-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l5-l6-l16-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l8-l9-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l11-l13-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l[1347]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-l1[024579]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-l2[01]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s[1-8]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 28 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
vdd-l2-l18-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l4-l16-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l5-l6-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l8-l9-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l11-l13-supply— not listed as required here
true— No constraints added by this property rule.
vdd-l20-l21-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd-l[137]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-l1[024579]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd-s([1-9]|10)-supply$— name matches this regular expression
true— No constraints added by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
pm8998-rpmh-regulators {
compatible = "qcom,pm8998-rpmh-regulators";
qcom,pmic-id = "a";
vdd-l7-l12-l14-l15-supply = <&pm8998_s5>;
smps2 {
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
};
ldo7 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
RPMH_REGULATOR_MODE_HPM>;
regulator-allow-set-load;
};
lvs1 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
};
pmi8998-rpmh-regulators {
compatible = "qcom,pmi8998-rpmh-regulators";
qcom,pmic-id = "b";
bob {
regulator-min-microvolt = <3312000>;
regulator-max-microvolt = <3600000>;
regulator-allowed-modes = <RPMH_REGULATOR_MODE_AUTO
RPMH_REGULATOR_MODE_HPM>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm Technologies, Inc. REFGEN Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom,sdm845-refgen-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"
The REFGEN (reference voltage generator) regulator provides reference voltage for on-chip IPs (like PHYs) on some Qualcomm SoCs.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,sc7180-refgen-regulator","qcom,sc8180x-refgen-regulator","qcom,sdm670-refgen-regulator","qcom,sm8150-refgen-regulator"Item 2
Exact value (
const):"qcom,sdm845-refgen-regulator"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,qcs8300-refgen-regulator","qcom,sa8775p-refgen-regulator","qcom,sc7280-refgen-regulator","qcom,sc8280xp-refgen-regulator","qcom,sm6350-refgen-regulator","qcom,sm6375-refgen-regulator","qcom,sm8350-refgen-regulator"Item 2
Exact value (
const):"qcom,sm8250-refgen-regulator"
Rule 3
Allowed values (
enum):"qcom,sdm845-refgen-regulator","qcom,sm8250-refgen-regulator"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
regulator@162f000 {
compatible = "qcom,sm8250-refgen-regulator";
reg = <0x0162f000 0x84>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
QCOM SMD RPM REGULATOR
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Qualcomm RPM over SMD regulator is modelled as a subdevice of the RPM. Because SMD is used as the communication transport mechanism, the RPM resides as a subnode of the SMD. As such, the SMD-RPM regulator requires that the SMD and RPM nodes be present. Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml for information pertaining to the SMD node. Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml for information regarding the RPM node. The regulator node houses sub-nodes for each regulator within the device. Each sub-node is identified using the node's name, with valid values listed for each of the pmics below. For mp5496, s1, s2, l2, l5 For pm2250, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22 For pm6125 s1, s2, s3, s4, s5, s6, s7, s8, l1, l2, l3, l5, l6, l7, l8, l9, l10, l22, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24 For pm660, s1, s2, s3, s4, s5, s6, l1, l2, l3, l5, l6, l7, l8, l9, l10, l22, l12, l13, l14, l15, l16, l17, l18, l19 For pm660l s1, s2, s3, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, bob For pm8226, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, l25, l26, l27, l28, lvs1 For pm8841, s1, s2, s3, s4, s5, s6, s7, s8 For pm8909, s1, s2, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l17, l18 For pm8916, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18 For pm8937, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23 For pm8941, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, lvs1, lvs2, lvs3, 5vs1, 5vs2 For pm8950 and pm8953, s1, s2, s3, s4, s5, s6, s7, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23 For pm8994, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, l25, l26, l27, l28, l29, l30, l31, l32, lvs1, lvs2 For pm8998, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, l25, l26, l27, l28, lvs1, lvs2 For pma8084, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, l25, l26, l27, lvs1, lvs2, lvs3, lvs4, 5vs1 For pmi8994, s1, s2, s3, boost-bypass For pmi8998, bob For pmr735a, s1, s2, s3, l1, l2, l3, l4, l5, l6, l7 For pms405, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13
Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,rpm-mp5496-regulators", "qcom,rpm-pm2250-regulators", "qcom,rpm-pm6125-regulators", "qcom,rpm-pm660-regulators", "qcom,rpm-pm660l-regulators", "qcom,rpm-pm8226-regulators", "qcom,rpm-pm8841-regulators", "qcom,rpm-pm8909-regulators", "qcom,rpm-pm8916-regulators", "qcom,rpm-pm8937-regulators", "qcom,rpm-pm8941-regulators", "qcom,rpm-pm8950-regulators", "qcom,rpm-pm8953-regulators", "qcom,rpm-pm8994-regulators", "qcom,rpm-pm8998-regulators", "qcom,rpm-pma8084-regulators", "qcom,rpm-pmi8994-regulators", "qcom,rpm-pmi8998-regulators", "qcom,rpm-pmr735a-regulators", "qcom,rpm-pms405-regulators"
Properties matching a name pattern (patternProperties) #
.*-supply$ — name matches this regular expression #
Input supply phandle(s) for this node
^((s|l|lvs|5vs)[0-9]*)|(boost-bypass)|(bob)$ — name matches this regular expression #
List of regulators and its properties
Shared schema rule ($ref): regulator.yaml#
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.
Required in this object (required): "compatible"
Examples (examples) #
pm8941-regulators {
compatible = "qcom,rpm-pm8941-regulators";
vdd_l13_l20_l23_l24-supply = <&pm8941_boost>;
pm8941_s3: s3 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
pm8941_boost: s4 {
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
pm8941_l20: l20 {
regulator-min-microvolt = <2950000>;
regulator-max-microvolt = <2950000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm SPMI Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom,spmi-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Robert Marko <robimarko@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,pm6125-regulators", "qcom,pm660-regulators", "qcom,pm660l-regulators", "qcom,pm8004-regulators", "qcom,pm8005-regulators", "qcom,pm8019-regulators", "qcom,pm8226-regulators", "qcom,pm8841-regulators", "qcom,pm8909-regulators", "qcom,pm8916-regulators", "qcom,pm8937-regulators", "qcom,pm8941-regulators", "qcom,pm8950-regulators", "qcom,pm8994-regulators", "qcom,pma8084-regulators", "qcom,pmi8994-regulators", "qcom,pmp8074-regulators", "qcom,pms405-regulators"
qcom,saw-reg — not listed as required here #
Reference to syscon node defining the SAW registers
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Properties matching a name pattern (patternProperties) #
^(5vs[1-2]|(l|s)[1-9][0-9]?|lvs[1-4])$ — name matches this regular expression #
List of regulators and its properties
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) #
qcom,ocp-max-retries — not listed as required here
Maximum number of times to try toggling a voltage switch off and back on as a result of consecutive over current events
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
qcom,ocp-retry-delay — not listed as required here
Time to delay in milliseconds between each voltage switch toggle after an over current event takes place
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
qcom,pin-ctrl-enable — not listed as required here
Bit mask specifying which hardware pins should be used to enable the regulator, if any. Supported bits are 0 = ignore all hardware enable signals BIT(0) = follow HW0_EN signal BIT(1) = follow HW1_EN signal BIT(2) = follow HW2_EN signal BIT(3) = follow HW3_EN signal
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
qcom,pin-ctrl-hpm — not listed as required here
Bit mask specifying which hardware pins should be used to force the regulator into high power mode, if any. Supported bits are 0 = ignore all hardware enable signals BIT(0) = follow HW0_EN signal BIT(1) = follow HW1_EN signal BIT(2) = follow HW2_EN signal BIT(3) = follow HW3_EN signal BIT(4) = follow PMIC awake state
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
qcom,vs-soft-start-strength — not listed as required here
This property sets the soft start strength for voltage switch type regulators. Supported values are 0 = 0.05 uA 1 = 0.25 uA 2 = 0.55 uA 3 = 0.75 uA
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
qcom,saw-slave — not listed as required here
SAW controlled gang slave. Will not be configured.
Value type (type): "boolean"
qcom,saw-leader — not listed as required here
SAW controlled gang leader. Will be configured as SAW regulator.
Value type (type): "boolean"
Required in this object (required): "compatible"
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)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l1_l7_l17_l18-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l2_l3_l4-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l5_l15_l19_l20_l21_l22-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l6_l8-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l9_l11-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l10_l13_l14-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l12_l16-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l23_l24-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_s[1-8]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l15_l16_l17_l18_l19-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l1_l6_l7-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l2_l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l5-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l8_l9_l10_l11_l12_l13_l14-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_s[1-6]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l1_l9_l10-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l2-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l3_l5_l7_l8-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l4_l6-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_s[1-5]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^vdd_s[25]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^vdd_s[1-4]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l1-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l2_l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l4_l5_l6-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l7_l8_l11-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l9-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l10-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l12-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l13_l14-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_s[1-4]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l10_l11_l13-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l12_l14-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l15_l16_l17_l18-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l19_l20_l21_l22_l23_l28-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l1_l2_l4_l5-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l25-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l3_l24_l26-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l6_l7_l8_l9_l27-supply— not listed as required here
true— No constraints added by this property rule.
vdd_lvs1-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_s[1-5]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 8 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^vdd_s[1-8]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 9 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_s1-supply— not listed as required here
true— No constraints added by this property rule.
vdd_s2-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l1-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l2_l5-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l3_l6_l10-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l4_l7-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l8_l11_l15_l18-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l9_l12_l14_l17-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l13-supply— not listed as required here
true— No constraints added by this property rule.
Rule 10 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l1_l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l4_l5_l6-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l8_l11_l14_l15_l16-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l9_l10_l12_l13_l17_l18-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_l[27]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd_s[1-4]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 11 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereArray item rules (
items)Item 1
Over-current protection interrupt for 5V S1
Item 2
Over-current protection interrupt for 5V S2
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"ocp-5vs1"Item 2
Exact value (
const):"ocp-5vs2"
vdd_l13_l20_l23_l24-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l1_l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l21-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l2_lvs_1_2_3-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l4_l11-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l5_l7-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l6_l12_l14_l15-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l8_l16_l18_19-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l9_l10_l17_l22-supply— not listed as required here
true— No constraints added by this property rule.
vin_5vs-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_s[1-3]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 12 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l1_l19-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l20_l21-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l2_l23-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l4_l5_l6_l7_l16-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l8_l11_l12_l17_l22-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l9_l10_l13_l14_l15_l18-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_s[1-6]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 13 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l1_l19-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l20-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l21-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l2_l23-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l3-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l4_l5_l6_l7_l16-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l8_l11_l12_l17_l22-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l9_l10_l13_l14_l15_l18-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_s[1-6]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 14 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l1-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l13_l19_l23_l24-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l14_l15-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l17_l29-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l20_l21-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l25-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l2_l26_l28-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l3_l11-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l4_l27_l31-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l5_l7-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l6_l12_l32-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l8_l16_l30-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l9_l10_l18_l22-supply— not listed as required here
true— No constraints added by this property rule.
vdd_lvs_1_2-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_s[1-9][0-2]?-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 15 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l1_l11-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l2_l3_l4_l27-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l5_l7-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l6_l12_l14_l15_l26-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l8-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l9_l10_l13_l20_l23_l24-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l16_l25-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l17-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l18-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l19-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l21-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l22-supply— not listed as required here
true— No constraints added by this property rule.
vdd_lvs1_2-supply— not listed as required here
true— No constraints added by this property rule.
vdd_lvs3_4-supply— not listed as required here
true— No constraints added by this property rule.
vdd_5vs1-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_s([1-9]|1[0-2])-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 16 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l1-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_s[1-3]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 17 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_l10_l11_l12_l13-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l1_l2-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l3_l8-supply— not listed as required here
true— No constraints added by this property rule.
vdd_l5_l6_l15-supply— not listed as required here
true— No constraints added by this property rule.Properties matching a name pattern (
patternProperties)
^vdd_l[479]-supply$— name matches this regular expression
true— No constraints added by this property rule.
^vdd_s[1-5]-supply$— name matches this regular expression
true— No constraints added by this property rule.
Rule 18 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
vdd_s3-supply— not listed as required here
true— No constraints added by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
regulators {
compatible = "qcom,pm8941-regulators";
vdd_l1_l3-supply = <&s1>;
s1: s1 {
regulator-min-microvolt = <1300000>;
regulator-max-microvolt = <1400000>;
};
l1: l1 {
regulator-min-microvolt = <1225000>;
regulator-max-microvolt = <1300000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
The Qualcomm PMIC VBUS output regulator driver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom,usb-vbus-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wesley Cheng <quic_wcheng@quicinc.com>"
This regulator driver controls the VBUS output by the Qualcomm PMIC. This regulator will be enabled in situations where the device is required to provide power to the connected peripheral.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,pm4125-vbus-reg","qcom,pm6150-vbus-reg","qcom,pm7250b-vbus-reg","qcom,pmi632-vbus-reg"Item 2
Exact value (
const):"qcom,pm8150b-vbus-reg"
reg — required here #
Maximum number of items (maxItems): 1
VBUS output base address
Required in this object (required): "compatible", "reg", "regulator-min-microamp", "regulator-max-microamp"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
pmic {
#address-cells = <1>;
#size-cells = <0>;
usb-vbus-regulator@1100 {
compatible = "qcom,pm8150b-vbus-reg";
reg = <0x1100>;
regulator-min-microamp = <500000>;
regulator-max-microamp = <3000000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Qualcomm Technologies, Inc. WCN3990 PMU Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom,wcn3990-pmu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>"
The WCN3990 package contains discrete modules for WLAN and Bluetooth. They are powered by the Power Management Unit (PMU) that takes inputs from the host and provides LDO outputs. This document describes this module.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,wcn3950-pmu", "qcom,wcn3988-pmu", "qcom,wcn3990-pmu", "qcom,wcn3991-pmu", "qcom,wcn3998-pmu"
vddio-supply — required here #
VDD_IO supply regulator handle
vddxo-supply — required here #
VDD_XTAL supply regulator handle
vddrf-supply — required here #
VDD_RF supply regulator handle
vddch0-supply — required here #
chain 0 supply regulator handle
vddch1-supply — not listed as required here #
chain 1 supply regulator handle
swctrl-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO line indicating the state of the clock supply to the BT module
clocks — not listed as required here #
Maximum number of items (maxItems): 1
Reference clock handle
regulators — required here #
Value type (type): "object"
LDO outputs of the PMU
Properties matching a name pattern (patternProperties) #
^ldo[0-9]$ — name matches this regular expression
Shared schema rule ($ref): regulator.yaml#
Value type (type): "object"
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.
Required in this object (required): "compatible", "regulators", "vddio-supply", "vddxo-supply", "vddrf-supply", "vddch0-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
pmu {
compatible = "qcom,wcn3990-pmu";
vddio-supply = <&vreg_io>;
vddxo-supply = <&vreg_xo>;
vddrf-supply = <&vreg_rf>;
vddch0-supply = <&vreg_ch0>;
regulators {
vreg_pmu_io: ldo0 {
regulator-name = "vreg_pmu_io";
};
vreg_pmu_xo: ldo1 {
regulator-name = "vreg_pmu_xo";
};
vreg_pmu_rf: ldo2 {
regulator-name = "vreg_pmu_rf";
};
vreg_pmu_ch0: ldo3 {
regulator-name = "vreg_pmu_ch0";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm's LAB(LCD AMOLED Boost)/IBB(Inverting Buck Boost) Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom-labibb-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sumit Semwal <sumit.semwal@linaro.org>"
LAB can be used as a positive boost power supply and IBB can be used as a negative boost power supply for display panels. Currently implemented for pmi8998.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"qcom,pmi8998-lab-ibb"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,pmi8998-lab-ibb"
lab — not listed as required here #
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) #
qcom,soft-start-us — not listed as required here
Regulator soft start time in microseconds.
Allowed values (enum): 200, 400, 600, 800
Default value (default): 200
interrupts — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Short-circuit and over-current interrupts for lab.
interrupt-names — required here
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):"sc-err"
Item 2
Exact value (
const):"ocp"
Required in this object (required): "interrupts", "interrupt-names"
ibb — not listed as required here #
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) #
qcom,discharge-resistor-kohms — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Discharge resistor value in KiloOhms.
Allowed values (enum): 300, 64, 32, 16
Default value (default): 300
interrupts — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Short-circuit and over-current interrupts for ibb.
interrupt-names — required here
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):"sc-err"
Item 2
Exact value (
const):"ocp"
Required in this object (required): "interrupts", "interrupt-names"
Required in this object (required): "compatible"
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>
labibb {
compatible = "qcom,pmi8998-lab-ibb";
lab {
interrupts = <0x3 0xde 0x1 IRQ_TYPE_EDGE_RISING>,
<0x3 0xde 0x0 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "sc-err", "ocp";
};
ibb {
interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>,
<0x3 0xdc 0x0 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "sc-err", "ocp";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
RaspberryPi 5" and 7" display V2 MCU-based regulator/backlight controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/raspberrypi,7inch-touchscreen-panel-regulator-v2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marek Vasut <marek.vasut+renesas@mailbox.org>"
The RaspberryPi 5" and 7" display 2 has an MCU-based regulator, PWM backlight and GPIO controller on the PCB, which is used to turn the display unit on/off and control the backlight.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "raspberrypi,touchscreen-panel-regulator-v2"
reg — required here #
Maximum number of items (maxItems): 1
gpio-controller — required here #
true — No constraints added by this property rule.
#gpio-cells — required here #
Exact value (const): 2
The first cell is the pin number, and the second cell is used to specify the gpio polarity (GPIO_ACTIVE_HIGH or GPIO_ACTIVE_LOW).
#pwm-cells — required here #
Exact value (const): 3
See ../../pwm/pwm.yaml for description of the cell formats.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "gpio-controller", "#gpio-cells", "#pwm-cells"
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@45 {
compatible = "raspberrypi,touchscreen-panel-regulator-v2";
reg = <0x45>;
gpio-controller;
#gpio-cells = <2>;
#pwm-cells = <3>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
RaspberryPi 7" display ATTINY88-based regulator/backlight controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/raspberrypi,7inch-touchscreen-panel-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marek Vasut <marex@denx.de>"
The RaspberryPi 7" display has an ATTINY88-based regulator/backlight controller on the PCB, which is used to turn the display unit on/off and control the backlight.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "raspberrypi,7inch-touchscreen-panel-regulator"
reg — required here #
Maximum number of items (maxItems): 1
gpio-controller — not listed as required here #
true — No constraints added by this property rule.
#gpio-cells — not listed as required here #
Exact value (const): 2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@45 {
compatible = "raspberrypi,7inch-touchscreen-panel-regulator";
reg = <0x45>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Regulator output connector
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/regulator-output.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Zev Weiss <zev@bewilderbeest.net>"
This describes a power output connector supplied by a regulator, such as a power outlet on a power distribution unit (PDU). The connector may be standalone or merely one channel or set of pins within a ganged physical connector carrying multiple independent power outputs.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "regulator-output"
vout-supply — required here #
Phandle of the regulator supplying the output.
Required in this object (required): "compatible", "vout-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
output {
compatible = "regulator-output";
vout-supply = <&output_reg>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Voltage/Current Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Liam Girdwood <lgirdwood@gmail.com>", "Mark Brown <broonie@kernel.org>"
Properties and child nodes (properties) #
regulator-name — not listed as required here #
A string used as a descriptive name for regulator outputs
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
regulator-min-microvolt — not listed as required here #
smallest voltage consumers may set
regulator-max-microvolt — not listed as required here #
largest voltage consumers may set
regulator-microvolt-offset — not listed as required here #
Offset applied to voltages to compensate for voltage drops
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
regulator-min-microamp — not listed as required here #
smallest current consumers may set
regulator-max-microamp — not listed as required here #
largest current consumers may set
regulator-input-current-limit-microamp — not listed as required here #
maximum input current regulator allows
regulator-power-budget-milliwatt — not listed as required here #
power budget of the regulator
regulator-always-on — not listed as required here #
boolean, regulator should never be disabled
Value type (type): "boolean"
regulator-boot-on — not listed as required here #
bootloader/firmware enabled regulator. It's expected that this regulator was left on by the bootloader. If the bootloader didn't leave it on then OS should turn it on at boot but shouldn't prevent it from being turned off later. This property is intended to only be used for regulators where software cannot read the state of the regulator.
Value type (type): "boolean"
regulator-allow-bypass — not listed as required here #
allow the regulator to go into bypass mode
Value type (type): "boolean"
regulator-allow-set-load — not listed as required here #
allow the regulator performance level to be configured
Value type (type): "boolean"
regulator-ramp-delay — not listed as required here #
ramp delay for regulator(in uV/us) For hardware which supports disabling ramp rate, it should be explicitly initialised to zero (regulator-ramp-delay = <0>) for disabling ramp delay.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
regulator-enable-ramp-delay — not listed as required here #
The time taken, in microseconds, for the supply rail to reach the target voltage, plus/minus whatever tolerance the board design requires. This property describes the total system ramp time required due to the combination of internal ramping of the regulator itself, and board design issues such as trace capacitance and load on the supply.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
regulator-settling-time-us — not listed as required here #
Settling time, in microseconds, for voltage change if regulator have the constant time for any level voltage change. This is useful when regulator have exponential voltage change.
regulator-settling-time-up-us — not listed as required here #
Settling time, in microseconds, for voltage increase if the regulator needs a constant time to settle after voltage increases of any level. This is useful for regulators with exponential voltage changes.
regulator-settling-time-down-us — not listed as required here #
Settling time, in microseconds, for voltage decrease if the regulator needs a constant time to settle after voltage decreases of any level. This is useful for regulators with exponential voltage changes.
regulator-soft-start — not listed as required here #
Enable soft start so that voltage ramps slowly
Value type (type): "boolean"
regulator-initial-mode — not listed as required here #
initial operating mode. The set of possible operating modes depends on the capabilities of every hardware so each device binding documentation explains which values the regulator supports.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
regulator-allowed-modes — not listed as required here #
list of operating modes that software is allowed to configure for the regulator at run-time. Elements may be specified in any order. The set of possible operating modes depends on the capabilities of every hardware so each device binding document explains which values the regulator supports.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
regulator-system-load — not listed as required here #
Load in uA present on regulator that is not captured by any consumer request.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
regulator-pull-down — not listed as required here #
Enable pull down resistor when the regulator is disabled.
Value type (type): "boolean"
system-critical-regulator — not listed as required here #
Set if the regulator is critical to system stability or functionality.
Value type (type): "boolean"
regulator-over-current-protection — not listed as required here #
Enable over current protection.
Value type (type): "boolean"
regulator-oc-protection-microamp — not listed as required here #
Set over current protection limit. This is a limit where hardware performs emergency shutdown. Zero can be passed to disable protection and value '1' indicates that protection should be enabled but limit setting can be omitted.
regulator-oc-error-microamp — not listed as required here #
Set over current error limit. This is a limit where part of the hardware probably is malfunctional and damage prevention is requested. Zero can be passed to disable error detection and value '1' indicates that detection should be enabled but limit setting can be omitted.
regulator-oc-warn-microamp — not listed as required here #
Set over current warning limit. This is a limit where hardware is assumed still to be functional but approaching limit where it gets damaged. Recovery actions should be initiated. Zero can be passed to disable detection and value '1' indicates that detection should be enabled but limit setting can be omitted.
regulator-ov-protection-microvolt — not listed as required here #
Set over voltage protection limit. This is a limit where hardware performs emergency shutdown. Zero can be passed to disable protection and value '1' indicates that protection should be enabled but limit setting can be omitted. Limit is given as microvolt offset from voltage set to regulator.
regulator-ov-error-microvolt — not listed as required here #
Set over voltage error limit. This is a limit where part of the hardware probably is malfunctional and damage prevention is requested Zero can be passed to disable error detection and value '1' indicates that detection should be enabled but limit setting can be omitted. Limit is given as microvolt offset from voltage set to regulator.
regulator-ov-warn-microvolt — not listed as required here #
Set over voltage warning limit. This is a limit where hardware is assumed still to be functional but approaching limit where it gets damaged. Recovery actions should be initiated. Zero can be passed to disable detection and value '1' indicates that detection should be enabled but limit setting can be omitted. Limit is given as microvolt offset from voltage set to regulator.
regulator-uv-protection-microvolt — not listed as required here #
Set under voltage protection limit. This is a limit where hardware performs emergency shutdown. Zero can be passed to disable protection and value '1' indicates that protection should be enabled but limit setting can be omitted. Limit is given as microvolt offset from voltage set to regulator.
regulator-uv-error-microvolt — not listed as required here #
Set under voltage error limit. This is a limit where part of the hardware probably is malfunctional and damage prevention is requested Zero can be passed to disable error detection and value '1' indicates that detection should be enabled but limit setting can be omitted. Limit is given as microvolt offset from voltage set to regulator.
regulator-uv-warn-microvolt — not listed as required here #
Set under voltage warning limit. This is a limit where hardware is assumed still to be functional but approaching limit where it gets damaged. Recovery actions should be initiated. Zero can be passed to disable detection and value '1' indicates that detection should be enabled but limit setting can be omitted. Limit is given as microvolt offset from voltage set to regulator.
regulator-uv-less-critical-window-ms — not listed as required here #
Specifies the time window (in milliseconds) following a critical under-voltage event during which the system can continue to operate safely while performing less critical operations. This property provides a defined duration before a more severe reaction to the under-voltage event is needed, allowing for certain non-urgent actions to be carried out in preparation for potential power loss.
regulator-temp-protection-kelvin — not listed as required here #
Set over temperature protection limit. This is a limit where hardware performs emergency shutdown. Zero can be passed to disable protection and value '1' indicates that protection should be enabled but limit setting can be omitted.
regulator-temp-error-kelvin — not listed as required here #
Set over temperature error limit. This is a limit where part of the hardware probably is malfunctional and damage prevention is requested Zero can be passed to disable error detection and value '1' indicates that detection should be enabled but limit setting can be omitted.
regulator-temp-warn-kelvin — not listed as required here #
Set over temperature warning limit. This is a limit where hardware is assumed still to be functional but approaching limit where it gets damaged. Recovery actions should be initiated. Zero can be passed to disable detection and value '1' indicates that detection should be enabled but limit setting can be omitted.
regulator-active-discharge — not listed as required here #
tristate, enable/disable active discharge of regulators. The values are: 0: Disable active discharge. 1: Enable active discharge. Absence of this property will leave configuration to default.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
regulator-coupled-with — not listed as required here #
Regulators with which the regulator is coupled. The linkage is 2-way - all coupled regulators should be linked with each other. A regulator should not be coupled with its supplier.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Maximum number of items (
maxItems):1
regulator-coupled-max-spread — not listed as required here #
Array of maximum spread between voltages of coupled regulators in microvolts, each value in the array relates to the corresponding couple specified by the regulator-coupled-with property.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
regulator-max-step-microvolt — not listed as required here #
Maximum difference between current and target voltages that can be changed safely in a single step.
Properties matching a name pattern (patternProperties) #
.*-supply$ — name matches this regular expression #
Input supply phandle(s) for this node
^regulator-state-(standby|mem|disk)$ — name matches this regular expression #
Value type (type): "object"
sub-nodes for regulator state in Standby, Suspend-to-RAM, and Suspend-to-DISK modes. Equivalent with standby, mem, and disk Linux sleep states.
Properties and child nodes (properties) #
regulator-on-in-suspend — not listed as required here
regulator should be on in suspend state.
Value type (type): "boolean"
regulator-off-in-suspend — not listed as required here
regulator should be off in suspend state.
Value type (type): "boolean"
regulator-suspend-min-microvolt — not listed as required here
minimum voltage may be set in suspend state.
regulator-suspend-max-microvolt — not listed as required here
maximum voltage may be set in suspend state.
regulator-suspend-microvolt — not listed as required here
the default voltage which regulator would be set in suspend. This property is now deprecated, instead setting voltage for suspend mode via the API which regulator driver provides is recommended.
Deprecated (deprecated): true
regulator-changeable-in-suspend — not listed as required here
whether the default voltage and the regulator on/off in suspend can be changed in runtime.
Value type (type): "boolean"
regulator-mode — not listed as required here
operating mode in the given suspend state. The set of possible operating modes depends on the capabilities of every hardware so the valid modes are documented on each regulator device tree binding document.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Examples (examples) #
xyzreg: regulator {
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <2500000>;
regulator-always-on;
vin-supply = <&vin>;
regulator-state-mem {
regulator-on-in-suspend;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Renesas RAA215300 Power Management Integrated Circuit (PMIC)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/renesas,raa215300.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>"
The RAA215300 is a high-performance, low-cost 9-channel PMIC designed for 32-bit and 64-bit MCU and MPU applications. It supports DDR3, DDR3L, DDR4, and LPDDR4 memory power requirements. The internally compensated regulators, built-in Real-Time Clock (RTC), 32kHz crystal oscillator, and coin cell battery charger provide a highly integrated, small footprint power solution ideal for System-On-Module (SOM) applications. A spread spectrum feature provides an ease-of-use solution for noise-sensitive audio or RF applications.
This device exposes two devices via I2C. One for the integrated RTC IP, and one for everything else.
Link to datasheet: https://www.renesas.com/in/en/products/power-power-management/multi-channel-power-management-ics-pmics/ssdsoc-power-management-ics-pmic-and-pmus/raa215300-high-performance-9-channel-pmic-supporting-ddr-memory-built-charger-and-rtc
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "renesas,raa215300"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"main"
Item 2
Exact value (
const):"rtc"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
The clocks are optional. The RTC is disabled, if no clocks are provided(either xin or clkin).
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Use xin, if connected to an external crystal. Use clkin, if connected to an external clock signal.
Allowed values (enum): "xin", "clkin"
Required in this object (required): "compatible", "reg", "reg-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
/* 32.768kHz crystal */
x2: x2-clock {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <32768>;
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
raa215300: pmic@12 {
compatible = "renesas,raa215300";
reg = <0x12>, <0x6f>;
reg-names = "main", "rtc";
clocks = <&x2>;
clock-names = "xin";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Richtek RT4801 Display Bias regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rt4801-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
Regulator nodes should be named to DSVP and DSVN. 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.richtek.com/assets/product_file/RT4801H/DS4801H-00.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rt4801"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
GPIOs to use to enable DSVP/DSVN regulator. The first one is ENP to enable DSVP, and second one is ENM to enable DSVN. Number of GPIO in the array list could be 1 or 2. If only one gpio is specified, only one gpio used to control ENP/ENM. Else if both are specified, DSVP/DSVN could be controlled individually. If this property not specified, treat both as always-on regulators. Property is deprecated. Use enable-gpios in each regulator.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Deprecated (deprecated): true
Properties matching a name pattern (patternProperties) #
^DSV(P|N)$ — 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 for single display bias regulator.
Properties and child nodes (properties) #
enable-gpios — not listed as required here
GPIO to use to enable DSVP/DSVN regulator. One GPIO can be configured for controlling both regulators. If this property not specified for any regulator, treat both as always-on regulators.
Maximum number of items (maxItems): 1
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>;
rt4801@73 {
compatible = "richtek,rt4801";
reg = <0x73>;
dsvp: DSVP {
regulator-name = "rt4801,dsvp";
regulator-min-microvolt = <4000000>;
regulator-max-microvolt = <6000000>;
regulator-boot-on;
enable-gpios = <&gpio26 2 0>;
};
dsvn: DSVN {
regulator-name = "rt4801,dsvn";
regulator-min-microvolt = <4000000>;
regulator-max-microvolt = <6000000>;
regulator-boot-on;
enable-gpios = <&gpio26 3 0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Richtek RT4803 Boost Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rt4803.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
RT4803 is a boost regulator that's designed to provide the minimum output voltage, even if the input voltage is lower than the required voltage. It supports boost and auto bypass mode that depends on the difference between the input and output voltage. If the input is lower than the output, mode will transform to boost mode. Otherwise, turn on bypass switch to enter bypass mode.
Datasheet is available at https://www.richtek.com/assets/product_file/RT4803/DS4803-03.pdf https://www.richtek.com/assets/product_file/RT4803A/DS4803A-06.pdf
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rt4803"
reg — required here #
Maximum number of items (maxItems): 1
richtek,vsel-active-high — not listed as required here #
Value type (type): "boolean"
Specify the VSEL register group is using when system is active
regulator-allowed-modes — not listed as required here #
Available operating mode
1: Auto PFM/PWM
2: Force PWM
Array item rules (items) #
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@75 {
compatible = "richtek,rt4803";
reg = <0x75>;
richtek,vsel-active-high;
regulator-name = "rt4803-regulator";
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <4400000>;
regulator-allowed-modes = <1 2>;
regulator-always-on;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Richtek RT4831 Display Bias Voltage Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rt4831-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
RT4831 is a multifunctional device that can provide power to the LCD display and LCD backlight.
For Display Bias Voltage DSVP and DSVN, the output range is about 4V to 6.5V. It is sufficient to meet the current LCD power requirement.
DSVLCM is a boost regulator in IC internal as DSVP and DSVN input power. Its voltage should be configured above 0.15V to 0.2V gap larger than the voltage needed for DSVP and DSVN. Too much voltage gap could improve the voltage drop from the heavy loading scenario. But it also make the power efficiency worse. It's a trade-off.
Datasheet is available at https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf
Properties matching a name pattern (patternProperties) #
^DSV(LCM|P|N)$ — 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 for single Display Bias Voltage regulator.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Richtek RT5133 PMIC Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rt5133.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ShihChia Chang <jeff_chang@richtek.com>"
The RT5133 is an integrated Power Management IC for portable devices, featuring 8 LDOs and 3 GPOs. It allows programmable output voltages, soft-start times, and protections via I2C. GPO operation depends on LDO1 voltage.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rt5133"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
wakeup-source — not listed as required here #
true — No constraints added by this property rule.
interrupts — required here #
Maximum number of items (maxItems): 1
gpio-controller — not listed as required here #
true — No constraints added by this property rule.
#gpio-cells — not listed as required here #
Exact value (const): 2
richtek,oc-shutdown-all — not listed as required here #
Value type (type): "boolean"
Controls the behavior when any LDO (Low Dropout Regulator) enters an Over Current state. If set to true, all LDO channels will be shut down. If set to false, only the affected LDO channel will shut down itself.
richtek,pgb-shutdown-all — not listed as required here #
Value type (type): "boolean"
Controls the behavior when any LDO enters a Power Good Bad state. If set to true, all LDO channels will be shut down. If set to false, only the affected LDO channel will shut down itself.
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 and child nodes (properties) #
base — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties for the base regulator, which is the top-level supply for LDO1 to LDO6. It functions merely as an on/off switch rather than regulating voltages. If none of LDO1 to LDO6 are in use, switching off the base will reduce the quiescent current.
Required in this object (required): "regulator-name"
Properties matching a name pattern (patternProperties) #
^ldo([1-6])$ — 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 for single LDO regulator
Required in this object (required): "regulator-name"
^ldo([7-8])$ — 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 for single LDO regulator
Properties and child nodes (properties)
vin-supply — required here
true — No constraints added by this property rule.
Required in this object (required): "regulator-name", "vin-supply"
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>
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@18 {
compatible = "richtek,rt5133";
reg = <0x18>;
wakeup-source;
interrupts-extended = <&gpio 0 IRQ_TYPE_EDGE_FALLING>;
enable-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
gpio-controller;
#gpio-cells = <2>;
richtek,oc-shutdown-all;
richtek,pgb-shutdown-all;
regulators {
base {
regulator-name = "base";
};
pvin78: ldo1 {
regulator-name = "ldo1";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3199998>;
regulator-active-discharge = <1>;
};
ldo2 {
regulator-name = "ldo2";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3200000>;
regulator-active-discharge = <1>;
};
ldo3 {
regulator-name = "ldo3";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3000000>;
regulator-active-discharge = <1>;
};
ldo4 {
regulator-name = "ldo4";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3000000>;
regulator-active-discharge = <1>;
};
ldo5 {
regulator-name = "ldo5";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3000000>;
regulator-active-discharge = <1>;
};
ldo6 {
regulator-name = "ldo6";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3000000>;
regulator-active-discharge = <1>;
};
ldo7 {
regulator-name = "ldo7";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1200000>;
regulator-active-discharge = <1>;
vin-supply = <&pvin78>;
};
ldo8 {
regulator-name = "ldo8";
regulator-min-microvolt = <855000>;
regulator-max-microvolt = <1200000>;
regulator-active-discharge = <1>;
vin-supply = <&pvin78>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Richtek RT5190A PMIC Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rt5190a-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
The RT5190A integrates 1 channel buck controller, 3 channels high efficiency synchronous buck converters, 1 LDO, I2C control interface and peripheral logical control.
It also supports mute AC OFF depop sound and quick setting storage while input power is removed.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rt5190a"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
vin2-supply — not listed as required here #
phandle to buck2 input voltage.
vin3-supply — not listed as required here #
phandle to buck3 input voltage.
vin4-supply — not listed as required here #
phandle to buck4 input voltage.
vinldo-supply — not listed as required here #
phandle to ldo input voltage
richtek,mute-enable — not listed as required here #
The mute function uses 'mutein', 'muteout', and 'vdet' pins as the control signal. When enabled, The normal behavior is to bypass the 'mutein' signal 'muteout'. But if the power source removal is detected from 'vdet', whatever the 'mutein' signal is, it will pull down the 'muteout' to force speakers mute. this function is commonly used to prevent the speaker pop noise during AC power turned off in the modern TV system design.
Value type (type): "boolean"
regulators — required here #
Value type (type): "object"
Properties matching a name pattern (patternProperties) #
^buck[1-4]$|^ldo$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
regulator description for buck1 to buck4, and ldo.
Properties and child nodes (properties)
regulator-allowed-modes — not listed as required here
buck operating mode, only buck1/4 support mode operating. 0: auto mode 1: force pwm mode
Array item rules (items)
richtek,latchup-enable — not listed as required here
Value type (type): "boolean"
If specified, undervolt protection mode changes from the default hiccup to latchup.
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.
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) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/regulator/richtek,rt5190a-regulator.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@64 {
compatible = "richtek,rt5190a";
reg = <0x64>;
interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;
vin2-supply = <&rt5190_buck1>;
vin3-supply = <&rt5190_buck1>;
vin4-supply = <&rt5190_buck1>;
regulators {
rt5190_buck1: buck1 {
regulator-name = "rt5190a-buck1";
regulator-min-microvolt = <5090000>;
regulator-max-microvolt = <5090000>;
regulator-allowed-modes = <RT5190A_OPMODE_AUTO RT5190A_OPMODE_FPWM>;
regulator-boot-on;
};
buck2 {
regulator-name = "rt5190a-buck2";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <1400000>;
regulator-boot-on;
};
buck3 {
regulator-name = "rt5190a-buck3";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <1400000>;
regulator-boot-on;
};
buck4 {
regulator-name = "rt5190a-buck4";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <850000>;
regulator-allowed-modes = <RT5190A_OPMODE_AUTO RT5190A_OPMODE_FPWM>;
regulator-boot-on;
};
ldo {
regulator-name = "rt5190a-ldo";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-boot-on;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Richtek RT5739 Step-Down Buck Converter
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rt5739.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
The RT5739 is a step-down switching buck converter that can deliver the programmable output voltage from 300mV to 1300mV with wide input voltage supply of 2.5V to 5.5V. It can provide up to 3.5A continuous current capability at over 80% high efficiency.
The RT8092 is similar type buck converter. Compared to RT5739, it can offer up to 4A output current and more output voltage range to meet the application on most mobile products.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rt5733", "richtek,rt5739", "richtek,rt8092"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
richtek,vsel-active-high — not listed as required here #
If property is present, use the 'VSEL1' register group for buck control. Else, use the 'VSEL0' register group. This depends on external hardware 'VSEL' pin connection.
Value type (type): "boolean"
regulator-allowed-modes — not listed as required here #
buck allowed operating mode
0: Auto PFM/PWM mode
1: Forced PWM mode
Array item rules (items) #
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@50 {
compatible = "richtek,rt5739";
reg = <0x50>;
enable-gpios = <&gpio26 1 GPIO_ACTIVE_HIGH>;
richtek,vsel-active-high;
regulator-name = "richtek,rt5739-buck";
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1300000>;
regulator-allowed-modes = <0 1>;
regulator-boot-on;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Richtek RT5759 High Performance DCDC Converter
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rt5759-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
The RT5759 is a high-performance, synchronous step-down DC-DC converter that can deliver up to 9A output current from 3V to 6.5V input supply, The output voltage can be programmable with I2C controlled 7-Bit VID.
Datasheet is available at https://www.richtek.com/assets/product_file/RT5759/DS5759-00.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rt5759", "richtek,rt5759a"
reg — required here #
Maximum number of items (maxItems): 1
regulator-allowed-modes — not listed as required here #
buck allowed operating mode
0: auto mode (PSKIP: pulse skipping)
1: force pwm mode
Array item rules (items) #
richtek,watchdog-enable — not listed as required here #
enable the external watchdog reset pin listening
Value type (type): "boolean"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"richtek,rt5759"When the condition matches (
then) #Properties and child nodes (
properties)
richtek,watchdog-enable— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@62 {
compatible = "richtek,rt5759";
reg = <0x62>;
regulator-name = "rt5759-buck";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <1500000>;
regulator-boot-on;
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@62 {
compatible = "richtek,rt5759a";
reg = <0x62>;
regulator-name = "rt5759a-buck";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <1725000>;
regulator-boot-on;
richtek,watchdog-enable;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 60: example 1 for RT5759
Line 75: example 2 for RT5759A
Richtek RT6160 BuckBoost converter
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rt6160-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
The RT6160 is a high-efficiency buck-boost converter that can provide up to 3A output current from 2025mV to 5200mV. And it support the wide input voltage range from 2200mV to 5500mV.
Datasheet is available at https://www.richtek.com/assets/product_file/RT6160A/DS6160A-00.pdf
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rt6160"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
A connection of the 'enable' gpio line.
Maximum number of items (maxItems): 1
richtek,vsel-active-low — not listed as required here #
Used to indicate the 'vsel' pin active level. if not specified, use high active level as the default.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
rt6160@75 {
compatible = "richtek,rt6160";
reg = <0x75>;
enable-gpios = <&gpio26 2 0>;
regulator-name = "rt6160-buckboost";
regulator-min-microvolt = <2025000>;
regulator-max-microvolt = <5200000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Richtek RT6190 4-Switch BuckBoost controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rt6190.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
The RT6190 is 4-Switch BuckBoost controller designed for converting input voltage to output voltage that can be equal to, higher or lower than input voltage. It operates with wide input voltage range from 4.5V to 36V, and the output voltage can be set from 3V to 36V by external FB pin. It's commonly used for the application like as BuckBoost bus supply, docking station and USB power delivery product.
Datasheet is available at https://www.richtek.com/assets/product_file/RT6190/DS6190-02.pdf
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rt6190"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
wakeup-source — not listed as required here #
true — No constraints added by this property rule.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
regulator-allowed-modes — not listed as required here #
buck allowed operating mode
0: PSM mode (light load Power Saving Mode)
1: FCCM mode (Forced-CCM mode)
Maximum number of items (maxItems): 2
Array item rules (items) #
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@2c {
compatible = "richtek,rt6190";
reg = <0x2c>;
wakeup-source;
interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;
enable-gpios = <&gpio26 1 GPIO_ACTIVE_HIGH>;
regulator-name = "richtek,rt6190-buckboost";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <32000000>;
regulator-min-microamp = <306000>;
regulator-max-microamp = <12114000>;
regulator-allowed-modes = <0 1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Richtek RT6245 High Current Voltage Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rt6245-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
The RT6245 is a high-performance, synchronous step-down converter that can deliver up to 14A output current with an input supply voltage range of 4.5V to 17V.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rt6245"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
A connection of the chip 'enable' gpio line. If not provided, it will be treat as a default-on power.
Maximum number of items (maxItems): 1
richtek,oc-level-select — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Allowed values (enum): 0, 1, 2, 3
Over current level selection. Each respective value means the current limit 8A, 14A, 12A, 10A. If this property is missing then keep in in chip default.
richtek,ot-level-select — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Allowed values (enum): 0, 1, 2
Over temperature level selection. Each respective value means the degree 150'c, 130'c, 170'c. If this property is missing then keep in chip default.
richtek,pgdly-time-select — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Allowed values (enum): 0, 1, 2, 3
Power good signal delay time selection. Each respective value means the delay time 0us, 10us, 20us, 40us. If this property is missing then keep in chip default.
richtek,switch-freq-select — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Allowed values (enum): 0, 1, 2
Buck switch frequency selection. Each respective value means 400KHz, 800KHz, 1200KHz. If this property is missing then keep in chip default.
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
rt6245@34 {
compatible = "richtek,rt6245";
reg = <0x34>;
enable-gpios = <&gpio26 2 0>;
regulator-name = "rt6245-regulator";
regulator-min-microvolt = <437500>;
regulator-max-microvolt = <1387500>;
regulator-boot-on;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Richtek RTMV20 laser diode regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rtmv20-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
Richtek RTMV20 is a load switch current regulator that can supply up to 6A. It is used to drive laser diode. There're two signals for chip controls (Enable/Fail), Enable pin to turn chip on, and Fail pin as fault indication. There're still four pins for camera control, two inputs (strobe and vsync), the others for outputs (fsin1 and fsin2). Strobe input to start the current supply, vsync input from IR camera, and fsin1/fsin2 output for the optional.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "richtek,rtmv20"
reg — required here #
Maximum number of items (maxItems): 1
wakeup-source — required here #
true — No constraints added by this property rule.
interrupts — required here #
Maximum number of items (maxItems): 1
enable-gpios — required here #
A connection of the 'enable' gpio line.
Maximum number of items (maxItems): 1
richtek,ld-pulse-delay-us — not listed as required here #
load current pulse delay in microsecond after strobe pin pulse high.
Minimum value (minimum): 0
Maximum value (maximum): 100000
Default value (default): 0
richtek,ld-pulse-width-us — not listed as required here #
Load current pulse width in microsecond after strobe pin pulse high.
Minimum value (minimum): 0
Maximum value (maximum): 10000
Default value (default): 1200
richtek,fsin1-delay-us — not listed as required here #
Fsin1 pulse high delay in microsecond after vsync signal pulse high.
Minimum value (minimum): 0
Maximum value (maximum): 100000
Default value (default): 23000
richtek,fsin1-width-us — not listed as required here #
Fsin1 pulse high width in microsecond after vsync signal pulse high.
Minimum value (minimum): 40
Maximum value (maximum): 10000
Default value (default): 160
richtek,fsin2-delay-us — not listed as required here #
Fsin2 pulse high delay in microsecond after vsync signal pulse high.
Minimum value (minimum): 0
Maximum value (maximum): 100000
Default value (default): 23000
richtek,fsin2-width-us — not listed as required here #
Fsin2 pulse high width in microsecond after vsync signal pulse high.
Minimum value (minimum): 40
Maximum value (maximum): 10000
Default value (default): 160
richtek,es-pulse-width-us — not listed as required here #
Eye safety function pulse width limit in microsecond.
Minimum value (minimum): 0
Maximum value (maximum): 10000
Default value (default): 1200
richtek,es-ld-current-microamp — not listed as required here #
Eye safety function load current limit in microamp.
Minimum value (minimum): 0
Maximum value (maximum): 6000000
Default value (default): 3000000
richtek,lbp-level-microvolt — not listed as required here #
Low battery protection level in microvolt.
Minimum value (minimum): 2400000
Maximum value (maximum): 3700000
Default value (default): 2700000
richtek,lbp-enable — not listed as required here #
Low battery protection function enable control.
Value type (type): "boolean"
richtek,strobe-polarity-high — not listed as required here #
Strobe pin active polarity control.
Value type (type): "boolean"
richtek,vsync-polarity-high — not listed as required here #
Vsync pin active polarity control.
Value type (type): "boolean"
richtek,fsin-enable — not listed as required here #
Fsin function enable control.
Value type (type): "boolean"
richtek,fsin-output — not listed as required here #
Fsin function output control.
Value type (type): "boolean"
richtek,es-enable — not listed as required here #
Eye safety function enable control.
Value type (type): "boolean"
lsw — required here #
load switch current regulator description.
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "wakeup-source", "interrupts", "enable-gpios", "lsw"
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>;
rtmv20@34 {
compatible = "richtek,rtmv20";
reg = <0x34>;
wakeup-source;
interrupts-extended = <&gpio26 2 IRQ_TYPE_LEVEL_LOW>;
enable-gpios = <&gpio26 3 0>;
richtek,strobe-polarity-high;
richtek,vsync-polarity-high;
lsw {
regulator-name = "rtmv20,lsw";
regulator-min-microamp = <0>;
regulator-max-microamp = <6000000>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Richtek RTQ2134 SubPMIC Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rtq2134-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
The RTQ2134 is a multi-phase, programmable power management IC that integrates with four high efficient, synchronous step-down converter cores.
Datasheet is available at https://www.richtek.com/assets/product_file/RTQ2134-QA/DSQ2134-QA-01.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rtq2134"
reg — required here #
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
Properties matching a name pattern (patternProperties) #
^buck[1-3]$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
regulator description for buck[1-3].
Properties and child nodes (properties)
richtek,use-vsel-dvs — not listed as required here
Value type (type): "boolean"
If specified, buck will listen to 'vsel' pin for dvs config. Else, use dvs0 voltage by default.
richtek,uv-shutdown — not listed as required here
Value type (type): "boolean"
If specified, use shutdown as UV action. Else, hiccup by default.
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.
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>;
rtq2134@18 {
compatible = "richtek,rtq2134";
reg = <0x18>;
regulators {
buck1 {
regulator-name = "rtq2134-buck1";
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1850000>;
regulator-always-on;
richtek,use-vsel-dvs;
regulator-state-mem {
regulator-suspend-min-microvolt = <550000>;
regulator-suspend-max-microvolt = <550000>;
};
};
buck2 {
regulator-name = "rtq2134-buck2";
regulator-min-microvolt = <1120000>;
regulator-max-microvolt = <1120000>;
regulator-always-on;
richtek,use-vsel-dvs;
regulator-state-mem {
regulator-suspend-min-microvolt = <1120000>;
regulator-suspend-max-microvolt = <1120000>;
};
};
buck3 {
regulator-name = "rtq2134-buck3";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <600000>;
regulator-always-on;
richtek,use-vsel-dvs;
regulator-state-mem {
regulator-suspend-min-microvolt = <600000>;
regulator-suspend-max-microvolt = <600000>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Richtek RTQ2208 SubPMIC Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rtq2208.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alina Yu <alina_yu@richtek.com>"
RTQ2208 is a highly integrated power converter that offers functional safety dual multi-configurable synchronous buck converters and two LDOs.
Bucks support "regulator-allowed-modes" and "regulator-mode". The former defines the permitted switching operation in normal mode; the latter defines the operation in suspend to RAM mode.
No matter the RTQ2208 is configured to normal or suspend to RAM mode, there are two switching operation modes for all buck rails, automatic power saving mode (Auto mode) and forced continuous conduction mode (FCCM).
The definition of modes is in the datasheet which is available in below link
and their meaning is::
0 - Auto mode for power saving, which reducing the switching frequency at light load condition
to maintain high frequency.
1 - FCCM to meet the strict voltage regulation accuracy, which keeping constant switching frequency.
Datasheet will be available soon at https://www.richtek.com/assets/Products
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rtq2208"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
richtek,mtp-sel-high — not listed as required here #
Value type (type): "boolean"
vout register selection based on this boolean value. false - Using DVS0 register setting to adjust vout true - Using DVS1 register setting to adjust vout
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 matching a name pattern (patternProperties) #
^buck-[a-h]$ — 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.
description for buck-[a-h] regulator.
Properties and child nodes (properties)
regulator-allowed-modes — not listed as required here
two buck modes in different switching accuracy. 0 - Auto mode 1 - FCCM
Array item rules (items)
^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.
regulator description for ldo[1-2].
Properties and child nodes (properties)
richtek,fixed-microvolt — not listed as required here
Deprecated (deprecated): true
This property can be used to set a fixed operating voltage that lies outside the range of the regulator's adjustable mode.
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) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@10 {
compatible = "richtek,rtq2208";
reg = <0x10>;
interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;
richtek,mtp-sel-high;
regulators {
buck-a {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <2050000>;
regulator-allowed-modes = <0 1>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-mode = <1>;
};
};
buck-b {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <2050000>;
regulator-allowed-modes = <0 1>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-mode = <1>;
};
};
buck-c {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <2050000>;
regulator-allowed-modes = <0 1>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-mode = <1>;
};
};
buck-d {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <2050000>;
regulator-allowed-modes = <0 1>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-mode = <1>;
};
};
buck-e {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <2050000>;
regulator-allowed-modes = <0 1>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-mode = <1>;
};
};
buck-f {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <2050000>;
regulator-allowed-modes = <0 1>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-mode = <1>;
};
};
buck-g {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <2050000>;
regulator-allowed-modes = <0 1>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-mode = <1>;
};
};
buck-h {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <2050000>;
regulator-allowed-modes = <0 1>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
regulator-mode = <1>;
};
};
ldo1 {
/* Fixed LDO VOUT */
richtek,fixed-microvolt = <1200000>;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
};
};
ldo2 {
/* Adjustable LDO VOUT */
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-state-mem {
regulator-on-in-suspend;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Richtek RTQ6752 TFT LCD Voltage Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/richtek,rtq6752-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"
The RTQ6752 is an I2C interface pgorammable power management IC. It includes two synchronous boost converter for PAVDD, and one synchronous NAVDD buck-boost. The device is suitable for automotive TFT-LCD panel.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "richtek,rtq6752"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
A connection of the chip 'enable' gpio line. If not provided, treat it as external pull up.
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
Properties matching a name pattern (patternProperties) #
^(p|n)avdd$ — 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.
regulator description for pavdd and navdd.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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>;
rtq6752@6b {
compatible = "richtek,rtq6752";
reg = <0x6b>;
enable-gpios = <&gpio26 2 0>;
regulators {
pavdd {
regulator-name = "rtq6752-pavdd";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <7300000>;
regulator-boot-on;
};
navdd {
regulator-name = "rtq6752-navdd";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <7300000>;
regulator-boot-on;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
ROHM BD71815 Power Management Integrated Circuit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/rohm,bd71815-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"
This module is part of the ROHM BD718215 MFD device. For more details see Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.yaml.
The regulator controller is represented as a sub-node of the PMIC node on the device tree.
The valid names for BD71815 regulator nodes are buck1, buck2, buck3, buck4, buck5, ldo1, ldo2, ldo3, ldo4, ldo5, ldodvref, ldolpsr, wled
Properties and child nodes (properties) #
wled — not listed as required here #
Value type (type): "object"
properties for wled regulator
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-name — not listed as required here
Exact value (const): "wled"
Properties matching a name pattern (patternProperties) #
^((ldo|buck)[1-5]|ldolpsr|ldodvref)$ — name matches this regular expression #
Value type (type): "object"
Properties for single LDO/BUCK regulator.
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — required here
String pattern (pattern): "^((ldo|buck)[1-5]|ldolpsr|ldodvref)$"
should be "ldo1", ..., "ldo5", "buck1", ..., "buck5" and "ldolpsr" for ldolpsr regulator, "ldodvref" for ldodvref reglator.
rohm,vsel-gpios — not listed as required here
GPIO used to control ldo4 state (when ldo4 is controlled by GPIO).
rohm,dvs-run-voltage — not listed as required here
PMIC "RUN" state voltage in uV when PMIC HW states are used. See comments below for bucks/LDOs which support this. 0 means regulator should be disabled at RUN state.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-snvs-voltage — not listed as required here
Whether to keep regulator enabled at "SNVS" state or not. 0 means regulator should be disabled at SNVS state, non zero voltage keeps regulator enabled. BD71815 does not change voltage level when PMIC transitions to SNVS.SNVS voltage depends on the previous state (from which the PMIC transitioned to SNVS).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-suspend-voltage — not listed as required here
PMIC "SUSPEND" state voltage in uV when PMIC HW states are used. See comments below for bucks/LDOs which support this. 0 means regulator should be disabled at SUSPEND state.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-lpsr-voltage — not listed as required here
PMIC "LPSR" state voltage in uV when PMIC HW states are used. See comments below for bucks/LDOs which support this. 0 means regulator should be disabled at LPSR state.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
Required in this object (required): "regulator-name"
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.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 92: Bucks 1 and 2 support giving separate voltages for operational states
Line 93: (RUN /CLEAN according to data-sheet) and non operational states
Line 94: (LPSR/SUSPEND). The voltage is automatically changed when HW
Line 95: state changes. Omitting these properties from bucks 1 and 2 leave
Line 96: buck voltages to not be toggled by HW state. Enable status may still
Line 97: be toggled by state changes depending on HW default settings.
Line 98:
Line 99: Bucks 3-5 and ldos 1-5 support setting the RUN state voltage here.
Line 100: Given RUN voltage is used at all states if regulator is enabled at
Line 101: given state.
Line 102: Values given for other states are regarded as enable/disable at
Line 103: given state (see below).
Line 104:
Line 105: All regulators except WLED support specifying enable/disable status
Line 106: for each of the HW states (RUN/SNVS/SUSPEND/LPSR). HW defaults can
Line 107: be overridden by setting voltage to 0 (regulator disabled at given
Line 108: state) or non-zero (regulator enabled at given state). Please note
Line 109: that setting non zero voltages for bucks 1/2 will also enable voltage
Line 110: changes according to state change.
ROHM BD71828 Power Management Integrated Circuit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/rohm,bd71828-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"
This module is part of the ROHM BD71828 MFD device. For more details see Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml.
The regulator controller is represented as a sub-node of the PMIC node on the device tree.
Regulator nodes should be named to BUCK_<number> and LDO_<number>. The valid names for BD71828 regulator nodes are BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6, BUCK7 LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7
Properties matching a name pattern (patternProperties) #
^LDO[1-7]$ — name matches this regular expression #
Value type (type): "object"
Properties for single LDO regulator.
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^ldo[1-7]$"
should be "ldo1", ..., "ldo7"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^BUCK[1-7]$ — name matches this regular expression #
Value type (type): "object"
Properties for single BUCK regulator.
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — required here
String pattern (pattern): "^buck[1-7]$"
should be "buck1", ..., "buck7"
rohm,dvs-run-voltage — not listed as required here
PMIC default "RUN" state voltage in uV. See below table for bucks which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-idle-voltage — not listed as required here
PMIC default "IDLE" state voltage in uV. See below table for bucks which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-suspend-voltage — not listed as required here
PMIC default "SUSPEND" state voltage in uV. See below table for bucks which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-lpsr-voltage — not listed as required here
PMIC default "LPSR" state voltage in uV. See below table for bucks which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
Required in this object (required): "regulator-name"
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.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 83: Supported default DVS states:
Line 84: buck | run | idle | suspend | lpsr
Line 85: --------------------------------------------------------------
Line 86: 1, 2, 6, and 7 | supported | supported | supported (*)
Line 87: --------------------------------------------------------------
Line 88: 3, 4, and 5 | supported (**)
Line 89: --------------------------------------------------------------
Line 90:
Line 91: (*) LPSR and SUSPEND states use same voltage but both states have own
Line 92: enable /
Line 93: disable settings. Voltage 0 can be specified for a state to make
Line 94: regulator disabled on that state.
Line 95:
Line 96: (**) All states use same voltage but have own enable / disable
Line 97: settings. Voltage 0 can be specified for a state to make
Line 98: regulator disabled on that state.
ROHM BD71837 Power Management Integrated Circuit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/rohm,bd71837-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"
List of regulators provided by this controller. BD71837 regulators node should be sub node of the BD71837 MFD node. See BD71837 MFD bindings at Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml 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. Note that if BD71837 starts at RUN state you probably want to use regulator-boot-on at least for BUCK6 and BUCK7 so that those are not disabled by driver at startup. LDO5 and LDO6 are supplied by those and if they are disabled at startup the voltage monitoring for LDO5/LDO6 will cause PMIC to reset.
Properties matching a name pattern (patternProperties) #
^LDO[1-7]$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties for single LDO regulator.
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^ldo[1-7]$"
should be "ldo1", ..., "ldo7"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^BUCK[1-8]$ — 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) #
regulator-name — required here
String pattern (pattern): "^buck[1-8]$"
should be "buck1", ..., "buck8"
rohm,dvs-run-voltage — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 1300000
PMIC default "RUN" state voltage in uV. See below table for bucks which support this. 0 means disabled.
rohm,dvs-idle-voltage — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 1300000
PMIC default "IDLE" state voltage in uV. See below table for bucks which support this. 0 means disabled.
rohm,dvs-suspend-voltage — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 1300000
PMIC default "SUSPEND" state voltage in uV. See below table for bucks which support this. 0 means disabled.
rohm,no-regulator-enable-control — not listed as required here
Enable/Disable control of this regulator must be left to the PMIC hardware state machine.
Value type (type): "boolean"
rohm,fb-pull-up-microvolt — not listed as required here
Feedback-pin has pull-up connection to adjust voltage range. This is the used pull-up voltage before R1.
rohm,feedback-pull-up-r1-ohms — not listed as required here
Feedback-pin has pull-up connection to adjust voltage range. This is the used R1 resistor.
rohm,feedback-pull-up-r2-ohms — not listed as required here
Feedback-pin has pull-up connection to adjust voltage range. This is the used R2 resistor.
Required in this object (required): "regulator-name"
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.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 26: The valid names for BD71837 regulator nodes are:
Line 27: BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6, BUCK7, BUCK8
Line 28: LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7
Line 81: Supported default DVS states:
Line 82:
Line 83: BD71837:
Line 84: buck | dvs-run-voltage | dvs-idle-voltage | dvs-suspend-voltage
Line 85: ----------------------------------------------------------------
Line 86: 1 | supported | supported | supported
Line 87: ----------------------------------------------------------------
Line 88: 2 | supported | supported | not supported
Line 89: ----------------------------------------------------------------
Line 90: 3 | supported | not supported | not supported
Line 91: ----------------------------------------------------------------
Line 92: 4 | supported | not supported | not supported
Line 93: ----------------------------------------------------------------
Line 94: rest | not supported | not supported | not supported
Line 96: BD71837 power outputs can either be controlled by the PMIC internal
Line 97: hardware state machine or by software. If you need regulators to be
Line 98: turned ON/OFF for example based on PMIC_STBY_REQ line (which toggles
Line 99: PMIC HW state machine) - then you should set this property.
Line 100: Tradeoff is that then SW can't control the ON/OFF state for this
Line 101: regulator (other than invoking a PMIC state change).
Line 108: Setups where regulator (especially the buck8) output voltage is scaled
Line 109: by adding external connection where some other regulator output is
Line 110: connected to feedback-pin (over suitable resistors) is getting popular
Line 111: amongst users of BD71837. (This allows for example scaling down the
Line 112: buck8 voltages to suit lover GPU voltages for projects where buck8 is
Line 113: (ab)used to supply power for GPU.
Line 114:
Line 115: So we allow describing this external connection from DT and scale the
Line 116: voltages accordingly. This is what the connection should look like:
Line 117:
Line 118: |---------------|
Line 119: | buck 8 |-------+----->Vout
Line 120: | | |
Line 121: |---------------| |
Line 122: | |
Line 123: | |
Line 124: +-------+--R2----+
Line 125: |
Line 126: R1
Line 127: |
Line 128: V FB-pull-up
Line 129:
Line 130: Here the buck output is sifted according to formula:
Line 131:
Line 132: Vout_o = Vo - (Vpu - Vo)*R2/R1
Line 133: Linear_step = step_orig*(R1+R2)/R1
Line 134:
Line 135: where:
Line 136: Vout_o is adjusted voltage output at vsel reg value 0
Line 137: Vo is original voltage output at vsel reg value 0
Line 138: Vpu is the pull-up voltage V FB-pull-up in the picture
Line 139: R1 and R2 are resistor values.
ROHM BD71847 and BD71850 Power Management Integrated Circuit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/rohm,bd71847-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"
List of regulators provided by this controller. BD71847 regulators node should be sub node of the BD71847 MFD node. See BD71847 MFD bindings at Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml 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. Note that if BD71847 starts at RUN state you probably want to use regulator-boot-on at least for BUCK5. LDO6 is supplied by it and it must not be disabled by driver at startup. If BUCK5 is disabled at startup the voltage monitoring for LDO5/LDO6 can cause PMIC to reset.
Properties matching a name pattern (patternProperties) #
^LDO[1-6]$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties for single LDO regulator.
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^ldo[1-6]$"
should be "ldo1", ..., "ldo6"
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) #
regulator-name — required here
String pattern (pattern): "^buck[1-6]$"
should be "buck1", ..., "buck6"
rohm,dvs-run-voltage — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 1300000
PMIC default "RUN" state voltage in uV. See below table for bucks which support this. 0 means disabled.
rohm,dvs-idle-voltage — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 1300000
PMIC default "IDLE" state voltage in uV. See below table for bucks which support this. 0 means disabled.
rohm,dvs-suspend-voltage — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 1300000
PMIC default "SUSPEND" state voltage in uV. See below table for bucks which support this. 0 means disabled.
rohm,no-regulator-enable-control — not listed as required here
Enable/Disable control of this regulator must be left to the PMIC hardware state machine.
Value type (type): "boolean"
rohm,fb-pull-up-microvolt — not listed as required here
Feedback-pin has pull-up connection to adjust voltage range. This is the used pull-up voltage before R1.
rohm,feedback-pull-up-r1-ohms — not listed as required here
Feedback-pin has pull-up connection to adjust voltage range. This is the used R1 resistor.
rohm,feedback-pull-up-r2-ohms — not listed as required here
Feedback-pin has pull-up connection to adjust voltage range. This is the used R2 resistor.
Required in this object (required): "regulator-name"
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.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 25: The valid names for BD71847 regulator nodes are:
Line 26: BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6
Line 27: LDO1, LDO2, LDO3, LDO4, LDO5, LDO6
Line 80: Supported default DVS states:
Line 81:
Line 82: BD71847:
Line 83: buck | dvs-run-voltage | dvs-idle-voltage | dvs-suspend-voltage
Line 84: ----------------------------------------------------------------
Line 85: 1 | supported | supported | supported
Line 86: ----------------------------------------------------------------
Line 87: 2 | supported | supported | not supported
Line 88: ----------------------------------------------------------------
Line 89: rest | not supported | not supported | not supported
Line 91: BD718(47/50) power outputs can either be controlled by the PMIC internal
Line 92: hardware state machine or by software. If you need regulators to be
Line 93: turned ON/OFF for example based on PMIC_STBY_REQ line (which toggles
Line 94: PMIC HW state machine) - then you should set this property.
Line 95: Tradeoff is that then SW can't control the ON/OFF state for this
Line 96: regulator (other than invoking a PMIC state change).
Line 103: Setups where regulator (especially the buck8) output voltage is scaled
Line 104: by adding external connection where some other regulator output is
Line 105: connected to feedback-pin (over suitable resistors) is getting popular
Line 106: amongst users of BD71837. (This allows for example scaling down the
Line 107: buck8 voltages to suit lover GPU voltages for projects where buck8 is
Line 108: (ab)used to supply power for GPU.
Line 109:
Line 110: So we allow describing this external connection from DT and scale the
Line 111: voltages accordingly. This is what the connection should look like:
Line 112:
Line 113: |---------------|
Line 114: | buck 8 |-------+----->Vout
Line 115: | | |
Line 116: |---------------| |
Line 117: | |
Line 118: | |
Line 119: +-------+--R2----+
Line 120: |
Line 121: R1
Line 122: |
Line 123: V FB-pull-up
Line 124:
Line 125: Here the buck output is sifted according to formula:
Line 126:
Line 127: Vout_o = Vo - (Vpu - Vo)*R2/R1
Line 128: Linear_step = step_orig*(R1+R2)/R1
Line 129:
Line 130: where:
Line 131: Vout_o is adjusted voltage output at vsel reg value 0
Line 132: Vo is original voltage output at vsel reg value 0
Line 133: Vpu is the pull-up voltage V FB-pull-up in the picture
Line 134: R1 and R2 are resistor values.
ROHM BD72720 Power Management Integrated Circuit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/rohm,bd72720-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"
This module is part of the ROHM BD72720 MFD device. For more details see Documentation/devicetree/bindings/mfd/rohm,bd72720-pmic.yaml.
The regulator controller is represented as a sub-node of the PMIC node on the device tree.
Regulator nodes should be named to BUCK_<number> and LDO_<number>. The valid names for BD72720 regulator nodes are buck1, buck2, buck3, buck4, buck5, buck6, buck7, buck8, buck9, buck10 ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10, ldo11
Properties matching a name pattern (patternProperties) #
^ldo([1-9]|1[0-1])$ — name matches this regular expression #
Value type (type): "object"
Properties for single LDO regulator.
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — not listed as required here
String pattern (pattern): "^ldo([1-9]|1[0-1])$"
rohm,dvs-run-voltage — not listed as required here
PMIC default "RUN" state voltage in uV. See below table for LDOs which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-idle-voltage — not listed as required here
PMIC default "IDLE" state voltage in uV. See below table for LDOs which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-suspend-voltage — not listed as required here
PMIC default "SUSPEND" state voltage in uV. See below table for LDOs which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-lpsr-voltage — not listed as required here
PMIC default "deep-idle" state voltage in uV. See below table for LDOs which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^buck([1-9]|10)$ — name matches this regular expression #
Value type (type): "object"
Properties for single BUCK regulator.
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
regulator-name — required here
String pattern (pattern): "^buck([1-9]|10)$"
rohm,ldon-head-microvolt — not listed as required here
Set this on boards where BUCK10 is used to supply LDOs 1-4. The bucki voltage will be changed by the PMIC to follow the LDO output voltages with the offset voltage given here. This will improve the LDO efficiency.
Minimum value (minimum): 50000
Maximum value (maximum): 300000
rohm,dvs-run-voltage — not listed as required here
PMIC default "RUN" state voltage in uV. See below table for bucks which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-idle-voltage — not listed as required here
PMIC default "IDLE" state voltage in uV. See below table for bucks which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-suspend-voltage — not listed as required here
PMIC default "SUSPEND" state voltage in uV. See below table for bucks which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
rohm,dvs-lpsr-voltage — not listed as required here
PMIC default "deep-idle" state voltage in uV. See below table for bucks which support this. 0 means disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3300000
Required in this object (required): "regulator-name"
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.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 67: Supported default DVS states:
Line 68: ldo | run | idle | suspend | lpsr
Line 69: --------------------------------------------------------------
Line 70: 1, 2, 3, and 4 | supported | supported | supported | supported
Line 71: --------------------------------------------------------------
Line 72: 5 - 11 | supported (*)
Line 73: --------------------------------------------------------------
Line 74:
Line 75: (*) All states use same voltage but have own enable / disable
Line 76: settings. Voltage 0 can be specified for a state to make
Line 77: regulator disabled on that state.
Line 131: Supported default DVS states:
Line 132: buck | run | idle | suspend | lpsr
Line 133: --------------------------------------------------------------
Line 134: 1, 2, 3, and 4 | supported | supported | supported | supported
Line 135: --------------------------------------------------------------
Line 136: 5 - 10 | supported (*)
Line 137: --------------------------------------------------------------
Line 138:
Line 139: (*) All states use same voltage but have own enable / disable
Line 140: settings. Voltage 0 can be specified for a state to make
Line 141: regulator disabled on that state.
ROHM BD9576 and BD9573 Power Management Integrated Circuit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/rohm,bd9576-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"
This module is part of the ROHM BD9576 MFD device. For more details see Documentation/devicetree/bindings/mfd/rohm,bd9576-pmic.yaml.
The regulator controller is represented as a sub-node of the PMIC node on the device tree.
The valid names for BD9576 regulator nodes are regulator-vd50, regulator-vd18, regulator-vdddr, regulator-vd10, regulator-voutl1, regulator-vouts1
Properties matching a name pattern (patternProperties) #
^regulator-.+$ — name matches this regular expression #
Value type (type): "object"
Properties for single regulator.
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
rohm,ocw-fet-ron-micro-ohms — not listed as required here
External FET's ON-resistance. Required if VoutS1 OCP/OCW is to be set.
Required in this object (required): "regulator-name"
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.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
ROHM BD96801 Power Management Integrated Circuit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/rohm,bd96801-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>"
This module is part of the ROHM BD96801 MFD device. For more details see Documentation/devicetree/bindings/mfd/rohm,bd96801-pmic.yaml. The regulator controller is represented as a sub-node of the PMIC node on the device tree. Regulator nodes should be named to buck_<number> and ldo_<number>. The valid names for BD96801 regulator nodes are buck1, buck2, buck3, buck4, ldo5, ldo6, ldo7
Properties matching a name pattern (patternProperties) #
^ldo[5-7]$ — name matches this regular expression #
Value type (type): "object"
Properties for single LDO regulator.
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
rohm,initial-voltage-microvolt — not listed as required here
Initial voltage for regulator. Voltage can be tuned +/-150 mV from this value. NOTE, This can be modified via I2C only when PMIC is in STBY state.
Minimum value (minimum): 300000
Maximum value (maximum): 3300000
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
^buck[1-4]$ — name matches this regular expression #
Value type (type): "object"
Properties for single BUCK regulator.
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
rohm,initial-voltage-microvolt — not listed as required here
Initial voltage for regulator. Voltage can be tuned +/-150 mV from this value. NOTE, This can be modified via I2C only when PMIC is in STBY state.
Minimum value (minimum): 500000
Maximum value (maximum): 3300000
rohm,keep-on-stby — not listed as required here
Keep the regulator powered when PMIC transitions to STBY state.
Value type (type): "boolean"
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.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
ROHM BD96802 Power Management Integrated Circuit regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/rohm,bd96802-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>"
This module is part of the ROHM BD96802 MFD device. For more details see Documentation/devicetree/bindings/mfd/rohm,bd96802-pmic.yaml. The regulator controller is represented as a sub-node of the PMIC node on the device tree. Regulator nodes should be named to buck1 and buck2.
Properties matching a name pattern (patternProperties) #
^buck[1-2]$ — name matches this regular expression #
Value type (type): "object"
Properties for single BUCK regulator.
Shared schema rule ($ref): regulator.yaml#
Properties and child nodes (properties) #
rohm,initial-voltage-microvolt — not listed as required here
Initial voltage for regulator. Voltage can be tuned +/-150 mV from this value. NOTE, This can be modified via I2C only when PMIC is in STBY state.
Minimum value (minimum): 500000
Maximum value (maximum): 3300000
rohm,keep-on-stby — not listed as required here
Keep the regulator powered when PMIC transitions to STBY state.
Value type (type): "boolean"
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.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung S2MPA01 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/samsung,s2mpa01.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).
The S2MPA01 provides buck and LDO regulators.
See also Documentation/devicetree/bindings/mfd/samsung,s2mpa01.yaml for additional information and example.
Properties matching a name pattern (patternProperties) #
^LDO([1-9]|1[0-9]|2[0-6])$ — 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 for single LDO regulator.
Required in this object (required): "regulator-name"
^BUCK([1-9]|10)$ — 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 for single BUCK regulator.
Properties and child nodes (properties) #
regulator-ramp-delay — not listed as required here
Allowed values (enum): 0, 6250, 12500, 25000, 50000
Default value (default): 12500
May be 0 for disabling the ramp delay on BUCK{1,2,3,4}.
In the absence of the regulator-ramp-delay property, the default ramp delay will be used.
Note: Some bucks share the ramp rate setting i.e. same ramp value
will be set for a particular group of bucks so provide the same
regulator-ramp-delay value for them.
Groups sharing ramp rate:
* buck{1,6},
* buck{2,4},
* buck{8,9,10}.
Required in this object (required): "regulator-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 22: 26 LDOs
Line 33: 10 bucks
Samsung S2MPG10 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/samsung,s2mpg10-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "André Draszik <andre.draszik@linaro.org>"
This is part of the device tree bindings for the S2MG10 Power Management IC (PMIC).
The S2MPG10 PMIC provides 10 buck and 31 LDO regulators.
See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for additional information and example.
Properties and child nodes (properties) #
ldo20m — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties for a single LDO regulator.
All of these rules must match (allOf) #
Rule 1
Shared schema rule (
$ref):#/$defs/s2mpg10-ext-control
Properties and child nodes (properties) #
regulator-ramp-delay — not listed as required here
false — Not permitted by this property rule.
samsung,ext-control — not listed as required here
Minimum value (minimum): 11
Properties matching a name pattern (patternProperties) #
^buck([1-9]|10)m$ — 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 for a single buck regulator.
All of these rules must match (allOf) #
Rule 1
Shared schema rule (
$ref):#/$defs/s2mpg10-ext-control
Properties and child nodes (properties) #
regulator-ramp-delay — not listed as required here
Allowed values (enum): 6250, 12500, 25000
Default value (default): 6250
samsung,ext-control — not listed as required here
Maximum value (maximum): 10
^ldo(2[1-9]?|3[0-1])m$ — 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 for single LDO regulator.
Properties and child nodes (properties) #
regulator-ramp-delay — not listed as required here
false — Not permitted by this property rule.
^ldo([3-689]|1[046-9])m$ — 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 for a single LDO regulator.
All of these rules must match (allOf) #
Rule 1
Shared schema rule (
$ref):#/$defs/s2mpg10-ext-control
Properties and child nodes (properties) #
regulator-ramp-delay — not listed as required here
false — Not permitted by this property rule.
samsung,ext-control — not listed as required here
Maximum value (maximum): 10
^ldo(1[1235]?|7)m$ — 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 for a single LDO regulator.
All of these rules must match (allOf) #
Rule 1
Shared schema rule (
$ref):#/$defs/s2mpg10-ext-control
Properties and child nodes (properties) #
regulator-ramp-delay — not listed as required here
Allowed values (enum): 6250, 12500
Default value (default): 6250
samsung,ext-control — not listed as required here
Maximum value (maximum): 10
Reusable definitions ($defs) #
s2mpg10-ext-control #
Properties and child nodes (properties) #
samsung,ext-control — not listed as required here
These rails can be controlled via one of several possible external
(hardware) signals. If so, this property configures the signal the PMIC
should monitor. For S2MPG10 rails where external control is possible other
than ldo20m, the following values generally corresponding to the
respective on-chip pin are valid:
- 0 # S2MPG10_EXTCTRL_PWREN - PWREN pin
- 1 # S2MPG10_EXTCTRL_PWREN_MIF - PWREN_MIF pin
- 2 # S2MPG10_EXTCTRL_AP_ACTIVE_N - ~AP_ACTIVE_N pin
- 3 # S2MPG10_EXTCTRL_CPUCL1_EN - CPUCL1_EN pin
- 4 # S2MPG10_EXTCTRL_CPUCL1_EN2 - CPUCL1_EN & PWREN pins
- 5 # S2MPG10_EXTCTRL_CPUCL2_EN - CPUCL2_EN pin
- 6 # S2MPG10_EXTCTRL_CPUCL2_EN2 - CPUCL2_E2 & PWREN pins
- 7 # S2MPG10_EXTCTRL_TPU_EN - TPU_EN pin
- 8 # S2MPG10_EXTCTRL_TPU_EN2 - TPU_EN & ~AP_ACTIVE_N pins
- 9 # S2MPG10_EXTCTRL_TCXO_ON - TCXO_ON pin
- 10 # S2MPG10_EXTCTRL_TCXO_ON2 - TCXO_ON & ~AP_ACTIVE_N pins
For S2MPG10 ldo20m, the following values are valid
- 11 # S2MPG10_EXTCTRL_LDO20M_EN2 - VLDO20M_EN & LDO20M_SFR
- 12 # S2MPG10_EXTCTRL_LDO20M_EN - VLDO20M_EN pin
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 12
enable-gpios — not listed as required here
For rails where external control is done via a GPIO, this optional property describes the GPIO line used.
Requirements triggered by another property (dependentRequired): { enable-gpios: "samsung,ext-control" }
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #At least one of these rules must match (
anyOf)Rule 1
Rule 2
Rule 3
When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^(buck[8-9]|ldo1)m$— name matches this regular expressionProperties and child nodes (
properties)
samsung,ext-control— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 22: 1 LDO with possible (but limited) external control
Line 40: 10 bucks
Line 59: 12 standard LDOs
Line 70: 12 LDOs with possible external control
Line 87: 6 LDOs with ramp support, 5 out of those with possible external control
Line 145: Bucks 8, 9, and LDO 1 can not be controlled externally - above definition
Line 146: allows it and we deny it here. This approach reduces repetition.
Samsung S2MPG11 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/samsung,s2mpg11-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "André Draszik <andre.draszik@linaro.org>"
This is part of the device tree bindings for the S2MG11 Power Management IC (PMIC).
The S2MPG11 PMIC provides 12 buck, 1 buck-boost, and 15 LDO regulators.
See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for additional information and example.
Properties and child nodes (properties) #
buckboost — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties for the buck-boost regulator.
Properties and child nodes (properties) #
regulator-ramp-delay — not listed as required here
false — Not permitted by this property rule.
Properties matching a name pattern (patternProperties) #
^buck(([1-9]|10)s|[ad])$ — 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 for a single buck regulator.
All of these rules must match (allOf) #
Rule 1
Shared schema rule (
$ref):#/$defs/s2mpg11-ext-control
Properties and child nodes (properties) #
regulator-ramp-delay — not listed as required here
Allowed values (enum): 6250, 12500, 25000
Default value (default): 6250
^ldo([3-79]|1[01245])s$ — 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 for a single LDO regulator.
Properties and child nodes (properties) #
regulator-ramp-delay — not listed as required here
false — Not permitted by this property rule.
^ldo(8|13)s$ — 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 for single LDO regulator.
All of these rules must match (allOf) #
Rule 1
Shared schema rule (
$ref):#/$defs/s2mpg11-ext-control
Properties and child nodes (properties) #
regulator-ramp-delay — not listed as required here
false — Not permitted by this property rule.
^ldo[12]s$ — 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 for a single LDO regulator.
All of these rules must match (allOf) #
Rule 1
Shared schema rule (
$ref):#/$defs/s2mpg11-ext-control
Properties and child nodes (properties) #
regulator-ramp-delay — not listed as required here
Allowed values (enum): 6250, 12500
Default value (default): 6250
Reusable definitions ($defs) #
s2mpg11-ext-control #
Properties and child nodes (properties) #
samsung,ext-control — not listed as required here
These rails can be controlled via one of several possible external
(hardware) signals. If so, this property configures the signal the PMIC
should monitor. The following values generally corresponding to the
respective on-chip pin are valid:
- 0 # S2MPG11_EXTCTRL_PWREN - PWREN pin
- 1 # S2MPG11_EXTCTRL_PWREN_MIF - PWREN_MIF pin
- 2 # S2MPG11_EXTCTRL_AP_ACTIVE_N - ~AP_ACTIVE_N pin
- 3 # S2MPG11_EXTCTRL_G3D_EN - G3D_EN pin
- 4 # S2MPG11_EXTCTRL_G3D_EN2 - G3D_EN & ~AP_ACTIVE_N pins
- 5 # S2MPG11_EXTCTRL_AOC_VDD - AOC_VDD pin
- 6 # S2MPG11_EXTCTRL_AOC_RET - AOC_RET pin
- 7 # S2MPG11_EXTCTRL_UFS_EN - UFS_EN pin
- 8 # S2MPG11_EXTCTRL_LDO13S_EN - VLDO13S_EN pin
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 8
enable-gpios — not listed as required here
For rails where external control is done via a GPIO, this optional property describes the GPIO line used.
Requirements triggered by another property (dependentRequired): { enable-gpios: "samsung,ext-control" }
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #At least one of these rules must match (
anyOf)Rule 1
Rule 2
Rule 3
Rule 4
When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^buck([467]|10)s$— name matches this regular expressionProperties and child nodes (
properties)
samsung,ext-control— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 33: 12 bucks
Line 49: 11 standard LDOs
Line 60: 2 LDOs with possible external control
Line 74: 2 LDOs with ramp support and possible external control
Line 122: Bucks 4, 6, 7 and 10 can not be controlled externally - above definition
Line 123: allows it and we deny it here. This approach reduces repetition.
Samsung S2MPS11 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/samsung,s2mps11.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).
The S2MPS11 provides buck and LDO regulators.
See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for additional information and example.
Properties matching a name pattern (patternProperties) #
^LDO([1-9]|[1-2][0-9]|3[0-8])$ — 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 for single LDO regulator.
Required in this object (required): "regulator-name"
^BUCK([1-9]|10)$ — 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 for single BUCK regulator.
Required in this object (required): "regulator-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 22: 38 LDOs
Line 33: 10 bucks
Samsung S2MPS13 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/samsung,s2mps13.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).
The S2MPS13 provides buck and LDO regulators.
See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for additional information and example.
Properties matching a name pattern (patternProperties) #
^LDO([1-9]|[1-3][0-9]|40)$ — 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 for single LDO regulator.
Required in this object (required): "regulator-name"
^BUCK([1-9]|10)$ — 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 for single BUCK regulator.
Required in this object (required): "regulator-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 22: 40 LDOs
Line 33: 10 bucks
Samsung S2MPS14 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/samsung,s2mps14.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).
The S2MPS14 provides buck and LDO regulators.
See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for additional information and example.
Properties matching a name pattern (patternProperties) #
^LDO([1-9]|1[3-9]|2[0-5])$ — 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 for single LDO regulator.
Required in this object (required): "regulator-name"
^LDO(1[0-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 for single LDO regulator.
Properties and child nodes (properties) #
samsung,ext-control-gpios — not listed as required here
Maximum number of items (maxItems): 1
LDO10, LDO11 and LDO12 can be configured to external control over GPIO.
Required in this object (required): "regulator-name"
^BUCK[1-5]$ — 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 for single BUCK regulator.
Required in this object (required): "regulator-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 22: 25 LDOs, without LDO10-12
Line 50: 5 bucks
Samsung S2MPS15 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/samsung,s2mps15.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).
The S2MPS15 provides buck and LDO regulators.
See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for additional information and example.
Properties matching a name pattern (patternProperties) #
^LDO([1-9]|[1][0-9]|2[0-7])$ — 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 for single LDO regulator.
Required in this object (required): "regulator-name"
^BUCK([1-9]|10)$ — 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 for single BUCK regulator.
Required in this object (required): "regulator-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 22: 27 LDOs
Line 33: 10 bucks
Samsung S2MPU02 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/samsung,s2mpu02.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).
The S2MPU02 provides buck and LDO regulators.
See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for additional information and example.
Properties matching a name pattern (patternProperties) #
^LDO([1-9]|1[0-9]|2[0-8])$ — 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 for single LDO regulator.
Required in this object (required): "regulator-name"
^BUCK[1-7]$ — 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 for single BUCK regulator.
Required in this object (required): "regulator-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 22: 28 LDOs
Line 33: 7 bucks
Samsung S2MPU05 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/samsung,s2mpu05.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kaustabh Chakraborty <kauschluss@disroot.org>"
This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).
The S2MPU05 provides buck and LDO regulators.
See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for additional information and example.
Properties matching a name pattern (patternProperties) #
^ldo([1-9]|10|2[5-9]|3[0-5])$ — 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 for single LDO regulator. LDOs 11-24 are used for CP, and they're left unimplemented due to lack of documentation on these regulators.
Required in this object (required): "regulator-name"
^buck[1-5]$ — 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 for single buck regulator.
Required in this object (required): "regulator-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 22: 21 LDOs
Line 36: 5 bucks
Samsung S5M8767 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/samsung,s5m8767.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).
The S5M8767 provides buck and LDO regulators.
See also Documentation/devicetree/bindings/mfd/samsung,s5m8767.yaml for additional information and example.
Properties matching a name pattern (patternProperties) #
^LDO([1-9]|1[0-9]|2[0-8])$ — 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 for single LDO regulator.
Properties and child nodes (properties) #
op_mode — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
Default value (default): 1
Describes the different operating modes of the LDO's with power mode
change in SOC. The different possible values are:
0 - always off mode
1 - on in normal mode
2 - low power mode
3 - suspend mode
Required in this object (required): "regulator-name"
^BUCK[1-8]$ — 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 for single BUCK regulator.
Properties and child nodes (properties) #
op_mode — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
Default value (default): 1
Describes the different operating modes of the regulator with power
mode change in SOC. The different possible values are:
0 - always off mode
1 - on in normal mode
2 - low power mode
3 - suspend mode
Required in this object (required): "regulator-name"
Properties and child nodes (properties) #
BUCK9 — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties for single BUCK regulator.
Properties and child nodes (properties) #
op_mode — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
Default value (default): 1
Describes the different operating modes of the regulator with power
mode change in SOC. The different possible values are:
0 - always off mode
1 - on in normal mode
2 - low power mode
3 - suspend mode
s5m8767,pmic-ext-control-gpios — not listed as required here
Maximum number of items (maxItems): 1
GPIO specifier for one GPIO controlling this regulator on/off.
Required in this object (required): "regulator-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 22: 28 LDOs
Line 46: 8 bucks
Line 71: 9 buck
Silergy SY8106A Voltage Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/silergy,sy8106a.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ondrej Jirman <megous@megous.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "silergy,sy8106a"
reg — required here #
Maximum number of items (maxItems): 1
silergy,fixed-microvolt — required here #
The voltage when I2C regulating is disabled (set by external resistor like a fixed voltage)
Required in this object (required): "compatible", "reg", "silergy,fixed-microvolt"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@65 {
compatible = "silergy,sy8106a";
reg = <0x65>;
regulator-name = "sy8106a-vdd";
silergy,fixed-microvolt = <1200000>;
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1400000>;
regulator-boot-on;
regulator-always-on;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
silergy sy8824c,sy8824e,sy20276 and sy20278 PMIC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/silergy,sy8824x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jisheng Zhang <jszhang@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "silergy,sy8824c", "silergy,sy8824e", "silergy,sy20276", "silergy,sy20278"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@60 {
compatible = "silergy,sy8824c";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1150000>;
reg = <0x60>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
silergy sy8827n PMIC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/silergy,sy8827n.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jisheng Zhang <jszhang@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "silergy,sy8827n"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
GPIO to enable/disable the regulator.
Maximum number of items (maxItems): 1
silergy,vsel-state-high — not listed as required here #
Value type (type): "boolean"
Indicates if the VSEL pin is set to high. If this property is missing, assume the VSEL pin is set to low.
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>;
regulator@60 {
compatible = "silergy,sy8827n";
reg = <0x60>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Silicon Mitus SM5703 multi function device regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/siliconmitus,sm5703-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Markuss Broks <markuss.broks@gmail.com>"
SM5703 regulators node should be a sub node of the SM5703 MFD node. See SM5703 MFD bindings at Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml Regulator nodes should be named as USBLDO_<number>, BUCK, VBUS, LDO_<number>. The definition for each of these nodes is defined using the standard binding for regulators at Documentation/devicetree/bindings/regulator/regulator.txt.
Properties and child nodes (properties) #
buck — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties for the BUCK regulator.
vbus — not listed as required here #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties for the VBUS regulator.
Properties matching a name pattern (patternProperties) #
^ldo[1-3]$ — 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 for single LDO regulator.
^usbldo[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 for a single USBLDO regulator.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Socionext UniPhier regulator controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/socionext,uniphier-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This regulator controls VBUS and belongs to USB3 glue layer. Before using the regulator, it is necessary to control the clocks and resets to enable this layer. These clocks and resets should be described in each property.
Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "socionext,uniphier-pro4-usb3-regulator", "socionext,uniphier-pro5-usb3-regulator", "socionext,uniphier-pxs2-usb3-regulator", "socionext,uniphier-ld20-usb3-regulator", "socionext,uniphier-pxs3-usb3-regulator", "socionext,uniphier-nx1-usb3-regulator"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — required here #
true — No constraints added by this property rule.
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
true — No constraints added by this property rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"socionext,uniphier-pro4-usb3-regulator","socionext,uniphier-pro5-usb3-regulator"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"gio"Item 2
Exact value (
const):"link"
resets— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"gio"Item 2
Exact value (
const):"link"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereExact value (
const):"link"
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereExact value (
const):"link"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names"
Examples (examples) #
usb_vbus0: regulators@100 {
compatible = "socionext,uniphier-ld20-usb3-regulator";
reg = <0x100 0x10>;
clock-names = "link";
clocks = <&sys_clk 14>;
reset-names = "link";
resets = <&sys_rst 14>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 17: USB3 Controller
Spreadtrum SC2731 Power Management IC regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/sprd,sc2731-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"
The SC2731 integrates low-voltage and low quiescent current DCDC/LDO.
14 LDO and 3 DCDCs are designed for external use. All DCDCs/LDOs have
their own bypass (power-down) control signals. It is recommended to use
external tantalum or MLCC ceramic capacitors with these LDOs.
Valid names for the regulators are:
BUCK:
BUCK_CPU0, BUCK_CPU1, BUCK_RF
LDO:
LDO_CAMA0, LDO_CAMA1, LDO_CAMD0, LDO_CAMD1, LDO_CAMIO, LDO_CAMMOT,
LDO_CON, LDO_EMMCCORE, LDO_SDCORE, LDO_SDIO, LDO_SRAM, LDO_USB33,
LDO_VLDO, LDO_WIFIPA
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sprd,sc2731-regulator"
Properties matching a name pattern (patternProperties) #
^BUCK_(CPU[0-1]|RF)$ — 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.
^LDO_(CAM(A0|A1|D0|D1|IO|MOT)|CON|EMMCCORE|SD(CORE|IO)|SRAM|USB33|VLDO|WIFIPA)$ — 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.
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
STMicroelectronics STM32 booster for ADC analog input switches
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/st,stm32-booster.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Fabrice Gasnier <fabrice.gasnier@foss.st.com>"
Some STM32 devices embed a 3.3V booster supplied by Vdda, that can be used to supply ADC analog input switches.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "st,stm32h7-booster", "st,stm32mp1-booster"
st,syscfg — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to system configuration controller.
vdda-supply — required here #
phandle to the vdda input analog voltage.
Required in this object (required): "compatible", "st,syscfg", "vdda-supply"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
regulator-booster {
compatible = "st,stm32mp1-booster";
st,syscfg = <&syscfg>;
vdda-supply = <&vdda>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STM32 Voltage reference buffer
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/st,stm32-vrefbuf.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Some STM32 devices embed a voltage reference buffer which can be used as voltage reference for ADCs, DACs and also as voltage reference for external components through the dedicated VREF+ pin.
Maintainers (maintainers): "Fabrice Gasnier <fabrice.gasnier@foss.st.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stm32-vrefbuf"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
vdda-supply — required here #
phandle to the vdda input analog voltage.
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "reg", "clocks", "vdda-supply"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/stm32mp1-clks.h>
vrefbuf@50025000 {
compatible = "st,stm32-vrefbuf";
reg = <0x50025000 0x8>;
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <2500000>;
clocks = <&rcc VREF>;
vdda-supply = <&vdda>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STM32MP1 PWR voltage regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/st,stm32mp1-pwr-reg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pascal Paillet <p.paillet@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"st,stm32mp1,pwr-reg"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"st,stm32mp13-pwr-reg"Item 2
Exact value (
const):"st,stm32mp1,pwr-reg"
reg — required here #
Maximum number of items (maxItems): 1
vdd-supply — not listed as required here #
Input supply phandle(s) for vdd input
vdd_3v3_usbfs-supply — not listed as required here #
Input supply phandle(s) for vdd_3v3_usbfs input
Properties matching a name pattern (patternProperties) #
^(reg11|reg18|usb33)$ — 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.
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) #
pwr@50001000 {
compatible = "st,stm32mp1,pwr-reg";
reg = <0x50001000 0x10>;
vdd-supply = <&vdd>;
vdd_3v3_usbfs-supply = <&vdd_usb>;
reg11 {
regulator-name = "reg11";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
};
reg18 {
regulator-name = "reg18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
usb33 {
regulator-name = "usb33";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Texas Instruments TPS6236x Voltage Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/ti,tps62360.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laxman Dewangan <ldewangan@nvidia.com>"
The TPS6236x are a family of step down dc-dc converter with an input voltage range of 2.5V to 5.5V. The devices provide up to 3A peak load current, and an output voltage range of 0.77V to 1.4V (TPS62360/62) and 0.5V to 1.77V (TPS62361B/63).
Datasheet is available at: https://www.ti.com/lit/gpn/tps62360
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,tps62360", "ti,tps62361", "ti,tps62362", "ti,tps62363"
reg — required here #
Maximum number of items (maxItems): 1
ti,vsel0-gpio — not listed as required here #
GPIO for controlling VSEL0 line. If this property is missing, then assume that there is no GPIO for VSEL0 control.
Maximum number of items (maxItems): 1
ti,vsel1-gpio — not listed as required here #
GPIO for controlling VSEL1 line. If this property is missing, then assume that there is no GPIO for VSEL1 control.
Maximum number of items (maxItems): 1
ti,enable-vout-discharge — not listed as required here #
Enable output discharge.
Value type (type): "boolean"
ti,enable-pull-down — not listed as required here #
Enable pull down.
Value type (type): "boolean"
ti,vsel0-state-high — not listed as required here #
Initial state of VSEL0 input is high. If this property is missing, then assume the state as low.
Value type (type): "boolean"
ti,vsel1-state-high — not listed as required here #
Initial state of VSEL1 input is high. If this property is missing, then assume the state as low.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@60 {
compatible = "ti,tps62361";
reg = <0x60>;
regulator-name = "tps62361-vout";
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1500000>;
regulator-boot-on;
ti,vsel0-gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;
ti,vsel1-gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>;
ti,vsel0-state-high;
ti,vsel1-state-high;
ti,enable-pull-down;
ti,enable-vout-discharge;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI TPS62864/TPS6286/TPS62868/TPS62869 voltage regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/ti,tps62864.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vincent Whitchurch <vincent.whitchurch@axis.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,tps62864", "ti,tps62866", "ti,tps62868", "ti,tps62869"
reg — required here #
Maximum number of items (maxItems): 1
regulators — required here #
Value type (type): "object"
Properties and child nodes (properties) #
SW — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
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.
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) #
#include <dt-bindings/regulator/ti,tps62864.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@48 {
compatible = "ti,tps62864";
reg = <0x48>;
regulators {
SW {
regulator-name = "+0.85V";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <890000>;
regulator-initial-mode = <TPS62864_MODE_FPWM>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI TPS62870/TPS62871/TPS62872/TPS62873 voltage regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/ti,tps62870.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mårten Lindahl <marten.lindahl@axis.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,tps62870", "ti,tps62871", "ti,tps62872", "ti,tps62873"
reg — required here #
Maximum number of items (maxItems): 1
regulator-initial-mode — not listed as required here #
1 - Forced PWM mode, 2 - Low power mode
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@41 {
compatible = "ti,tps62873";
reg = <0x41>;
regulator-name = "+0.75V";
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1675000>;
regulator-initial-mode = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI TPS65132 Dual Output Power Regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/ti,tps65132.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "devicetree@vger.kernel.org"
The TPS65132 is designed to supply positive/negative driven applications.
Datasheet is available at: https://www.ti.com/lit/gpn/tps65132
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,tps65132"
reg — required here #
Maximum number of items (maxItems): 1
vin-supply — not listed as required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^out[pn]$ — 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 for single regulator.
Properties and child nodes (properties) #
enable-gpios — not listed as required here
Maximum number of items (maxItems): 1
GPIO specifier to enable the GPIO control (on/off) for regulator.
active-discharge-gpios — not listed as required here
Maximum number of items (maxItems): 1
GPIO specifier to actively discharge the delay mechanism.
ti,active-discharge-time-us — not listed as required here
Regulator active discharge time in microseconds.
Property dependencies (dependencies) #
active-discharge-gpios — applies when this property is present
Also requires: "ti,active-discharge-time-us"
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) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@3e {
compatible = "ti,tps65132";
reg = <0x3e>;
vin-supply = <&supply>;
outp {
regulator-name = "outp";
regulator-boot-on;
regulator-always-on;
enable-gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
};
outn {
regulator-name = "outn";
regulator-boot-on;
regulator-always-on;
regulator-active-discharge = <0>;
enable-gpios = <&gpio 40 GPIO_ACTIVE_HIGH>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
TI TPS65185 Power Management Integrated Circuit
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/ti,tps65185.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andreas Kemnade <andreas@kemnade.info>"
TPS65185 is a Power Management IC to provide Power for EPDs with one 3.3V switch, 2 symmetric LDOs behind 2 DC/DC converters, and one unsymmetric regulator for a compensation voltage.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,tps65185"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
PWRUP pin
Maximum number of items (maxItems): 1
pwr-good-gpios — required here #
Maximum number of items (maxItems): 1
vcom-ctrl-gpios — not listed as required here #
Maximum number of items (maxItems): 1
wakeup-gpios — not listed as required here #
Maximum number of items (maxItems): 1
vin-supply — required here #
true — No constraints added by this property rule.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
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) #
^(vcom|vposneg|v3p3)$ — name matches this regular expression
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml
Required in this object (required): "compatible", "reg", "pwr-good-gpios", "vin-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@18 {
compatible = "ti,tps65185";
reg = <0x18>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_tps65185_gpio>;
pwr-good-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
vcom-ctrl-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
enable-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
vin-supply = <&epdc_pmic_supply>;
interrupts-extended = <&gpio2 0 IRQ_TYPE_LEVEL_LOW>;
regulators {
vcom {
regulator-name = "vcom";
};
vposneg {
regulator-name = "vposneg";
regulator-min-microvolt = <15000000>;
regulator-max-microvolt = <15000000>;
};
v3p3 {
regulator-name = "v3p3";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
TI TPS65214/TPS65215/TPS65219 Power Management Integrated Circuit
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/ti,tps65219.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jerome Neanne <jerome.neanne@baylibre.com>"
Regulator nodes should be named to buck<number> and ldo<number>.
TI TPS65219 is a Power Management IC with 3 Buck regulators, 4 Low Drop-out Regulators (LDOs), 1 GPIO, 2 GPOs, and power-button.
TI TPS65215 is a derivative of TPS65219 with 3 Buck regulators, 2 Low Drop-out Regulators (LDOs), 1 GPIO, 1 GPO, and power-button.
TI TPS65214 is a derivative of TPS65219 with 3 Buck regulators, 2 Low Drop-out Regulators (LDOs), 1 GPIO, 1 GPO, and power-button.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,tps65214", "ti,tps65215", "ti,tps65219"
reg — required here #
Maximum number of items (maxItems): 1
system-power-controller — not listed as required here #
Value type (type): "boolean"
Optional property that indicates that this device is controlling system power.
interrupts — required here #
Short-circuit, over-current, under-voltage for regulators, PB interrupts.
Maximum number of items (maxItems): 1
interrupt-controller — not listed as required here #
true — No constraints added by this property rule.
#interrupt-cells — not listed as required here #
Specifies the PIN numbers and Flags, as defined in include/dt-bindings/interrupt-controller/irq.h
Exact value (const): 1
ti,power-button — not listed as required here #
Value type (type): "boolean"
Optional property that sets the EN/PB/VSENSE pin to be a power-button. TPS65219 has a multipurpose pin called EN/PB/VSENSE that can be either 1. EN in which case it functions as an enable pin. 2. VSENSE which compares the voltages and triggers an automatic on/off request. 3. PB in which case it can be configured to trigger an interrupt to the SoC. ti,power-button reflects the last one of those options where the board has a button wired to the pin and triggers an interrupt on pressing it.
regulators — required here #
Value type (type): "object"
list of regulators provided by this controller
Properties matching a name pattern (patternProperties) #
^ldo[1-4]$ — 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-3]$ — name matches this regular expression
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties for single BUCK regulator.
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.
Properties matching a name pattern (patternProperties) #
^buck[1-3]-supply$ — name matches this regular expression #
Input supply phandle of one regulator.
^ldo[1-4]-supply$ — name matches this regular expression #
Input supply phandle of one regulator.
Required in this object (required): "compatible", "reg", "interrupts", "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)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.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
tps65219: pmic@30 {
compatible = "ti,tps65219";
reg = <0x30>;
buck1-supply = <&vcc_3v3_sys>;
buck2-supply = <&vcc_3v3_sys>;
buck3-supply = <&vcc_3v3_sys>;
ldo1-supply = <&vcc_3v3_sys>;
ldo2-supply = <&buck2_reg>;
ldo3-supply = <&vcc_3v3_sys>;
ldo4-supply = <&vcc_3v3_sys>;
pinctrl-0 = <&pmic_irq_pins_default>;
interrupt-parent = <&gic500>;
interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
ti,power-button;
regulators {
buck1_reg: buck1 {
regulator-name = "VDD_CORE";
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <750000>;
regulator-boot-on;
regulator-always-on;
};
buck2_reg: buck2 {
regulator-name = "VCC1V8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
regulator-always-on;
};
buck3_reg: buck3 {
regulator-name = "VDD_LPDDR4";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
regulator-boot-on;
regulator-always-on;
};
ldo1_reg: ldo1 {
regulator-name = "VDDSHV_SD_IO_PMIC";
regulator-min-microvolt = <33000000>;
regulator-max-microvolt = <33000000>;
};
ldo2_reg: ldo2 {
regulator-name = "VDDAR_CORE";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <850000>;
regulator-boot-on;
regulator-always-on;
};
ldo3_reg: ldo3 {
regulator-name = "VDDA_1V8";
regulator-min-microvolt = <18000000>;
regulator-max-microvolt = <18000000>;
regulator-boot-on;
regulator-always-on;
};
ldo4_reg: ldo4 {
regulator-name = "VDD_PHY_2V5";
regulator-min-microvolt = <25000000>;
regulator-max-microvolt = <25000000>;
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
Voltage controlled regulators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/vctrl-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "vctrl-regulator"
ctrl-supply — required here #
Regulator supplying the control voltage
ctrl-voltage-range — required here #
Array of two integer values describing the range (min/max) of the control voltage. The values specify the control voltage needed to generate the corresponding regulator-min/max-microvolt output voltage.
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
min-slew-down-rate — not listed as required here #
Describes how slowly the regulator voltage will decay down in the worst case (lightest expected load). Specified in uV / us (like main regulator ramp rate). This value is required when ovp-threshold-percent is specified.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
ovp-threshold-percent — not listed as required here #
Overvoltage protection (OVP) threshold of the regulator in percent. Some regulators have an OVP circuitry which shuts down the regulator when the actual output voltage deviates beyond a certain margin from the expected value for a given control voltage. On larger voltage decreases this can occur undesiredly since the output voltage does not adjust immediately to changes in the control voltage. To avoid this situation the vctrl driver breaks down larger voltage decreases into multiple steps, where each step is within the OVP threshold.
Minimum value (minimum): 0
Maximum value (maximum): 100
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Property dependencies (dependencies) #
ovp-threshold-percent — applies when this property is present #
Also requires: "min-slew-down-rate"
Required in this object (required): "compatible", "ctrl-supply", "ctrl-voltage-range", "regulator-min-microvolt", "regulator-max-microvolt"
Examples (examples) #
vctrl-reg {
compatible = "vctrl-regulator";
regulator-name = "vctrl_reg";
ctrl-supply = <&ctrl_reg>;
ctrl-voltage-range = <200000 500000>;
min-slew-down-rate = <225>;
ovp-threshold-percent = <16>;
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1500000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Qualcomm IPQ4019 VQMMC SD LDO regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/vqmmc-ipq4019-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Robert Marko <robert.marko@sartura.hr>"
Qualcomm IPQ4019 SoC-s feature a built a build SD/EMMC controller, in order to support both 1.8 and 3V I/O voltage levels an LDO controller is also embedded.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,vqmmc-ipq4019-regulator"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
regulator@1948000 {
compatible = "qcom,vqmmc-ipq4019-regulator";
reg = <0x01948000 0x4>;
regulator-name = "vqmmc";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <3000000>;
regulator-always-on;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Cirrus Logic/Wolfson Microelectronics Arizona/Madera class audio SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings
Schema identifier ($id): "http://devicetree.org/schemas/regulator/wlf,arizona.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "patches@opensource.cirrus.com"
These devices are audio SoCs with extensive digital capabilities and a range of analogue I/O.
This document lists regulator specific bindings, see the primary binding document. For Wolfson Microelectronic Arizona codecs ../mfd/wlf,arizona.yaml and for Cirrus Logic Madera codecs ../mfd/madera.txt
Properties and child nodes (properties) #
wlf,ldoena — not listed as required here #
GPIO specifier for the GPIO controlling LDOENA.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Maximum number of items (maxItems): 1
ldo1 — not listed as required here #
Initial data for the LDO1 regulator.
Shared schema rule ($ref): regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
micvdd — not listed as required here #
Initial data for the MICVDD regulator.
Shared schema rule ($ref): regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause