ARM: dts: msm: enable display panel for msm8998 interposer

nt36850 wqhd command panel will be used for msm8998 interposer,
so enable display panel for that.

Change-Id: Iad98e693a4fe3493e1303cc9f778282a0c5a1527
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Signed-off-by: Yahui Wang <yahuiw@codeaurora.org>
This commit is contained in:
Ray Zhang 2016-11-14 11:12:18 +08:00 committed by Gerrit - the friendly Code Review server
parent 3145cd4109
commit 28c2f37a66
3 changed files with 103 additions and 2 deletions

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -31,6 +31,7 @@
#include "dsi-panel-sim-dualmipi-video.dtsi"
#include "dsi-panel-sim-dualmipi-cmd.dtsi"
#include "dsi-panel-s6e3ha3-amoled-dualmipi-wqhd-cmd.dtsi"
#include "dsi-panel-nt36850-truly-dualmipi-wqhd-cmd.dtsi"
&soc {
dsi_panel_pwr_supply: dsi_panel_pwr_supply {
@ -196,3 +197,9 @@
qcom,mdss-dsi-t-clk-post = <0x07>;
qcom,mdss-dsi-t-clk-pre = <0x2a>;
};
&dsi_dual_nt36850_truly_cmd {
qcom,mdss-dsi-panel-timings = [00 1c 06 06 0b 11 06 07 05 03 04 00];
qcom,mdss-dsi-t-clk-post = <0x34>;
qcom,mdss-dsi-t-clk-pre = <0x2a>;
};

View file

@ -146,6 +146,50 @@
qcom,battery-data = <&qrd_batterydata>;
};
&mdss_dsi {
hw-config = "split_dsi";
vdda-1p2-supply = <&pm660_l1>;
vdda-0p9-supply = <&pm660l_l1>;
qcom,ctrl-supply-entries {
qcom,ctrl-supply-entry@0 {
qcom,supply-min-voltage = <1200000>;
qcom,supply-max-voltage = <1250000>;
};
};
qcom,phy-supply-entries {
qcom,phy-supply-entry@0 {
qcom,supply-min-voltage = <880000>;
qcom,supply-max-voltage = <925000>;
};
};
};
&mdss_dsi0 {
qcom,dsi-pref-prim-pan = <&dsi_dual_nt36850_truly_cmd>;
wqhd-vddio-supply = <&pm660_l11>;
lab-supply = <&lcdb_ldo_vreg>;
ibb-supply = <&lcdb_ncp_vreg>;
pinctrl-names = "mdss_default", "mdss_sleep";
pinctrl-0 = <&mdss_dsi_active &mdss_te_active>;
pinctrl-1 = <&mdss_dsi_suspend &mdss_te_suspend>;
qcom,platform-reset-gpio = <&tlmm 94 0>;
qcom,platform-te-gpio = <&tlmm 10 0>;
};
&mdss_dsi1 {
qcom,dsi-pref-prim-pan = <&dsi_dual_nt36850_truly_cmd>;
wqhd-vddio-supply = <&pm660_l11>;
lab-supply = <&lcdb_ldo_vreg>;
ibb-supply = <&lcdb_ncp_vreg>;
pinctrl-names = "mdss_default", "mdss_sleep";
pinctrl-0 = <&mdss_dsi_active &mdss_te_active>;
pinctrl-1 = <&mdss_dsi_suspend &mdss_te_suspend>;
qcom,platform-reset-gpio = <&tlmm 94 0>;
qcom,platform-te-gpio = <&tlmm 10 0>;
};
&pm660l_wled {
qcom,led-strings-list = [00 01];
};

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -123,3 +123,53 @@
synaptics,button-map = <139 172 158>;
};
};
&mdss_mdp {
qcom,mdss-pref-prim-intf = "dsi";
};
&mdss_fb0 {
qcom,mdss-mixer-swap;
};
&mdss_dsi {
hw-config = "split_dsi";
vdda-1p2-supply = <&pm660_l1>;
vdda-0p9-supply = <&pm660l_l1>;
};
&mdss_dsi0 {
qcom,dsi-pref-prim-pan = <&dsi_dual_nt36850_truly_cmd>;
wqhd-vddio-supply = <&pm660_l11>;
lab-supply = <&lcdb_ldo_vreg>;
ibb-supply = <&lcdb_ncp_vreg>;
pinctrl-names = "mdss_default", "mdss_sleep";
pinctrl-0 = <&mdss_dsi_active &mdss_te_active>;
pinctrl-1 = <&mdss_dsi_suspend &mdss_te_suspend>;
qcom,platform-reset-gpio = <&tlmm 94 0>;
qcom,platform-te-gpio = <&tlmm 10 0>;
};
&mdss_dsi1 {
qcom,dsi-pref-prim-pan = <&dsi_dual_nt36850_truly_cmd>;
wqhd-vddio-supply = <&pm660_l11>;
lab-supply = <&lcdb_ldo_vreg>;
ibb-supply = <&lcdb_ncp_vreg>;
pinctrl-names = "mdss_default", "mdss_sleep";
pinctrl-0 = <&mdss_dsi_active &mdss_te_active>;
pinctrl-1 = <&mdss_dsi_suspend &mdss_te_suspend>;
qcom,platform-reset-gpio = <&tlmm 94 0>;
qcom,platform-te-gpio = <&tlmm 10 0>;
};
&labibb {
status = "ok";
qcom,qpnp-labibb-mode = "lcd";
};
&dsi_dual_nt36850_truly_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,panel-supply-entries = <&dsi_panel_pwr_supply>;
};