MLK-19017-1 ARM64: dts: imx8mm: re-order display nodes

The devices in the device tree are registered in the
top-down order. But when system suspend entered, the
device tree is walked in a bottom-up order to suspend
devices. So change the display device nodes register
order to be:

    LCDIF -> SEC DSIM -> Display Subsystem

Since in display subystem, it will disable the whole
display pipeline. So this should be first suspended
before LCDIF and SEC DSIM. And besides, the SEC DSIM
is better to be suspended before LCDIF which is the
same with the sequence for display pipeline disables.
And when system resume entered, the devices resume
sequence is:

    LCDIF -> SEC DSIM -> Display Subsystem

Which is a top-down order and is the correct sequence
for display devices resume.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 4ce74783e6a50898a433372f5968175b20d4ef0c)
This commit is contained in:
Fancy Fang
2018-07-18 18:38:26 +08:00
committed by Jason Liu
parent 6a427c8e9c
commit de72f10744

View File

@ -1003,11 +1003,6 @@
};
};
display-subsystem {
compatible = "fsl,imx-display-subsystem";
ports = <&lcdif_disp0>;
};
mipi_dsi: mipi_dsi@32E10000 {
#address-cells = <1>;
#size-cells = <0>;
@ -1033,6 +1028,11 @@
};
};
display-subsystem {
compatible = "fsl,imx-display-subsystem";
ports = <&lcdif_disp0>;
};
pcie0: pcie@0x33800000 {
compatible = "fsl,imx8mm-pcie", "snps,dw-pcie";
reg = <0x0 0x33800000 0x0 0x400000>, <0x0 0x32f00000 0x0 0x10000>,