1* Samsung Multi Format Codec (MFC) 2 3Multi Format Codec (MFC) is the IP present in Samsung SoCs which 4supports high resolution decoding and encoding functionalities. 5The MFC device driver is a v4l2 driver which can encode/decode 6video raw/elementary streams and has support for all popular 7video codecs. 8 9Required properties: 10 - compatible : value should be either one among the following 11 (a) "samsung,mfc-v5" for MFC v5 present in Exynos4 SoCs 12 (b) "samsung,mfc-v6" for MFC v6 present in Exynos5 SoCs 13 (c) "samsung,exynos3250-mfc", "samsung,mfc-v7" for MFC v7 14 present in Exynos3250 SoC 15 (d) "samsung,mfc-v7" for MFC v7 present in Exynos5420 SoC 16 (e) "samsung,mfc-v8" for MFC v8 present in Exynos5800 SoC 17 (f) "samsung,exynos5433-mfc" for MFC v8 present in Exynos5433 SoC 18 (g) "samsung,mfc-v10" for MFC v10 present in Exynos7880 SoC 19 20 - reg : Physical base address of the IP registers and length of memory 21 mapped region. 22 23 - interrupts : MFC interrupt number to the CPU. 24 - clocks : from common clock binding: handle to mfc clock. 25 - clock-names : from common clock binding: must contain "mfc", 26 corresponding to entry in the clocks property. 27 28Optional properties: 29 - power-domains : power-domain property defined with a phandle 30 to respective power domain. 31 - memory-region : from reserved memory binding: phandles to two reserved 32 memory regions, first is for "left" mfc memory bus interfaces, 33 second if for the "right" mfc memory bus, used when no SYSMMU 34 support is available; used only by MFC v5 present in Exynos4 SoCs 35 36Obsolete properties: 37 - samsung,mfc-r, samsung,mfc-l : support removed, please use memory-region 38 property instead 39 40 41Example: 42SoC specific DT entry: 43 44mfc: codec@13400000 { 45 compatible = "samsung,mfc-v5"; 46 reg = <0x13400000 0x10000>; 47 interrupts = <0 94 0>; 48 power-domains = <&pd_mfc>; 49 clocks = <&clock 273>; 50 clock-names = "mfc"; 51}; 52 53Reserved memory specific DT entry for given board (see reserved memory binding 54for more information): 55 56reserved-memory { 57 #address-cells = <1>; 58 #size-cells = <1>; 59 ranges; 60 61 mfc_left: region@51000000 { 62 compatible = "shared-dma-pool"; 63 no-map; 64 reg = <0x51000000 0x800000>; 65 }; 66 67 mfc_right: region@43000000 { 68 compatible = "shared-dma-pool"; 69 no-map; 70 reg = <0x43000000 0x800000>; 71 }; 72}; 73 74Board specific DT entry: 75 76codec@13400000 { 77 memory-region = <&mfc_left>, <&mfc_right>; 78}; 79