Qualcomm PM8xxx PMIC multi-function devices
Schema identifier ($id): "http://devicetree.org/schemas/mfd/qcom-pm8xxx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Satya Priya <quic_c_skakit@quicinc.com>"
The PM8xxx family of Power Management ICs are used to provide regulated voltages and other various functionality to Qualcomm SoCs.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"qcom,pm8058","qcom,pm8821","qcom,pm8901","qcom,pm8921"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,pm8921"
reg — not listed as required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
interrupts — required here #
Maximum number of items (maxItems): 1
#interrupt-cells — required here #
Exact value (const): 2
interrupt-controller — required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
gpio@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/pinctrl/qcom,pmic-gpio.yaml#
keypad@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/input/qcom,pm8921-keypad.yaml#
led@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/leds/qcom,pm8058-led.yaml#
mpps@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/pinctrl/qcom,pmic-mpp.yaml#
pwrkey@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/input/qcom,pm8921-pwrkey.yaml#
rtc@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/rtc/qcom-pm8xxx-rtc.yaml#
vibrator@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/input/qcom,pm8xxx-vib.yaml#
xoadc@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/iio/adc/qcom,pm8018-adc.yaml#
Required in this object (required): "compatible", "#address-cells", "#size-cells", "interrupts", "#interrupt-cells", "interrupt-controller"
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>
ssbi {
#address-cells = <1>;
#size-cells = <0>;
pmic@0 {
compatible = "qcom,pm8921";
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
interrupt-controller;
#interrupt-cells = <2>;
interrupt-parent = <&tlmm>;
interrupts = <32 IRQ_TYPE_EDGE_RISING>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)