Arun Kumar K | 2eae613 | 2012-10-23 22:51:33 +0900 | [diff] [blame] | 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. |
Sachin Kamat | dc3c835 | 2013-04-10 19:01:51 +0900 | [diff] [blame] | 18 | - clocks : from common clock binding: handle to mfc clocks. |
| 19 | - clock-names : from common clock binding: must contain "sclk_mfc" and "mfc", |
| 20 | corresponding to entries in the clocks property. |
Arun Kumar K | 2eae613 | 2012-10-23 22:51:33 +0900 | [diff] [blame] | 21 | |
| 22 | - samsung,mfc-r : Base address of the first memory bank used by MFC |
| 23 | for DMA contiguous memory allocation and its size. |
| 24 | |
| 25 | - samsung,mfc-l : Base address of the second memory bank used by MFC |
| 26 | for DMA contiguous memory allocation and its size. |
Sachin Kamat | 43afcba | 2013-02-08 13:56:06 -0800 | [diff] [blame] | 27 | |
| 28 | Optional properties: |
| 29 | - samsung,power-domain : power-domain property defined with a phandle |
| 30 | to respective power domain. |
| 31 | |
| 32 | Example: |
| 33 | SoC specific DT entry: |
| 34 | |
| 35 | mfc: codec@13400000 { |
| 36 | compatible = "samsung,mfc-v5"; |
| 37 | reg = <0x13400000 0x10000>; |
| 38 | interrupts = <0 94 0>; |
| 39 | samsung,power-domain = <&pd_mfc>; |
Sachin Kamat | dc3c835 | 2013-04-10 19:01:51 +0900 | [diff] [blame] | 40 | clocks = <&clock 170>, <&clock 273>; |
| 41 | clock-names = "sclk_mfc", "mfc"; |
Sachin Kamat | 43afcba | 2013-02-08 13:56:06 -0800 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | Board specific DT entry: |
| 45 | |
| 46 | codec@13400000 { |
| 47 | samsung,mfc-r = <0x43000000 0x800000>; |
| 48 | samsung,mfc-l = <0x51000000 0x800000>; |
| 49 | }; |