Qualcomm SPMI Controller (PMIC Arbiter)
Schema identifier ($id): "http://devicetree.org/schemas/spmi/qcom,spmi-pmic-arb.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>"
The SPMI PMIC Arbiter is found on Snapdragon chipsets. It is an SPMI controller with wrapping arbitration logic to allow for multiple on-chip devices to control a single SPMI master.
The PMIC Arbiter can also act as an interrupt controller, providing interrupts to slave devices.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):spmi.yaml
Rule 2 #
Shared schema rule (
$ref):qcom,spmi-pmic-arb-common.yaml
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,spmi-pmic-arb"
reg — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
core registers
Item 2
interrupt controller registers
Item 3
configuration registers
Rule 2
Array item rules (
items)Item 1
core registers
Item 2
tx-channel per virtual slave regosters
Item 3
rx-channel (called observer) per virtual slave registers
Item 4
interrupt controller registers
Item 5
configuration registers
reg-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"core"Item 2
Exact value (
const):"intr"Item 3
Exact value (
const):"cnfg"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"core"Item 2
Exact value (
const):"chnls"Item 3
Exact value (
const):"obsrvr"Item 4
Exact value (
const):"intr"Item 5
Exact value (
const):"cnfg"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
interrupt-names — not listed as required here #
Exact value (const): "periph_irq"
interrupt-controller — not listed as required here #
true — No constraints added by this property rule.
#address-cells — not listed as required here #
true — No constraints added by this property rule.
#interrupt-cells — not listed as required here #
Exact value (const): 4
cell 1: slave ID for the requested interrupt (0-15)
cell 2: peripheral ID for requested interrupt (0-255)
cell 3: the requested peripheral interrupt (0-7)
cell 4: interrupt flags indicating level-sense information,
as defined in dt-bindings/interrupt-controller/irq.h
#size-cells — not listed as required here #
true — No constraints added by this property rule.
qcom,bus-id — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 1
SPMI bus instance. only applicable to PMIC arbiter version 7 and beyond. Supported values, 0 = primary bus, 1 = secondary bus
Deprecated (deprecated): true
Required in this object (required): "compatible", "reg-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
spmi@fc4cf000 {
compatible = "qcom,spmi-pmic-arb";
reg-names = "core", "intr", "cnfg";
reg = <0xfc4cf000 0x1000>,
<0xfc4cb000 0x1000>,
<0xfc4ca000 0x1000>;
interrupt-names = "periph_irq";
interrupts = <0 190 0>;
qcom,ee = <0>;
qcom,channel = <0>;
#address-cells = <2>;
#size-cells = <0>;
interrupt-controller;
#interrupt-cells = <4>;
qcom,bus-id = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 30: V1
Line 34: V2