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