From d9780a09566a760e382b5907d29a5738b01ee348 Mon Sep 17 00:00:00 2001 From: Fenglin Wu Date: Wed, 14 Oct 2020 16:55:57 +0800 Subject: [PATCH] ARM: dts: msm: Add panel information to amoled-ecm for Shima platforms Add panel information for amoled-ecm device so that the driver can get display off/on notification from the DRM for the active panel and disable/re-enable ECM accordingly. Change-Id: I5dc22cd1b669e92991325f7be8ef4536a140277c --- qcom/shima-idp.dtsi | 8 ++++++++ qcom/shima-qrd.dtsi | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/qcom/shima-idp.dtsi b/qcom/shima-idp.dtsi index a4be84ba4aee..855c9a746bac 100644 --- a/qcom/shima-idp.dtsi +++ b/qcom/shima-idp.dtsi @@ -148,6 +148,14 @@ status = "ok"; }; +&pm8350b_amoled_ecm { + display-panels = <&dsi_r66451_amoled_cmd + &dsi_r66451_amoled_video + &dsi_r66451_amoled_60hz_video + &dsi_r66451_amoled_60hz_cmd + &dsi_r66451_amoled_144hz_cmd>; +}; + &battery_charger { qcom,thermal-mitigation = <3000000 1500000 1000000 500000>; }; diff --git a/qcom/shima-qrd.dtsi b/qcom/shima-qrd.dtsi index fd21a2271113..0b6dff79f200 100644 --- a/qcom/shima-qrd.dtsi +++ b/qcom/shima-qrd.dtsi @@ -185,6 +185,11 @@ status = "ok"; }; +&pm8350b_amoled_ecm { + display-panels = <&dsi_r66451_amoled_cmd + &dsi_r66451_amoled_video>; +}; + &battery_charger { qcom,thermal-mitigation = <10000000 9500000 9000000 8500000 8000000 7500000 7000000 6500000 6000000 5500000