From fc7fa12f99c7a8a307c43815e475c4a75a609137 Mon Sep 17 00:00:00 2001 From: Christopher Braga Date: Wed, 30 Sep 2020 16:15:01 -0400 Subject: [PATCH] ARM: dts: msm: Introduce dummy demura panel ID node ABL expects a demura panel ID node to always be present under the DSI display definition. If this node is not present, ABL is unable to insert it and demura continuous splash can not be brought online. Introduce a dummy demura panel ID node into the device tree. This node is given a panel ID of 0 to allow the kernel to specially handle it. Change-Id: I4da25f02152c6410d4e67868f702149a7a81bd4c --- bindings/sde-dsi.txt | 2 ++ display/lahaina-sde-display-common.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bindings/sde-dsi.txt b/bindings/sde-dsi.txt index 8e720f75f1ee..daad29293deb 100644 --- a/bindings/sde-dsi.txt +++ b/bindings/sde-dsi.txt @@ -42,6 +42,8 @@ Required properties: - interrupts: The interrupt signal from the DSI block. - qcom,dsi-default-panel: Specifies the default panel. - qcom,mdp: Specifies the mdp node which can find panel node from this. +- qcom,demura-panel-id: Specifies the u64 demura panel ID as an array <2> + If demura is not used this node must be set to <0,0>. Bus Scaling Data: - qcom,msm-bus,name: String property describing MDSS client. diff --git a/display/lahaina-sde-display-common.dtsi b/display/lahaina-sde-display-common.dtsi index c23cc4f3a018..5e75e63013cd 100644 --- a/display/lahaina-sde-display-common.dtsi +++ b/display/lahaina-sde-display-common.dtsi @@ -107,6 +107,7 @@ qcom,mdp = <&mdss_mdp>; qcom,dsi-default-panel = <&dsi_sw43404_amoled_cmd>; + qcom,demura-panel-id = <0x0 0x0>; }; sde_dsi1: qcom,dsi-display-secondary { @@ -116,6 +117,7 @@ qcom,dsi-ctrl = <&mdss_dsi0 &mdss_dsi1>; qcom,dsi-phy = <&mdss_dsi_phy0 &mdss_dsi_phy1>; qcom,mdp = <&mdss_mdp>; + qcom,demura-panel-id = <0x0 0x0>; }; };