s5p-mfc.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. * Samsung Multi Format Codec (MFC)
  2. Multi Format Codec (MFC) is the IP present in Samsung SoCs which
  3. supports high resolution decoding and encoding functionalities.
  4. The MFC device driver is a v4l2 driver which can encode/decode
  5. video raw/elementary streams and has support for all popular
  6. video codecs.
  7. Required properties:
  8. - compatible : value should be either one among the following
  9. (a) "samsung,mfc-v5" for MFC v5 present in Exynos4 SoCs
  10. (b) "samsung,mfc-v6" for MFC v6 present in Exynos5 SoCs
  11. - reg : Physical base address of the IP registers and length of memory
  12. mapped region.
  13. - interrupts : MFC interrupt number to the CPU.
  14. - clocks : from common clock binding: handle to mfc clocks.
  15. - clock-names : from common clock binding: must contain "sclk_mfc" and "mfc",
  16. corresponding to entries in the clocks property.
  17. - samsung,mfc-r : Base address of the first memory bank used by MFC
  18. for DMA contiguous memory allocation and its size.
  19. - samsung,mfc-l : Base address of the second memory bank used by MFC
  20. for DMA contiguous memory allocation and its size.
  21. Optional properties:
  22. - samsung,power-domain : power-domain property defined with a phandle
  23. to respective power domain.
  24. Example:
  25. SoC specific DT entry:
  26. mfc: codec@13400000 {
  27. compatible = "samsung,mfc-v5";
  28. reg = <0x13400000 0x10000>;
  29. interrupts = <0 94 0>;
  30. samsung,power-domain = <&pd_mfc>;
  31. clocks = <&clock 170>, <&clock 273>;
  32. clock-names = "sclk_mfc", "mfc";
  33. };
  34. Board specific DT entry:
  35. codec@13400000 {
  36. samsung,mfc-r = <0x43000000 0x800000>;
  37. samsung,mfc-l = <0x51000000 0x800000>;
  38. };