From db6f61dcafe9f769c35545384176af5889b556c6 Mon Sep 17 00:00:00 2001 From: Ting Li Date: Mon, 18 Feb 2019 18:45:27 +0800 Subject: [PATCH] picdec: add picdec dev node for u200 u211 u212 w400 sm1 [1/1] PD#SWPL-4551 Problem: ImagePlayer cannot play picture Solution: add picdec dev node for u200 u211 u212 w400 Verify: franklin Change-Id: I35cc28e2ab06367f33a7326ce671b1ee461e6fb1 Signed-off-by: xi an Signed-off-by: li ting --- arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts | 15 +++++++++++++++ arch/arm64/boot/dts/amlogic/sm1_s905d3_skt.dts | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts b/arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts index 4eb5c6f3108e..23a98ed3a0c8 100644 --- a/arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts +++ b/arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts @@ -269,6 +269,21 @@ status = "okay"; }; + picdec_cma_reserved:linux,picdec { + compatible = "shared-dma-pool"; + reusable; + size = <0x0>; + alignment = <0x0>; + linux,contiguous-region; + }; + + picdec { + compatible = "amlogic, picdec"; + memory-region = <&picdec_cma_reserved>; + dev_name = "picdec"; + status = "okay"; + }; + ppmgr { compatible = "amlogic, ppmgr"; memory-region = <&ppmgr_reserved>; diff --git a/arch/arm64/boot/dts/amlogic/sm1_s905d3_skt.dts b/arch/arm64/boot/dts/amlogic/sm1_s905d3_skt.dts index 02082c476e50..8c0bf56759f2 100644 --- a/arch/arm64/boot/dts/amlogic/sm1_s905d3_skt.dts +++ b/arch/arm64/boot/dts/amlogic/sm1_s905d3_skt.dts @@ -269,6 +269,21 @@ status = "okay"; }; + picdec_cma_reserved:linux,picdec { + compatible = "shared-dma-pool"; + reusable; + size = <0x0>; + alignment = <0x0>; + linux,contiguous-region; + }; + + picdec { + compatible = "amlogic, picdec"; + memory-region = <&picdec_cma_reserved>; + dev_name = "picdec"; + status = "okay"; + }; + ppmgr { compatible = "amlogic, ppmgr"; memory-region = <&ppmgr_reserved>;