From 9ba1cac52b4eadf0598e66b10eaa47443e03f38c Mon Sep 17 00:00:00 2001 From: Harshdeep Dhatt Date: Tue, 7 Jan 2020 20:37:05 -0700 Subject: [PATCH] ARM: dts: msm: Move apps_rsc before interconnect devices This helps prevent unnecessary EPROBE_DEFER of the interconnect devices because they have dependency on apps_bcm_voter device which is a child device of the apps_rsc devicetree node. Change-Id: I5f29473813b6e39766915d919e9bf5e2e83adf79 --- qcom/lahaina.dtsi | 62 +++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index a8e01dfd7419..6a7904d9e1a9 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -1057,6 +1057,37 @@ 0x18040060 0x18050060 0x18060060 0x18070060>; }; + apps_rsc: rsc@18200000 { + label = "apps_rsc"; + compatible = "qcom,rpmh-rsc"; + reg = <0x18200000 0x10000>, + <0x18210000 0x10000>, + <0x18220000 0x10000>; + reg-names = "drv-0", "drv-1", "drv-2"; + interrupts = , + , + ; + qcom,tcs-offset = <0xd00>; + qcom,drv-id = <2>; + qcom,tcs-config = , + , + , + ; + + apps_bcm_voter: bcm_voter { + compatible = "qcom,bcm-voter"; + }; + + system_pm { + compatible = "qcom,system-pm"; + }; + + clock_rpmh: qcom,rpmhclk { + compatible = "qcom,lahaina-rpmh-clk"; + #clock-cells = <1>; + }; + }; + aggre1_noc: interconnect@16e0000 { compatible = "qcom,lahaina-aggre1_noc"; #interconnect-cells = <1>; @@ -1439,37 +1470,6 @@ interrupt-controller; }; - apps_rsc: rsc@18200000 { - label = "apps_rsc"; - compatible = "qcom,rpmh-rsc"; - reg = <0x18200000 0x10000>, - <0x18210000 0x10000>, - <0x18220000 0x10000>; - reg-names = "drv-0", "drv-1", "drv-2"; - interrupts = , - , - ; - qcom,tcs-offset = <0xd00>; - qcom,drv-id = <2>; - qcom,tcs-config = , - , - , - ; - - apps_bcm_voter: bcm_voter { - compatible = "qcom,bcm-voter"; - }; - - system_pm { - compatible = "qcom,system-pm"; - }; - - clock_rpmh: qcom,rpmhclk { - compatible = "qcom,lahaina-rpmh-clk"; - #clock-cells = <1>; - }; - }; - disp_rsc: rsc@af20000 { status = "disabled"; label = "disp_rsc";