2012-10-23 22:51:33 +09:00
* Samsung Multi Format Codec (MFC)
Multi Format Codec (MFC) is the IP present in Samsung SoCs which
supports high resolution decoding and encoding functionalities.
The MFC device driver is a v4l2 driver which can encode/decode
video raw/elementary streams and has support for all popular
video codecs.
Required properties:
- compatible : value should be either one among the following
(a) "samsung,mfc-v5" for MFC v5 present in Exynos4 SoCs
(b) "samsung,mfc-v6" for MFC v6 present in Exynos5 SoCs
2014-05-19 09:50:01 -03:00
(c) "samsung,mfc-v7" for MFC v7 present in Exynos5420 SoC
(d) "samsung,mfc-v8" for MFC v8 present in Exynos5800 SoC
2016-11-16 07:04:58 -02:00
(e) "samsung,exynos5433-mfc" for MFC v8 present in Exynos5433 SoC
2018-02-02 07:25:38 -05:00
(f) "samsung,mfc-v10" for MFC v10 present in Exynos7880 SoC
2012-10-23 22:51:33 +09:00
- reg : Physical base address of the IP registers and length of memory
mapped region.
- interrupts : MFC interrupt number to the CPU.
2013-08-19 04:43:00 +09:00
- clocks : from common clock binding: handle to mfc clock.
- clock-names : from common clock binding: must contain "mfc",
corresponding to entry in the clocks property.
2012-10-23 22:51:33 +09:00
2013-02-08 13:56:06 -08:00
Optional properties:
2015-01-24 13:16:15 +09:00
- power-domains : power-domain property defined with a phandle
2013-02-08 13:56:06 -08:00
to respective power domain.
2016-05-24 15:31:25 +02:00
- memory-region : from reserved memory binding: phandles to two reserved
memory regions, first is for "left" mfc memory bus interfaces,
second if for the "right" mfc memory bus, used when no SYSMMU
2017-02-13 08:58:14 -02:00
support is available; used only by MFC v5 present in Exynos4 SoCs
2016-05-24 15:31:25 +02:00
Obsolete properties:
- samsung,mfc-r, samsung,mfc-l : support removed, please use memory-region
property instead
2013-02-08 13:56:06 -08:00
Example:
SoC specific DT entry:
mfc: codec@13400000 {
compatible = "samsung,mfc-v5";
reg = <0x13400000 0x10000>;
interrupts = <0 94 0>;
2015-01-24 13:16:15 +09:00
power-domains = <&pd_mfc>;
2013-08-19 04:43:00 +09:00
clocks = <&clock 273>;
clock-names = "mfc";
2013-02-08 13:56:06 -08:00
};
2016-05-24 15:31:25 +02:00
Reserved memory specific DT entry for given board (see reserved memory binding
for more information):
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
mfc_left: region@51000000 {
compatible = "shared-dma-pool";
no-map;
reg = <0x51000000 0x800000>;
};
mfc_right: region@43000000 {
compatible = "shared-dma-pool";
no-map;
reg = <0x43000000 0x800000>;
};
};
2013-02-08 13:56:06 -08:00
Board specific DT entry:
codec@13400000 {
2016-05-24 15:31:25 +02:00
memory-region = <&mfc_left>, <&mfc_right>;
2013-02-08 13:56:06 -08:00
};