From fecab9ef2b91edbdcfb0e6a1dc50fe3e246f28be Mon Sep 17 00:00:00 2001 From: Vikash Garodia Date: Wed, 22 Jul 2026 19:11:18 +0530 Subject: [PATCH] dt-bindings: media: qcom,venus-common: Add IOMMU IOVA reservation region Update the memory-region property to support two regions: 1. Firmware-loaded codec carveout (existing) 2. IOMMU IOVA reservation region (new) The IOMMU IOVA reservation region is required to restrict usage of specific IOVA memory range. For example, VPU restricts usage of 600MB for specific streams, which could otherwise lead to device crash. This change allows platforms to define separate memory regions for codec carveout and IOVA restrictions. This schema update supports existing DTS having single memory-region, thereby allowing gradual migration of DTS to support two memory region. Signed-off-by: Vikash Garodia Reviewed-by: Bryan O'Donoghue Reviewed-by: Krzysztof Kozlowski Reviewed-by: Bryan O'Donoghue Signed-off-by: Bryan O'Donoghue --- .../devicetree/bindings/media/qcom,venus-common.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/qcom,venus-common.yaml b/Documentation/devicetree/bindings/media/qcom,venus-common.yaml index 59a3fde846d2..0be2f9119e78 100644 --- a/Documentation/devicetree/bindings/media/qcom,venus-common.yaml +++ b/Documentation/devicetree/bindings/media/qcom,venus-common.yaml @@ -37,7 +37,10 @@ properties: maxItems: 20 memory-region: - maxItems: 1 + minItems: 1 + items: + - description: Firmware-loaded codec carveout + - description: IOMMU IOVA reservation region power-domains: minItems: 1 -- knotmirror 0.0.1