1
0
Fork 0
remarkable-linux/drivers/media/platform/mtk-mdp
Daniel Kurtz ba1f1f70c2 [media] media: mtk-mdp: Fix mdp device tree
If the mdp_* nodes are under an mdp sub-node, their corresponding
platform device does not automatically get its iommu assigned properly.

Fix this by moving the mdp component nodes up a level such that they are
siblings of mdp and all other SoC subsystems.  This also simplifies the
device tree.

Although it fixes iommu assignment issue, it also break compatibility
with old device tree. So, the patch in driver is needed to iterate over
sibling mdp device nodes, not child ones, to keep driver work properly.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Minghsiu Tsai <minghsiu.tsai@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-06-07 12:31:53 -03:00
..
Makefile
mtk_mdp_comp.c
mtk_mdp_comp.h
mtk_mdp_core.c [media] media: mtk-mdp: Fix mdp device tree 2017-06-07 12:31:53 -03:00
mtk_mdp_core.h [media] mtk-mdp: allocate video_device dynamically 2016-11-22 05:42:29 -02:00
mtk_mdp_ipi.h
mtk_mdp_m2m.c [media] mtk-mdp: allocate video_device dynamically 2016-11-22 05:42:29 -02:00
mtk_mdp_m2m.h
mtk_mdp_regs.c [media] media: mtk-mdp: support pixelformat V4L2_PIX_FMT_MT21C 2016-10-21 12:09:48 -02:00
mtk_mdp_regs.h
mtk_mdp_vpu.c [media] mtk-mdp: fix double mutex_unlock 2016-10-21 12:09:53 -02:00
mtk_mdp_vpu.h