Loading Documentation/devicetree/bindings/arm/msm/msm_ion.txt +17 −4 Original line number Diff line number Diff line Loading @@ -17,6 +17,17 @@ configurations. Required properties for Ion heaps - reg: The ID of the ION heap. - qcom,ion-heap-type: The heap type to use for this heap. Should be one of the following: - "SYSTEM" - "SYSTEM_CONTIG" - "CARVEOUT" - "CHUNK" - "IOMMU" - "CP" - "DMA" - "SECURE_DMA" - "REMOVED" Optional properties for Ion heaps Loading @@ -34,16 +45,17 @@ Example: #address-cells = <1>; #size-cells = <0>; qcom,ion-heap@30 { /* SYSTEM HEAP */ qcom,ion-heap@30 { reg = <30>; qcom,ion-heap-type = "SYSTEM"; }; qcom,ion-heap@8 { /* CP_MM HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <8>; qcom,heap-align = <0x1000>; qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ qcom,memory-reservation-size = <0x7800000>; linux,contiguous-region = <&secure_mem>; qcom,ion-heap-type = "SECURE_DMA"; }; qcom,ion-heap@29 { /* FIRMWARE HEAP */ Loading @@ -53,5 +65,6 @@ Example: qcom,heap-adjacent = <8>; qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ qcom,memory-reservation-size = <0xA00000>; qcom,ion-heap-type = "CARVEOUT"; }; }; arch/arm/boot/dts/apq8074-v1-ion.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ reg = <23>; qcom,heap-align = <0x1000>; qcom,memory-fixed = <0x0dc00000 0x1e00000>; qcom,ion-heap-type = "CARVEOUT"; }; }; }; arch/arm/boot/dts/apq8074-v2.0-1-ion.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ reg = <23>; qcom,heap-align = <0x1000>; qcom,memory-fixed = <0x0dc00000 0x1e00000>; qcom,ion-heap-type = "CARVEOUT"; }; }; }; arch/arm/boot/dts/apq8074-v2.2-ion.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ reg = <23>; qcom,heap-align = <0x1000>; qcom,memory-fixed = <0x0dc00000 0x1e00000>; qcom,ion-heap-type = "CARVEOUT"; }; }; }; arch/arm/boot/dts/apq8084-ion.dtsi +9 −3 Original line number Diff line number Diff line Loading @@ -16,16 +16,19 @@ #address-cells = <1>; #size-cells = <0>; qcom,ion-heap@30 { /* SYSTEM HEAP */ qcom,ion-heap@30 { reg = <30>; qcom,ion-heap-type = "SYSTEM"; }; qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ qcom,ion-heap@21 { reg = <21>; qcom,ion-heap-type = "SYSTEM_CONTIG"; }; qcom,ion-heap@25 { /* IOMMU HEAP */ qcom,ion-heap@25 { reg = <25>; qcom,ion-heap-type = "IOMMU"; }; qcom,ion-heap@8 { /* CP_MM HEAP */ Loading @@ -33,6 +36,7 @@ reg = <8>; qcom,heap-align = <0x1000>; linux,contiguous-region = <&secure_mem>; qcom,ion-heap-type = "SECURE_DMA"; }; qcom,ion-heap@23 { /* OTHER PIL HEAP */ Loading @@ -40,12 +44,14 @@ reg = <23>; qcom,heap-align = <0x1000>; qcom,memory-fixed = <0x0db00000 0x1d00000>; qcom,ion-heap-type = "CARVEOUT"; }; qcom,ion-heap@27 { /* QSECOM HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <27>; linux,contiguous-region = <&qsecom_mem>; qcom,ion-heap-type = "DMA"; }; }; }; Loading
Documentation/devicetree/bindings/arm/msm/msm_ion.txt +17 −4 Original line number Diff line number Diff line Loading @@ -17,6 +17,17 @@ configurations. Required properties for Ion heaps - reg: The ID of the ION heap. - qcom,ion-heap-type: The heap type to use for this heap. Should be one of the following: - "SYSTEM" - "SYSTEM_CONTIG" - "CARVEOUT" - "CHUNK" - "IOMMU" - "CP" - "DMA" - "SECURE_DMA" - "REMOVED" Optional properties for Ion heaps Loading @@ -34,16 +45,17 @@ Example: #address-cells = <1>; #size-cells = <0>; qcom,ion-heap@30 { /* SYSTEM HEAP */ qcom,ion-heap@30 { reg = <30>; qcom,ion-heap-type = "SYSTEM"; }; qcom,ion-heap@8 { /* CP_MM HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <8>; qcom,heap-align = <0x1000>; qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ qcom,memory-reservation-size = <0x7800000>; linux,contiguous-region = <&secure_mem>; qcom,ion-heap-type = "SECURE_DMA"; }; qcom,ion-heap@29 { /* FIRMWARE HEAP */ Loading @@ -53,5 +65,6 @@ Example: qcom,heap-adjacent = <8>; qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ qcom,memory-reservation-size = <0xA00000>; qcom,ion-heap-type = "CARVEOUT"; }; };
arch/arm/boot/dts/apq8074-v1-ion.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ reg = <23>; qcom,heap-align = <0x1000>; qcom,memory-fixed = <0x0dc00000 0x1e00000>; qcom,ion-heap-type = "CARVEOUT"; }; }; };
arch/arm/boot/dts/apq8074-v2.0-1-ion.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ reg = <23>; qcom,heap-align = <0x1000>; qcom,memory-fixed = <0x0dc00000 0x1e00000>; qcom,ion-heap-type = "CARVEOUT"; }; }; };
arch/arm/boot/dts/apq8074-v2.2-ion.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ reg = <23>; qcom,heap-align = <0x1000>; qcom,memory-fixed = <0x0dc00000 0x1e00000>; qcom,ion-heap-type = "CARVEOUT"; }; }; };
arch/arm/boot/dts/apq8084-ion.dtsi +9 −3 Original line number Diff line number Diff line Loading @@ -16,16 +16,19 @@ #address-cells = <1>; #size-cells = <0>; qcom,ion-heap@30 { /* SYSTEM HEAP */ qcom,ion-heap@30 { reg = <30>; qcom,ion-heap-type = "SYSTEM"; }; qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ qcom,ion-heap@21 { reg = <21>; qcom,ion-heap-type = "SYSTEM_CONTIG"; }; qcom,ion-heap@25 { /* IOMMU HEAP */ qcom,ion-heap@25 { reg = <25>; qcom,ion-heap-type = "IOMMU"; }; qcom,ion-heap@8 { /* CP_MM HEAP */ Loading @@ -33,6 +36,7 @@ reg = <8>; qcom,heap-align = <0x1000>; linux,contiguous-region = <&secure_mem>; qcom,ion-heap-type = "SECURE_DMA"; }; qcom,ion-heap@23 { /* OTHER PIL HEAP */ Loading @@ -40,12 +44,14 @@ reg = <23>; qcom,heap-align = <0x1000>; qcom,memory-fixed = <0x0db00000 0x1d00000>; qcom,ion-heap-type = "CARVEOUT"; }; qcom,ion-heap@27 { /* QSECOM HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <27>; linux,contiguous-region = <&qsecom_mem>; qcom,ion-heap-type = "DMA"; }; }; };