^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/hwlock/qcom-hwspinlock.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: Qualcomm Hardware Mutex Block
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Bjorn Andersson <bjorn.andersson@linaro.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) The hardware block provides mutexes utilized between different processors on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) the SoC as part of the communication protocol used by these processors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) enum:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - qcom,sfpb-mutex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - qcom,tcsr-mutex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) '#hwlock-cells':
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) const: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) - '#hwlock-cells'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) tcsr_mutex: hwlock@1f40000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) compatible = "qcom,tcsr-mutex";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) reg = <0x01f40000 0x40000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) #hwlock-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) ...