Qualcomm Single-wire Serial Bus Interface (SSBI)

Schema identifier ($id): "http://devicetree.org/schemas/bus/qcom,ssbi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Some Qualcomm MSM devices contain a point-to-point serial bus used to communicate with a limited range of devices (mostly power management chips).

Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <andersson@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,ssbi"

reg — required here #

Maximum number of items (maxItems): 1

qcom,controller-type — required here #

Indicates the SSBI bus variant the controller should use to talk with the slave device. The type chosen is determined by the attached slave.

Allowed values (enum): "ssbi", "ssbi2", "pmic-arbiter"

pmic — not listed as required here #

Shared schema rule ($ref): /schemas/mfd/qcom-pm8xxx.yaml#

Required in this object (required): "compatible", "reg", "qcom,controller-type"

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@c00000 {
    compatible = "qcom,ssbi";
    reg = <0x00c00000 0x1000>;
    qcom,controller-type = "pmic-arbiter";

    pmic {
        compatible = "qcom,pm8821";
        interrupt-parent = <&msmgpio>;
        interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
        #interrupt-cells = <2>;
        interrupt-controller;
        #address-cells = <1>;
        #size-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page