Qualcomm Hardware Mutex Block

Schema identifier ($id): "http://devicetree.org/schemas/hwlock/qcom-hwspinlock.yaml#"

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

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

The hardware block provides mutexes utilized between different processors on the SoC as part of the communication protocol used by these processors.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,sfpb-mutex", "qcom,tcsr-mutex"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,apq8084-tcsr-mutex", "qcom,ipq6018-tcsr-mutex", "qcom,msm8226-tcsr-mutex", "qcom,msm8994-tcsr-mutex"

Item 2

Exact value (const): "qcom,tcsr-mutex"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "qcom,msm8974-tcsr-mutex"

Item 2

Exact value (const): "qcom,tcsr-mutex"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#hwlock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#hwlock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

hwlock@1f40000 {
    compatible = "qcom,tcsr-mutex";
    reg = <0x01f40000 0x40000>;
    #hwlock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page