nvidia,tegra-vde.txt 2.0 KB

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