diff --git a/bindings/soc/qcom/qcom,secure-buffer.yaml b/bindings/soc/qcom/qcom,secure-buffer.yaml index f4fc40003f2b..acf73ff89425 100644 --- a/bindings/soc/qcom/qcom,secure-buffer.yaml +++ b/bindings/soc/qcom/qcom,secure-buffer.yaml @@ -19,6 +19,12 @@ properties: items: - const: qcom,secure-buffer + qcom,vmid-cp-camera-preview-ro: + $ref: /schemas/types.yaml#/definitions/flag + description: + Buffers accessible to VMID_CP_CAMERA_PREVIEW must be mapped with + read-only permissions. + required: - compatible diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 92cbfe27c466..b1aecf09e4ed 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -2735,6 +2735,7 @@ qcom-secure-buffer { compatible = "qcom,secure-buffer"; + qcom,vmid-cp-camera-preview-ro; }; qcom-mem-buf {