Monolithic Power Systems MP8867/MP8869 voltage regulator
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)