summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAravind Venkateswaran <aravindh@codeaurora.org>2016-05-05 17:33:50 -0700
committerKyle Yan <kyan@codeaurora.org>2016-05-24 17:55:56 -0700
commite11d690e0fb0c47f7c8a4419d323352b53bb0d30 (patch)
tree604d4328d5b08835642b09b2b918212d63dedd63
parentfc037663f519de3c982bfad797ad98f714982086 (diff)
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 <aravindh@codeaurora.org>
-rw-r--r--arch/arm/boot/dts/qcom/msmcobalt-cdp.dtsi8
-rw-r--r--arch/arm/boot/dts/qcom/msmcobalt-mdss-panels.dtsi7
2 files changed, 15 insertions, 0 deletions
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>;
+};