ARM: dts: exynos: Add MFC memory banks for Peach boards
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 28 Apr 2016 19:21:50 +0000 (15:21 -0400)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 6 May 2016 14:00:58 +0000 (16:00 +0200)
The MFC nodes with the memory regions reserved for memory allocations
are missing in the Exynos5420 Peach Pit and Exynos5800 Peach Pi DTS.

This causes the s5p-mfc driver probe to fail with the following error:

[    4.140647] s5p_mfc_alloc_memdevs:1072: Failed to declare coherent memory for MFC device
[    4.216163] s5p-mfc: probe of 11000000.codec failed with error -12

Add the missing nodes so the driver probes and the {en,de}coder video
nodes are registered correctly:

[    4.096277] s5p-mfc 11000000.codec: decoder registered as /dev/video4
[    4.102282] s5p-mfc 11000000.codec: encoder registered as /dev/video5

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/boot/dts/exynos5420-peach-pit.dts
arch/arm/boot/dts/exynos5800-peach-pi.dts

index 3981ddb..e036e64 100644 (file)
        status = "okay";
 };
 
+&mfc {
+       samsung,mfc-r = <0x43000000 0x800000>;
+       samsung,mfc-l = <0x51000000 0x800000>;
+};
+
 &mmc_0 {
        status = "okay";
        num-slots = <1>;
index 6e9edc1..f959925 100644 (file)
        status = "okay";
 };
 
+&mfc {
+       samsung,mfc-r = <0x43000000 0x800000>;
+       samsung,mfc-l = <0x51000000 0x800000>;
+};
+
 &mmc_0 {
        status = "okay";
        num-slots = <1>;