Merge tag 'defconfig-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.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         (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
30 Optional properties:
31   - power-domains : power-domain property defined with a phandle
32                            to respective power domain.
33
34 Example:
35 SoC specific DT entry:
36
37 mfc: 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
46 Board specific DT entry:
47
48 codec@13400000 {
49         samsung,mfc-r = <0x43000000 0x800000>;
50         samsung,mfc-l = <0x51000000 0x800000>;
51 };