MAX8925 PMIC from Maxim Integrated.
Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max8925.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lee Jones <lee@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "maxim,max8925"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
interrupt-controller — required here #
true — No constraints added by this property rule.
#interrupt-cells — required here #
Exact value (const): 1
The cell is the IRQ number
maxim,tsc-irq — not listed as required here #
second interrupt from max8925
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
regulators — required here #
Value type (type): "object"
Properties matching a name pattern (patternProperties) #
^SDV[1-3]$|^LDO[1-9]$|^LDO1[0-9]$|^LDO20$ — name matches this regular expression
regulator configuration for SDV1-3 and LDO1-20
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.
backlight — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
maxim,max8925-dual-string — not listed as required here
set to 1 to support dual string
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
charger — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
batt-detect — not listed as required here
set to 1 if battery detection via ID pin is supported
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
topoff-threshold — not listed as required here
charging current in topoff mode, configures bits 5-6 in CHG_CNTL1
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
Default value (default): 0
fast-charge — not listed as required here
set charging current in fast mode, configures bits 0-3 in CHG_CNTL1
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 7
Default value (default): 0
no-temp-support — not listed as required here
set to 1 if temperature sensing is not supported
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
no-insert-detect — not listed as required here
set to 1 if AC detection is not supported
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "#interrupt-cells", "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 = "maxim,max8925";
reg = <0x3c>;
interrupts = <1>;
interrupt-parent = <&intcmux4>;
interrupt-controller;
#interrupt-cells = <1>;
maxim,tsc-irq = <0>;
regulators {
SDV1 {
regulator-min-microvolt = <637500>;
regulator-max-microvolt = <1425000>;
regulator-boot-on;
regulator-always-on;
};
LDO1 {
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <3900000>;
regulator-boot-on;
regulator-always-on;
};
};
backlight {
maxim,max8925-dual-string = <0>;
};
charger {
batt-detect = <0>;
topoff-threshold = <1>;
fast-charge = <7>;
no-temp-support = <0>;
no-insert-detect = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)