picdec: add dts config for tl1_t962x2_x301 [1/1]
authorTing Li <ting.li@amlogic.com>
Fri, 30 Nov 2018 02:33:36 +0000 (10:33 +0800)
committerGuosong Zhou <guosong.zhou@amlogic.com>
Thu, 20 Dec 2018 08:02:36 +0000 (03:02 -0500)
PD#SWPL-2656

Problem:
cannot play picture

Solution:
add dts config for tl1_t962x2_x301

Verify:
verify by tl1_t962x2_x301

Change-Id: I02265b33e0f2eaffc5741371ae45579effc8df47
Signed-off-by: Ting Li <ting.li@amlogic.com>
arch/arm/boot/dts/amlogic/tl1_pxp.dts
arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts
arch/arm/boot/dts/amlogic/tl1_t962x2_t309.dts
arch/arm/boot/dts/amlogic/tl1_t962x2_x301.dts

index 074ccde..55f4968 100644 (file)
                        compatible = "amlogic, ppmgr_memory";
                        size = <0x0>;
                };
+
+               picdec_cma_reserved:linux,picdec {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0>;
+                       alignment = <0x0>;
+                       linux,contiguous-region;
+               };
        }; /* end of reserved-memory */
 
        codec_mm {
                memory-region = <&codec_mm_cma &codec_mm_reserved>;
        };
 
+       picdec {
+               compatible = "amlogic, picdec";
+               memory-region = <&picdec_cma_reserved>;
+               dev_name = "picdec";
+               status = "okay";
+       };
+
        ppmgr {
                compatible = "amlogic, ppmgr";
                memory-region = <&ppmgr_reserved>;
index 2e9c671..ab9422e 100644 (file)
                        compatible = "amlogic, ppmgr_memory";
                        size = <0x0>;
                };
+
+               picdec_cma_reserved:linux,picdec {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0>;
+                       alignment = <0x0>;
+                       linux,contiguous-region;
+               };
        }; /* end of reserved-memory */
 
        codec_mm {
                memory-region = <&codec_mm_cma &codec_mm_reserved>;
        };
 
+       picdec {
+               compatible = "amlogic, picdec";
+               memory-region = <&picdec_cma_reserved>;
+               dev_name = "picdec";
+               status = "okay";
+       };
+
        ppmgr {
                compatible = "amlogic, ppmgr";
                memory-region = <&ppmgr_reserved>;
index 317aeda..39fa1c6 100644 (file)
                        compatible = "amlogic, ppmgr_memory";
                        size = <0x0>;
                };
+
+               picdec_cma_reserved:linux,picdec {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0>;
+                       alignment = <0x0>;
+                       linux,contiguous-region;
+               };
        }; /* end of reserved-memory */
 
        codec_mm {
                memory-region = <&codec_mm_cma &codec_mm_reserved>;
        };
 
+       picdec {
+               compatible = "amlogic, picdec";
+               memory-region = <&picdec_cma_reserved>;
+               dev_name = "picdec";
+               status = "okay";
+       };
+
        ppmgr {
                compatible = "amlogic, ppmgr";
                memory-region = <&ppmgr_reserved>;
index 3494d32..fea3ec1 100644 (file)
                        compatible = "amlogic, ppmgr_memory";
                        size = <0x0>;
                };
+
+               picdec_cma_reserved:linux,picdec {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0>;
+                       alignment = <0x0>;
+                       linux,contiguous-region;
+               };
        }; /* end of reserved-memory */
 
        codec_mm {
                memory-region = <&codec_mm_cma &codec_mm_reserved>;
        };
 
+       picdec {
+               compatible = "amlogic, picdec";
+               memory-region = <&picdec_cma_reserved>;
+               dev_name = "picdec";
+               status = "okay";
+       };
+
        ppmgr {
                compatible = "amlogic, ppmgr";
                memory-region = <&ppmgr_reserved>;