Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / media / s5p-mfc.txt
1 * Samsung Multi Format Codec (MFC)
2
3 Multi Format Codec (MFC) is the IP present in Samsung SoCs which
4 supports high resolution decoding and encoding functionalities.
5 The MFC device driver is a v4l2 driver which can encode/decode
6 video raw/elementary streams and has support for all popular
7 video codecs.
8
9 Required 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
14   - reg : Physical base address of the IP registers and length of memory
15           mapped region.
16
17   - interrupts : MFC interrupt number to the CPU.
18
19   - samsung,mfc-r : Base address of the first memory bank used by MFC
20                     for DMA contiguous memory allocation and its size.
21
22   - samsung,mfc-l : Base address of the second memory bank used by MFC
23                     for DMA contiguous memory allocation and its size.
24
25 Optional properties:
26   - samsung,power-domain : power-domain property defined with a phandle
27                            to respective power domain.
28
29 Example:
30 SoC specific DT entry:
31
32 mfc: codec@13400000 {
33         compatible = "samsung,mfc-v5";
34         reg = <0x13400000 0x10000>;
35         interrupts = <0 94 0>;
36         samsung,power-domain = <&pd_mfc>;
37 };
38
39 Board specific DT entry:
40
41 codec@13400000 {
42         samsung,mfc-r = <0x43000000 0x800000>;
43         samsung,mfc-l = <0x51000000 0x800000>;
44 };