Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: tegra: Enable video decoder on Tegra114

Add Video Decoder Engine node to Tegra114 device-tree.

Signed-off-by: Anton Bambura <jenneron@protonmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Anton Bambura and committed by
Thierry Reding
e6e39557 a28c1b4f

+37
+37
arch/arm/boot/dts/tegra114.dtsi
··· 17 17 reg = <0x80000000 0x0>; 18 18 }; 19 19 20 + sram@40000000 { 21 + compatible = "mmio-sram"; 22 + reg = <0x40000000 0x40000>; 23 + #address-cells = <1>; 24 + #size-cells = <1>; 25 + ranges = <0 0x40000000 0x40000>; 26 + 27 + vde_pool: sram@400 { 28 + reg = <0x400 0x3fc00>; 29 + pool; 30 + }; 31 + }; 32 + 20 33 host1x@50000000 { 21 34 compatible = "nvidia,tegra114-host1x"; 22 35 reg = <0x50000000 0x00028000>; ··· 264 251 /* 265 252 gpio-ranges = <&pinmux 0 0 246>; 266 253 */ 254 + }; 255 + 256 + vde@6001a000 { 257 + compatible = "nvidia,tegra114-vde"; 258 + reg = <0x6001a000 0x1000>, /* Syntax Engine */ 259 + <0x6001b000 0x1000>, /* Video Bitstream Engine */ 260 + <0x6001c000 0x100>, /* Macroblock Engine */ 261 + <0x6001c200 0x100>, /* Post-processing Engine */ 262 + <0x6001c400 0x100>, /* Motion Compensation Engine */ 263 + <0x6001c600 0x100>, /* Transform Engine */ 264 + <0x6001c800 0x100>, /* Pixel prediction block */ 265 + <0x6001ca00 0x100>, /* Video DMA */ 266 + <0x6001d800 0x400>; /* Video frame controls */ 267 + reg-names = "sxe", "bsev", "mbe", "ppe", "mce", 268 + "tfe", "ppb", "vdma", "frameid"; 269 + iram = <&vde_pool>; /* IRAM region */ 270 + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, /* Sync token interrupt */ 271 + <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, /* BSE-V interrupt */ 272 + <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; /* SXE interrupt */ 273 + interrupt-names = "sync-token", "bsev", "sxe"; 274 + clocks = <&tegra_car TEGRA114_CLK_VDE>; 275 + reset-names = "vde", "mc"; 276 + resets = <&tegra_car 61>, <&mc TEGRA114_MC_RESET_VDE>; 277 + iommus = <&mc TEGRA_SWGROUP_VDE>; 267 278 }; 268 279 269 280 apbmisc@70000800 {