Skip to content

Commit 56613e7

Browse files
Kwiboomchehab
authored andcommitted
media: dt-bindings: rockchip: Document RK3328 VPU binding
Update devicetree binding documentation for Rockchip VPU on RK3328. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent bdd0340 commit 56613e7

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

Documentation/devicetree/bindings/media/rockchip-vpu.txt

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
device-tree bindings for rockchip VPU codec
22

33
Rockchip (Video Processing Unit) present in various Rockchip platforms,
4-
such as RK3288 and RK3399.
4+
such as RK3288, RK3328 and RK3399.
55

66
Required properties:
77
- compatible: value should be one of the following
88
"rockchip,rk3288-vpu";
9+
"rockchip,rk3328-vpu";
910
"rockchip,rk3399-vpu";
1011
- interrupts: encoding and decoding interrupt specifiers
11-
- interrupt-names: should be "vepu" and "vdpu"
12+
- interrupt-names: should be
13+
"vepu", "vdpu" on RK3288 and RK3399,
14+
"vdpu" on RK3328.
1215
- clocks: phandle to VPU aclk, hclk clocks
1316
- clock-names: should be "aclk" and "hclk"
1417
- power-domains: phandle to power domain node
@@ -27,3 +30,14 @@ SoC-specific DT entry:
2730
power-domains = <&power RK3288_PD_VIDEO>;
2831
iommus = <&vpu_mmu>;
2932
};
33+
34+
vpu: video-codec@ff350000 {
35+
compatible = "rockchip,rk3328-vpu";
36+
reg = <0x0 0xff350000 0x0 0x800>;
37+
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
38+
interrupt-names = "vdpu";
39+
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
40+
clock-names = "aclk", "hclk";
41+
power-domains = <&power RK3328_PD_VPU>;
42+
iommus = <&vpu_mmu>;
43+
};

0 commit comments

Comments
 (0)