From f2a981c62f7a4ffcb6dec3f9f0a34fca8eb73973 Mon Sep 17 00:00:00 2001 From: Fancy Fang Date: Mon, 26 Aug 2019 11:50:36 +0800 Subject: 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 --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'arch/arm64/boot/dts/freescale/imx8mm.dtsi') diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 15f9bba379d3..4c37907db197 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -385,11 +385,6 @@ interrupt-name = "irq_busfreq_0", "irq_busfreq_1", "irq_busfreq_2", "irq_busfreq_3"; }; - display-subsystem { - compatible = "fsl,imx-display-subsystem"; - ports = <&lcdif_disp0>; - }; - soc@0 { compatible = "simple-bus"; #address-cells = <1>; @@ -1042,6 +1037,11 @@ reg = <0x32e28000 0x100>; }; + display-subsystem { + compatible = "fsl,imx-display-subsystem"; + ports = <&lcdif_disp0>; + }; + usbotg1: usb@32e40000 { compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; reg = <0x32e40000 0x200>; -- cgit v1.2.3