]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: dts: mt8173: Fix mdp device tree
authorDaniel Kurtz <djkurtz@chromium.org>
Tue, 23 May 2017 03:24:10 +0000 (11:24 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 8 Jun 2017 13:19:04 +0000 (15:19 +0200)
commit8127881f741dbbf9a1da9e9bc59133820160b217
tree6dea4050799717e1cfb16449a4c700fac2ebcf8b
parentc6c301d3ff7531894257acc4f4a73928a109bda1
arm64: dts: mt8173: 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>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8173.dtsi