From e11d690e0fb0c47f7c8a4419d323352b53bb0d30 Mon Sep 17 00:00:00 2001 From: Aravind Venkateswaran Date: Thu, 5 May 2016 17:33:50 -0700 Subject: [PATCH] ARM: dts: msm: add nt35597 dual dsi cmd mode panel for msmcobalt Add gpio, regulator and other required settings for nt35597 dual-dsi command mode panel for msmcobalt CDP. Add this panel to the list of supported panels for msmcobalt to allow selecting this panel at runtime using kernel command line. CRs-Fixed: 1019289 Change-Id: If5e6a6b0d7753e3fc83ed6df5d866a62eb5cd60b Signed-off-by: Aravind Venkateswaran --- arch/arm/boot/dts/qcom/msmcobalt-cdp.dtsi | 8 ++++++++ arch/arm/boot/dts/qcom/msmcobalt-mdss-panels.dtsi | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/qcom/msmcobalt-cdp.dtsi b/arch/arm/boot/dts/qcom/msmcobalt-cdp.dtsi index 29429546ac62..24c44eda3f9c 100644 --- a/arch/arm/boot/dts/qcom/msmcobalt-cdp.dtsi +++ b/arch/arm/boot/dts/qcom/msmcobalt-cdp.dtsi @@ -175,6 +175,14 @@ qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; }; +&dsi_dual_nt35597_cmd { + qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; + qcom,mdss-dsi-bl-min-level = <1>; + qcom,mdss-dsi-bl-max-level = <4095>; + qcom,mdss-dsi-mode-sel-gpio-state = "dual_port"; + qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; +}; + &pmicobalt_haptics { status = "okay"; }; diff --git a/arch/arm/boot/dts/qcom/msmcobalt-mdss-panels.dtsi b/arch/arm/boot/dts/qcom/msmcobalt-mdss-panels.dtsi index 1200282be589..05a3e9551f23 100644 --- a/arch/arm/boot/dts/qcom/msmcobalt-mdss-panels.dtsi +++ b/arch/arm/boot/dts/qcom/msmcobalt-mdss-panels.dtsi @@ -13,6 +13,7 @@ #include "dsi-panel-sim-video.dtsi" #include "dsi-panel-sim-dualmipi-video.dtsi" #include "dsi-panel-nt35597-dualmipi-wqxga-video.dtsi" +#include "dsi-panel-nt35597-dualmipi-wqxga-cmd.dtsi" &soc { dsi_panel_pwr_supply: dsi_panel_pwr_supply { @@ -70,3 +71,9 @@ qcom,mdss-dsi-t-clk-post = <0x0d>; qcom,mdss-dsi-t-clk-pre = <0x2d>; }; + +&dsi_dual_nt35597_cmd { + qcom,mdss-dsi-panel-timings = [00 1a 04 06 0a 0a 05 06 05 03 04 00]; + qcom,mdss-dsi-t-clk-post = <0x0d>; + qcom,mdss-dsi-t-clk-pre = <0x2d>; +};