Merge tag 'v4.19-rc1' into asoc-4.19
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / media / nvidia,tegra-vde.txt
1 NVIDIA Tegra Video Decoder Engine
2
3 Required properties:
4 - compatible : Must contain one of the following values:
5    - "nvidia,tegra20-vde"
6    - "nvidia,tegra30-vde"
7    - "nvidia,tegra114-vde"
8    - "nvidia,tegra124-vde"
9    - "nvidia,tegra132-vde"
10 - reg : Must contain an entry for each entry in reg-names.
11 - reg-names : Must include the following entries:
12   - sxe
13   - bsev
14   - mbe
15   - ppe
16   - mce
17   - tfe
18   - ppb
19   - vdma
20   - frameid
21 - iram : Must contain phandle to the mmio-sram device node that represents
22          IRAM region used by VDE.
23 - interrupts : Must contain an entry for each entry in interrupt-names.
24 - interrupt-names : Must include the following entries:
25   - sync-token
26   - bsev
27   - sxe
28 - clocks : Must include the following entries:
29   - vde
30 - resets : Must contain an entry for each entry in reset-names.
31 - reset-names : Should include the following entries:
32   - vde
33
34 Optional properties:
35 - resets : Must contain an entry for each entry in reset-names.
36 - reset-names : Must include the following entries:
37   - mc
38
39 Example:
40
41 video-codec@6001a000 {
42         compatible = "nvidia,tegra20-vde";
43         reg = <0x6001a000 0x1000 /* Syntax Engine */
44                0x6001b000 0x1000 /* Video Bitstream Engine */
45                0x6001c000  0x100 /* Macroblock Engine */
46                0x6001c200  0x100 /* Post-processing Engine */
47                0x6001c400  0x100 /* Motion Compensation Engine */
48                0x6001c600  0x100 /* Transform Engine */
49                0x6001c800  0x100 /* Pixel prediction block */
50                0x6001ca00  0x100 /* Video DMA */
51                0x6001d800  0x300 /* Video frame controls */>;
52         reg-names = "sxe", "bsev", "mbe", "ppe", "mce",
53                     "tfe", "ppb", "vdma", "frameid";
54         iram = <&vde_pool>; /* IRAM region */
55         interrupts = <GIC_SPI  9 IRQ_TYPE_LEVEL_HIGH>, /* Sync token interrupt */
56                      <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, /* BSE-V interrupt */
57                      <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; /* SXE interrupt */
58         interrupt-names = "sync-token", "bsev", "sxe";
59         clocks = <&tegra_car TEGRA20_CLK_VDE>;
60         reset-names = "vde", "mc";
61         resets = <&tegra_car 61>, <&mc TEGRA20_MC_RESET_VDE>;
62 };