linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: mx53qsb: Enable VPU support
@ 2013-06-28 22:49 Fabio Estevam
  2013-06-28 22:49 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Enable VPU driver Fabio Estevam
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Fabio Estevam @ 2013-06-28 22:49 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Enable Video Processing Unit (VPU) support.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Depends on Philipp Zabel's patch:
[PATCH] ARM: dts: add sram for imx53 and imx6q

Philipp,

I tried using the original mx53 vpu firmware that comes with the FSL BSP, but it
failed to load:

coda 63ff4000.vpu: firmware get command error                                   
coda 63ff4000.vpu: HW initialization failed  

Any suggestions?

Thanks!

 arch/arm/boot/dts/imx53-qsb.dts |  4 ++++
 arch/arm/boot/dts/imx53.dtsi    | 10 ++++++++++
 2 files changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/imx53-qsb.dts b/arch/arm/boot/dts/imx53-qsb.dts
index 512a1f6..eedd27e 100644
--- a/arch/arm/boot/dts/imx53-qsb.dts
+++ b/arch/arm/boot/dts/imx53-qsb.dts
@@ -297,6 +297,10 @@
 	status = "okay";
 };
 
+&vpu {
+	status = "okay";
+};
+
 &usbh1 {
        status = "okay";
 };
diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
index 3def46f..f94d4e5 100644
--- a/arch/arm/boot/dts/imx53.dtsi
+++ b/arch/arm/boot/dts/imx53.dtsi
@@ -1086,6 +1086,16 @@
 				crtcs = <&ipu 1>;
 				status = "disabled";
 			};
+
+			vpu: vpu at 63ff4000 {
+				compatible = "fsl,imx53-vpu";
+				reg = <0x63ff4000 0x1000>;
+				interrupts = <9>;
+				clocks = <&clks 63>, <&clks 63>;
+				clock-names = "per", "ahb";
+				iram = <&ocram>;
+				status = "disabled";
+			};
 		};
 
 		ocram: ocram at f8000000 {
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-02-06 19:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-28 22:49 [PATCH 1/2] ARM: dts: mx53qsb: Enable VPU support Fabio Estevam
2013-06-28 22:49 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Enable VPU driver Fabio Estevam
2013-06-29  4:49 ` [PATCH 1/2] ARM: dts: mx53qsb: Enable VPU support Matt Sealey
2013-07-01  7:07   ` Philipp Zabel
2013-07-01 12:56 ` Philipp Zabel
2013-07-01 13:46   ` Fabio Estevam
2013-07-01 13:59     ` Fabio Estevam
2013-07-01 14:06     ` Philipp Zabel
2013-07-01 22:55   ` Robert Schwebel
2016-02-06 19:54   ` Gary Bisson
2013-07-01 13:05 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).