From 73350bfaaefeb40204de2e46583d89711b66898e Mon Sep 17 00:00:00 2001 From: Rajeev Nandan Date: Mon, 24 May 2021 16:48:34 +0530 Subject: [PATCH] ARM: dts: qcom: add thermal cooling dev property under mdss_mdp on Holi The display connector_init fails if the thermal cooling device property "#cooling-cells" is not present under the mdss_mdp DT node. Earlier this property used to be defined in "-thermal-overlay.dtsi" file, because of this, sometimes it gets missed. Looking at the code of the sde_connector, it appears the "#cooling-cells" is a mandatory property of the mdss_mdp. Add this property under mdss_mdp DT node. Change-Id: Icd4b076e0c718327df762f0dae10347162fa2299 --- display/holi-sde.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/display/holi-sde.dtsi b/display/holi-sde.dtsi index 6b9b4af31c3f..17db671487d1 100644 --- a/display/holi-sde.dtsi +++ b/display/holi-sde.dtsi @@ -88,6 +88,9 @@ }; &mdss_mdp { + /* Enable thermal cooling device */ + #cooling-cells = <2>; + clocks = <&gcc GCC_DISP_AHB_CLK>, <&gcc GCC_DISP_HF_AXI_CLK>,