1 * Mediatek Video Processor Unit 1 * Mediatek Video Processor Unit 2 2 3 Video Processor Unit is a HW video controller. 3 Video Processor Unit is a HW video controller. It controls HW Codec including 4 H.264/VP8/VP9 Decode, H.264/VP8 Encode and Ima 4 H.264/VP8/VP9 Decode, H.264/VP8 Encode and Image Processor (scale/rotate/color convert). 5 5 6 Required properties: 6 Required properties: 7 - compatible: "mediatek,mt8173-vpu" 7 - compatible: "mediatek,mt8173-vpu" 8 - reg: Must contain an entry for each entry 8 - reg: Must contain an entry for each entry in reg-names. 9 - reg-names: Must include the following entr 9 - reg-names: Must include the following entries: 10 "tcm": tcm base 10 "tcm": tcm base 11 "cfg_reg": Main configuration registers ba 11 "cfg_reg": Main configuration registers base 12 - interrupts: interrupt number to the cpu. 12 - interrupts: interrupt number to the cpu. 13 - clocks : clock name from clock manager 13 - clocks : clock name from clock manager 14 - clock-names: must be main. It is the main 14 - clock-names: must be main. It is the main clock of VPU 15 15 16 Optional properties: 16 Optional properties: 17 - memory-region: phandle to a node describin 17 - memory-region: phandle to a node describing memory (see 18 Documentation/devicetree/bindings/reserved 18 Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt) 19 to be used for VPU extended memory; if not 19 to be used for VPU extended memory; if not present, VPU may be located 20 anywhere in the memory 20 anywhere in the memory 21 21 22 Example: 22 Example: 23 vpu: vpu@10020000 { 23 vpu: vpu@10020000 { 24 compatible = "mediatek,mt8173- 24 compatible = "mediatek,mt8173-vpu"; 25 reg = <0 0x10020000 0 0x30000> 25 reg = <0 0x10020000 0 0x30000>, 26 <0 0x10050000 0 0x100>; 26 <0 0x10050000 0 0x100>; 27 reg-names = "tcm", "cfg_reg"; 27 reg-names = "tcm", "cfg_reg"; 28 interrupts = <GIC_SPI 166 IRQ_ 28 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>; 29 clocks = <&topckgen TOP_SCP_SE 29 clocks = <&topckgen TOP_SCP_SEL>; 30 clock-names = "main"; 30 clock-names = "main"; 31 }; 31 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.