From 3cba16a2dcfe63482faa4467770202cf19385b1a Mon Sep 17 00:00:00 2001 From: Chris Goldsworthy Date: Mon, 7 Jun 2021 08:40:20 -0700 Subject: [PATCH 1/2] dt-bindings: Document the qcom,uncached-heap property For non-secure heaps, this property dictates if the memory of the heap is mapped as uncached when mapped in user space or the kernel. Change-Id: I2002fa48aa588e88468089983e5aeb02644ed4eb --- bindings/arm/msm/qcom_dma_heap.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bindings/arm/msm/qcom_dma_heap.yaml b/bindings/arm/msm/qcom_dma_heap.yaml index 2b0c3a22..05fef3a2 100644 --- a/bindings/arm/msm/qcom_dma_heap.yaml +++ b/bindings/arm/msm/qcom_dma_heap.yaml @@ -43,6 +43,11 @@ patternProperties: description: | The heap type to use for this heap. + qcom,uncached-heap: + Usage: optional + Value type: + Definition: Denotes whether this heap provides uncached memory or not. + qcom,dynamic-heap: Usage: optional Value type: From 37bc9279424db39ec1c6a1ed155988e8a5faf4a2 Mon Sep 17 00:00:00 2001 From: Chris Goldsworthy Date: Mon, 7 Jun 2021 08:41:31 -0700 Subject: [PATCH 2/2] dt-bindings: Add missing heap type in the DMA-BUF Heap bindings Add the HEAP_TYPE_CARVEOUT type for the qcom,dma-heap-type property. Change-Id: Idce7c3738dd7d49841992360aecd397520ecc759 --- bindings/arm/msm/qcom_dma_heap.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/arm/msm/qcom_dma_heap.yaml b/bindings/arm/msm/qcom_dma_heap.yaml index 05fef3a2..cdea124b 100644 --- a/bindings/arm/msm/qcom_dma_heap.yaml +++ b/bindings/arm/msm/qcom_dma_heap.yaml @@ -39,6 +39,7 @@ patternProperties: items: - enum: - HEAP_TYPE_SECURE_CARVEOUT + - HEAP_TYPE_CARVEOUT - HEAP_TYPE_CMA description: | The heap type to use for this heap.