s5p-mfc.txt 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. (c) "samsung,mfc-v7" for MFC v7 present in Exynos5420 SoC
  12. (d) "samsung,mfc-v8" for MFC v8 present in Exynos5800 SoC
  13. - reg : Physical base address of the IP registers and length of memory
  14. mapped region.
  15. - interrupts : MFC interrupt number to the CPU.
  16. - clocks : from common clock binding: handle to mfc clock.
  17. - clock-names : from common clock binding: must contain "mfc",
  18. corresponding to entry in the clocks property.
  19. Optional properties:
  20. - power-domains : power-domain property defined with a phandle
  21. to respective power domain.
  22. - memory-region : from reserved memory binding: phandles to two reserved
  23. memory regions, first is for "left" mfc memory bus interfaces,
  24. second if for the "right" mfc memory bus, used when no SYSMMU
  25. support is available
  26. Obsolete properties:
  27. - samsung,mfc-r, samsung,mfc-l : support removed, please use memory-region
  28. property instead
  29. Example:
  30. SoC specific DT entry:
  31. mfc: codec@13400000 {
  32. compatible = "samsung,mfc-v5";
  33. reg = <0x13400000 0x10000>;
  34. interrupts = <0 94 0>;
  35. power-domains = <&pd_mfc>;
  36. clocks = <&clock 273>;
  37. clock-names = "mfc";
  38. };
  39. Reserved memory specific DT entry for given board (see reserved memory binding
  40. for more information):
  41. reserved-memory {
  42. #address-cells = <1>;
  43. #size-cells = <1>;
  44. ranges;
  45. mfc_left: region@51000000 {
  46. compatible = "shared-dma-pool";
  47. no-map;
  48. reg = <0x51000000 0x800000>;
  49. };
  50. mfc_right: region@43000000 {
  51. compatible = "shared-dma-pool";
  52. no-map;
  53. reg = <0x43000000 0x800000>;
  54. };
  55. };
  56. Board specific DT entry:
  57. codec@13400000 {
  58. memory-region = <&mfc_left>, <&mfc_right>;
  59. };