Skip to content

Commit e4183d3

Browse files
ezequielgarciamchehab
authored andcommitted
media: dt-bindings: Document the Rockchip VPU bindings
Add devicetree binding documentation for Rockchip Video Processing Unit IP. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
1 parent 50e7615 commit e4183d3

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
device-tree bindings for rockchip VPU codec
2+
3+
Rockchip (Video Processing Unit) present in various Rockchip platforms,
4+
such as RK3288 and RK3399.
5+
6+
Required properties:
7+
- compatible: value should be one of the following
8+
"rockchip,rk3288-vpu";
9+
"rockchip,rk3399-vpu";
10+
- interrupts: encoding and decoding interrupt specifiers
11+
- interrupt-names: should be "vepu" and "vdpu"
12+
- clocks: phandle to VPU aclk, hclk clocks
13+
- clock-names: should be "aclk" and "hclk"
14+
- power-domains: phandle to power domain node
15+
- iommus: phandle to a iommu node
16+
17+
Example:
18+
SoC-specific DT entry:
19+
vpu: video-codec@ff9a0000 {
20+
compatible = "rockchip,rk3288-vpu";
21+
reg = <0x0 0xff9a0000 0x0 0x800>;
22+
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
23+
<GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
24+
interrupt-names = "vepu", "vdpu";
25+
clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
26+
clock-names = "aclk", "hclk";
27+
power-domains = <&power RK3288_PD_VIDEO>;
28+
iommus = <&vpu_mmu>;
29+
};

0 commit comments

Comments
 (0)