44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
From 7f8607ba9a20f8ddb5c24559d9b875af762d4717 Mon Sep 17 00:00:00 2001
|
|
From: "Miouyouyou (Myy)" <myy@miouyouyou.fr>
|
|
Date: Tue, 11 Sep 2018 02:55:55 +0200
|
|
Subject: [PATCH] ARM: dtsi: The VPU service as defined in the V4L2 driver
|
|
|
|
Let's try the V4L2 road.
|
|
They've got a lot of things ready, like an entire H264
|
|
movie with the V4L2 data of *every frame*.
|
|
|
|
That might help in this endless endeavour.
|
|
|
|
Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
|
|
---
|
|
arch/arm/boot/dts/rk3288.dtsi | 13 ++++++++++++-
|
|
1 file changed, 12 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
|
|
index 72c36af6..d23c7fa5 100644
|
|
--- a/arch/arm/boot/dts/rk3288.dtsi
|
|
+++ b/arch/arm/boot/dts/rk3288.dtsi
|
|
@@ -1246,7 +1246,18 @@
|
|
clock-names = "aclk", "iface";
|
|
power-domains = <&power RK3288_PD_VIDEO>;
|
|
#iommu-cells = <0>;
|
|
- status = "disabled";
|
|
+ };
|
|
+
|
|
+ vpu: video-codec@ff9a0000 {
|
|
+ clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
|
|
+ clock-names = "aclk", "hclk";
|
|
+ compatible = "rockchip,rk3288-vpu";
|
|
+ interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "vepu", "vdpu";
|
|
+ iommus = <&vpu_mmu>;
|
|
+ power-domains = <&power RK3288_PD_VIDEO>;
|
|
+ reg = <0x0 0xff9a0000 0x0 0x800>;
|
|
};
|
|
|
|
hevc_mmu: iommu@ff9c0440 {
|
|
--
|
|
2.16.4
|
|
|