summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAravind Venkateswaran <aravindh@codeaurora.org>2016-05-09 15:06:57 -0700
committerKyle Yan <kyan@codeaurora.org>2016-05-24 17:56:07 -0700
commita365cd32928ee1dae33bb89aa84ea5028def6a71 (patch)
tree1a1e1b786044d332e311fb968b2f720ed8c256c3
parente11d690e0fb0c47f7c8a4419d323352b53bb0d30 (diff)
ARM: dts: msm: add support for nt35597 DSC panels on msmcobalt
Add necessary GPIO and regulator bindings for nt35597 DSC (command and video mode) panels on msmcobalt CDP. Add these panels to the list of supported panels so that they can be selected at runtime from kernel command line. CRs-Fixed: 1019289 Change-Id: Ie3a2da3c306bc8a85aaf1495afb365c38cf805aa Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
-rw-r--r--arch/arm/boot/dts/qcom/msmcobalt-cdp.dtsi16
-rw-r--r--arch/arm/boot/dts/qcom/msmcobalt-mdss-panels.dtsi14
2 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msmcobalt-cdp.dtsi b/arch/arm/boot/dts/qcom/msmcobalt-cdp.dtsi
index 24c44eda3f9c..4173152f7b8c 100644
--- a/arch/arm/boot/dts/qcom/msmcobalt-cdp.dtsi
+++ b/arch/arm/boot/dts/qcom/msmcobalt-cdp.dtsi
@@ -183,6 +183,22 @@
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
};
+&dsi_nt35597_dsc_video {
+ 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 = "single_port";
+ qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
+};
+
+&dsi_nt35597_dsc_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 = "single_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 05a3e9551f23..3eefd37c4a58 100644
--- a/arch/arm/boot/dts/qcom/msmcobalt-mdss-panels.dtsi
+++ b/arch/arm/boot/dts/qcom/msmcobalt-mdss-panels.dtsi
@@ -14,6 +14,8 @@
#include "dsi-panel-sim-dualmipi-video.dtsi"
#include "dsi-panel-nt35597-dualmipi-wqxga-video.dtsi"
#include "dsi-panel-nt35597-dualmipi-wqxga-cmd.dtsi"
+#include "dsi-panel-nt35597-dsc-wqxga-video.dtsi"
+#include "dsi-panel-nt35597-dsc-wqxga-cmd.dtsi"
&soc {
dsi_panel_pwr_supply: dsi_panel_pwr_supply {
@@ -77,3 +79,15 @@
qcom,mdss-dsi-t-clk-post = <0x0d>;
qcom,mdss-dsi-t-clk-pre = <0x2d>;
};
+
+&dsi_nt35597_dsc_video {
+ qcom,mdss-dsi-panel-timings = [00 12 03 04 07 07 04 04 03 03 04 00];
+ qcom,mdss-dsi-t-clk-post = <0x0b>;
+ qcom,mdss-dsi-t-clk-pre = <0x24>;
+};
+
+&dsi_nt35597_dsc_cmd {
+ qcom,mdss-dsi-panel-timings = [00 12 03 04 07 07 04 04 03 03 04 00];
+ qcom,mdss-dsi-t-clk-post = <0x0b>;
+ qcom,mdss-dsi-t-clk-pre = <0x24>;
+};