xlnx,video.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Xilinx Video IP Pipeline (VIPP)
  2. -------------------------------
  3. General concept
  4. ---------------
  5. Xilinx video IP pipeline processes video streams through one or more Xilinx
  6. video IP cores. Each video IP core is represented as documented in video.txt
  7. and IP core specific documentation, xlnx,v-*.txt, in this directory. The DT
  8. node of the VIPP represents as a top level node of the pipeline and defines
  9. mappings between DMAs and the video IP cores.
  10. Required properties:
  11. - compatible: Must be "xlnx,video".
  12. - dmas, dma-names: List of one DMA specifier and identifier string (as defined
  13. in Documentation/devicetree/bindings/dma/dma.txt) per port. Each port
  14. requires a DMA channel with the identifier string set to "port" followed by
  15. the port index.
  16. - ports: Video port, using the DT bindings defined in ../video-interfaces.txt.
  17. Required port properties:
  18. - direction: should be either "input" or "output" depending on the direction
  19. of stream.
  20. Example:
  21. video_cap {
  22. compatible = "xlnx,video";
  23. dmas = <&vdma_1 1>, <&vdma_3 1>;
  24. dma-names = "port0", "port1";
  25. ports {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. port@0 {
  29. reg = <0>;
  30. direction = "input";
  31. vcap0_in0: endpoint {
  32. remote-endpoint = <&scaler0_out>;
  33. };
  34. };
  35. port@1 {
  36. reg = <1>;
  37. direction = "input";
  38. vcap0_in1: endpoint {
  39. remote-endpoint = <&switch_out1>;
  40. };
  41. };
  42. };
  43. };