Maxim MAX8973/MAX77621 voltage regulator
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