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,mfc-v7" for MFC v7 present in Exynos5420 SoC 14 (d) "samsung,mfc-v8" for MFC v8 present in Exynos5800 SoC 15 16 - reg : Physical base address of the IP registers and length of memory 17 mapped region. 18 19 - interrupts : MFC interrupt number to the CPU. 20 - clocks : from common clock binding: handle to mfc clock. 21 - clock-names : from common clock binding: must contain "mfc", 22 corresponding to entry in the clocks property. 23 24 - samsung,mfc-r : Base address of the first memory bank used by MFC 25 for DMA contiguous memory allocation and its size. 26 27 - samsung,mfc-l : Base address of the second memory bank used by MFC 28 for DMA contiguous memory allocation and its size. 29 30Optional properties: 31 - power-domains : power-domain property defined with a phandle 32 to respective power domain. 33 34Example: 35SoC specific DT entry: 36 37mfc: codec@13400000 { 38 compatible = "samsung,mfc-v5"; 39 reg = <0x13400000 0x10000>; 40 interrupts = <0 94 0>; 41 power-domains = <&pd_mfc>; 42 clocks = <&clock 273>; 43 clock-names = "mfc"; 44}; 45 46Board specific DT entry: 47 48codec@13400000 { 49 samsung,mfc-r = <0x43000000 0x800000>; 50 samsung,mfc-l = <0x51000000 0x800000>; 51}; 52