From 0eaf4bb77ad9a875df59d58391415c1435bd2bdc Mon Sep 17 00:00:00 2001 From: Pradnya Dahiwale Date: Tue, 18 Jun 2024 15:48:20 +0530 Subject: [PATCH] dt-bindings: Add remoteproc AoN binding documentation This commit adds a device tree binding documentation for the AoN subsystem. The documentation includes details about the properties, usage and examples of the binding. Change-Id: Ic4d4ec8d0ea1fc9b83cc0369fc0df06f6631f329 Signed-off-by: Pradnya Dahiwale --- bindings/remoteproc/qcom,slate.yaml | 45 +++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 bindings/remoteproc/qcom,slate.yaml diff --git a/bindings/remoteproc/qcom,slate.yaml b/bindings/remoteproc/qcom,slate.yaml new file mode 100644 index 00000000..f0361170 --- /dev/null +++ b/bindings/remoteproc/qcom,slate.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/qcom,slate.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. SLATE Peripheral Image Loader + +maintainers: + - Pradnya Dahiwale + +description: + This document defines the binding for a component that loads and boots + firmware on the Qualcomm Technologies, Inc. SLATE core. + +properties: + compatible: + const: qcom,rproc-slate + + qcom,firmware-name: + $ref: /schemas/types.yaml#/definitions/string + description: Firmware name for the AoN core + + qcom,slate2ap-status-gpio: + description: IRQ used by SLATE to inturrupt MSM. + + qcom,ap2slate-status-gpio: + description: IRQ used by MSM to interrupt SLATE. + +required: + - compatible + +additionalProperties: false + +examples: + - | + aon_pas:qcom,rproc-slate { + compatible = "qcom,rproc-slate"; + qcom,firmware-name = "slatefw.mdt"; + /* GPIO inputs from blackghost */ + qcom,slate2ap-status-gpio = <&tlmm 98 0>; + /* GPIO output to blackghost */ + qcom,ap2slate-status-gpio = <&tlmm 97 0>; + }; +