-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'media_tree/vsp1' into generic-zpos-v8
- Loading branch information
Showing
122 changed files
with
7,425 additions
and
7,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
* Mediatek Video Processor Unit | ||
|
||
Video Processor Unit is a HW video controller. It controls HW Codec including | ||
H.264/VP8/VP9 Decode, H.264/VP8 Encode and Image Processor (scale/rotate/color convert). | ||
|
||
Required properties: | ||
- compatible: "mediatek,mt8173-vpu" | ||
- reg: Must contain an entry for each entry in reg-names. | ||
- reg-names: Must include the following entries: | ||
"tcm": tcm base | ||
"cfg_reg": Main configuration registers base | ||
- interrupts: interrupt number to the cpu. | ||
- clocks : clock name from clock manager | ||
- clock-names: must be main. It is the main clock of VPU | ||
|
||
Optional properties: | ||
- memory-region: phandle to a node describing memory (see | ||
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt) | ||
to be used for VPU extended memory; if not present, VPU may be located | ||
anywhere in the memory | ||
|
||
Example: | ||
vpu: vpu@10020000 { | ||
compatible = "mediatek,mt8173-vpu"; | ||
reg = <0 0x10020000 0 0x30000>, | ||
<0 0x10050000 0 0x100>; | ||
reg-names = "tcm", "cfg_reg"; | ||
interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&topckgen TOP_SCP_SEL>; | ||
clock-names = "main"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Renesas R-Car Frame Compression Processor (FCP) | ||
----------------------------------------------- | ||
|
||
The FCP is a companion module of video processing modules in the Renesas R-Car | ||
Gen3 SoCs. It provides data compression and decompression, data caching, and | ||
conversion of AXI transactions in order to reduce the memory bandwidth. | ||
|
||
There are three types of FCP: FCP for Codec (FCPC), FCP for VSP (FCPV) and FCP | ||
for FDP (FCPF). Their configuration and behaviour depend on the module they | ||
are paired with. These DT bindings currently support the FCPV only. | ||
|
||
- compatible: Must be one or more of the following | ||
|
||
- "renesas,r8a7795-fcpv" for R8A7795 (R-Car H3) compatible 'FCP for VSP' | ||
- "renesas,fcpv" for generic compatible 'FCP for VSP' | ||
|
||
When compatible with the generic version, nodes must list the | ||
SoC-specific version corresponding to the platform first, followed by the | ||
family-specific and/or generic versions. | ||
|
||
- reg: the register base and size for the device registers | ||
- clocks: Reference to the functional clock | ||
|
||
|
||
Device node example | ||
------------------- | ||
|
||
fcpvd1: fcp@fea2f000 { | ||
compatible = "renesas,r8a7795-fcpv", "renesas,fcpv"; | ||
reg = <0 0xfea2f000 0 0x200>; | ||
clocks = <&cpg CPG_MOD 602>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.