Commit 00361133 authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Mauro Carvalho Chehab

[media] s5p-mfc: Add support for MFC v8 available in Exynos 5433 SoCs

Exynos5433 SoC has MFC v8 hardware module, but it has more
complex clock hierarchy, so a new compatible is added.
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 1bce6fb3
...@@ -12,6 +12,7 @@ Required properties: ...@@ -12,6 +12,7 @@ Required properties:
(b) "samsung,mfc-v6" for MFC v6 present in Exynos5 SoCs (b) "samsung,mfc-v6" for MFC v6 present in Exynos5 SoCs
(c) "samsung,mfc-v7" for MFC v7 present in Exynos5420 SoC (c) "samsung,mfc-v7" for MFC v7 present in Exynos5420 SoC
(d) "samsung,mfc-v8" for MFC v8 present in Exynos5800 SoC (d) "samsung,mfc-v8" for MFC v8 present in Exynos5800 SoC
(e) "samsung,exynos5433-mfc" for MFC v8 present in Exynos5433 SoC
- reg : Physical base address of the IP registers and length of memory - reg : Physical base address of the IP registers and length of memory
mapped region. mapped region.
......
...@@ -1531,6 +1531,17 @@ static struct s5p_mfc_variant mfc_drvdata_v8 = { ...@@ -1531,6 +1531,17 @@ static struct s5p_mfc_variant mfc_drvdata_v8 = {
.num_clocks = 1, .num_clocks = 1,
}; };
static struct s5p_mfc_variant mfc_drvdata_v8_5433 = {
.version = MFC_VERSION_V8,
.version_bit = MFC_V8_BIT,
.port_num = MFC_NUM_PORTS_V8,
.buf_size = &buf_size_v8,
.buf_align = &mfc_buf_align_v8,
.fw_name[0] = "s5p-mfc-v8.fw",
.clk_names = {"pclk", "aclk", "aclk_xiu"},
.num_clocks = 3,
};
static const struct of_device_id exynos_mfc_match[] = { static const struct of_device_id exynos_mfc_match[] = {
{ {
.compatible = "samsung,mfc-v5", .compatible = "samsung,mfc-v5",
...@@ -1544,6 +1555,9 @@ static const struct of_device_id exynos_mfc_match[] = { ...@@ -1544,6 +1555,9 @@ static const struct of_device_id exynos_mfc_match[] = {
}, { }, {
.compatible = "samsung,mfc-v8", .compatible = "samsung,mfc-v8",
.data = &mfc_drvdata_v8, .data = &mfc_drvdata_v8,
}, {
.compatible = "samsung,exynos5433-mfc",
.data = &mfc_drvdata_v8_5433,
}, },
{}, {},
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment