From b8bc34e76c0c1a288ae5822df608de9066769249 Mon Sep 17 00:00:00 2001 From: Sheik Anwar Shabic Y Date: Fri, 13 Oct 2023 12:23:29 +0530 Subject: [PATCH] ARM: dts: msm: Add entry for hdcp smcinvoke enablement Add entry for hdcp smcinvoke interface enablement. Change-Id: Id815d8c4577bdf8f68f6b0f20844bbcc3b4f716e Signed-off-by: Sheik Anwar Shabic Y --- bindings/hdcp/hdcp.yaml | 33 +++++++++++++++++++++++++++++++++ qcom/sun.dtsi | 5 +++++ 2 files changed, 38 insertions(+) create mode 100644 bindings/hdcp/hdcp.yaml diff --git a/bindings/hdcp/hdcp.yaml b/bindings/hdcp/hdcp.yaml new file mode 100644 index 00000000..626613e8 --- /dev/null +++ b/bindings/hdcp/hdcp.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hdcp/hdcp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hdcp driver + +maintainers: + - Sheik Anwar Shabic Y + +properties: + compatible: + enum: + - qcom,hdcp + + qcom,use-smcinvoke: + description: + Indicates hdcp driver to TZ communication is smcInvoke based. + +required: + - compatible + - qcom,use-smcinvoke + + +additionalProperties: false + +examples: + - | + qcom,hdcp { + compatible = "qcom,hdcp"; + qcom,use-smcinvoke = <1>; + }; diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 2062db7f..6c0e57f8 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -735,6 +735,11 @@ qcom,vmid = <3>; }; + qcom,hdcp { + compatible = "qcom,hdcp"; + qcom,use-smcinvoke = <1>; + }; + qcom,mem-buf-msgq { compatible = "qcom,mem-buf-msgq"; };