Commit 56613e71 authored by Jonas Karlman's avatar Jonas Karlman Committed by Mauro Carvalho Chehab

media: dt-bindings: rockchip: Document RK3328 VPU binding

Update devicetree binding documentation for Rockchip VPU on RK3328.
Signed-off-by: default avatarJonas Karlman <jonas@kwiboo.se>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent bdd03405
device-tree bindings for rockchip VPU codec device-tree bindings for rockchip VPU codec
Rockchip (Video Processing Unit) present in various Rockchip platforms, Rockchip (Video Processing Unit) present in various Rockchip platforms,
such as RK3288 and RK3399. such as RK3288, RK3328 and RK3399.
Required properties: Required properties:
- compatible: value should be one of the following - compatible: value should be one of the following
"rockchip,rk3288-vpu"; "rockchip,rk3288-vpu";
"rockchip,rk3328-vpu";
"rockchip,rk3399-vpu"; "rockchip,rk3399-vpu";
- interrupts: encoding and decoding interrupt specifiers - interrupts: encoding and decoding interrupt specifiers
- interrupt-names: should be "vepu" and "vdpu" - interrupt-names: should be
"vepu", "vdpu" on RK3288 and RK3399,
"vdpu" on RK3328.
- clocks: phandle to VPU aclk, hclk clocks - clocks: phandle to VPU aclk, hclk clocks
- clock-names: should be "aclk" and "hclk" - clock-names: should be "aclk" and "hclk"
- power-domains: phandle to power domain node - power-domains: phandle to power domain node
...@@ -27,3 +30,14 @@ SoC-specific DT entry: ...@@ -27,3 +30,14 @@ SoC-specific DT entry:
power-domains = <&power RK3288_PD_VIDEO>; power-domains = <&power RK3288_PD_VIDEO>;
iommus = <&vpu_mmu>; iommus = <&vpu_mmu>;
}; };
vpu: video-codec@ff350000 {
compatible = "rockchip,rk3328-vpu";
reg = <0x0 0xff350000 0x0 0x800>;
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "vdpu";
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
clock-names = "aclk", "hclk";
power-domains = <&power RK3328_PD_VPU>;
iommus = <&vpu_mmu>;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment