new file mode 100644
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/qcom/qcom,rpmh-rsc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm Trusted Execution Environment UEFI Secure Application
+
+maintainers:
+ - Maximilian Luz <luzmaximilian@gmail.com>
+
+description: |
+ Various Qualcomm SoCs do not allow direct access to UEFI variables. Instead,
+ these need to be accessed via the UEFI Secure Application (uefisecapp),
+ residing in the Trusted Execution Environment (TrEE). These bindings mark the
+ presence of uefisecapp and allow the respective client driver to load and
+ install efivar operations, providing the kernel with access to UEFI
+ variables.
+
+properties:
+ compatible:
+ const: qcom,tee-uefisecapp
+
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ firmware {
+ scm {
+ compatible = "qcom,scm-sc8180x", "qcom,scm";
+ };
+ tee-uefisecapp {
+ compatible = "qcom,tee-uefisecapp";
+ };
+ };
@@ -16607,6 +16607,7 @@ QUALCOMM UEFISECAPP DRIVER
M: Maximilian Luz <luzmaximilian@gmail.com>
L: linux-arm-msm@vger.kernel.org
S: Maintained
+F: Documentation/devicetree/bindings/firmware/qcom,tee-uefisecapp.yaml
F: drivers/firmware/qcom_tee_uefisecapp.c
QUALCOMM VENUS VIDEO ACCELERATOR DRIVER
Add bindings for the Qualcomm Trusted Execution Environment (TrEE) UEFI Secure application (uefisecapp) client. Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com> --- .../firmware/qcom,tee-uefisecapp.yaml | 38 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/qcom,tee-uefisecapp.yaml