From ffb39c49976a69e0ee9b61b3857b198eba6bcf9e Mon Sep 17 00:00:00 2001 From: Melody Olvera Date: Mon, 8 May 2023 10:03:16 -0700 Subject: [PATCH] dt-bindings: soc: qcom: Add documentation for ipcc-self-ping Add documentation for ipcc-self-ping mechanism. Change-Id: I2da1ff238024c701b73a3d37c8fa4cf8a42afb40 Signed-off-by: Melody Olvera --- bindings/soc/qcom/qcom,ipcc-self-ping.yaml | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 bindings/soc/qcom/qcom,ipcc-self-ping.yaml diff --git a/bindings/soc/qcom/qcom,ipcc-self-ping.yaml b/bindings/soc/qcom/qcom,ipcc-self-ping.yaml new file mode 100644 index 00000000..e4fab9b8 --- /dev/null +++ b/bindings/soc/qcom/qcom,ipcc-self-ping.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/bindings/soc/qcom/qcom,ipcc-self-ping.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: The document describes the device tree binding for testing the IPCC + +maintainers: + - Melody Olvera + +description: |+ + For details on the IPCC driver, please see qcom-ipcc.yam; + +properties: + compatible: + items: + - const: qcom,ipcc-self-ping + + interrupts: + minItems: 1 + + mboxes: + minItems: 1 + +required: + - compatible + - interrupts + - mboxes + +additionalProperties: false + +example: + - | + ipcc_self_ping: ipcc-self-ping { + compatible = "qcom,ipcc-self-ping"; + interrupts-extended = <&ipcc_mproc IPCC_CLIENT_APSS + IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_LEVEL_HIGH>; + mboxes = <&ipcc_mproc IPCC_CLIENT_APSS IPCC_MPROC_SIGNAL_SMP2P>; + };