Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c458c3a5 authored by Ingrid Gallardo's avatar Ingrid Gallardo Committed by Kyle Yan
Browse files

ARM: dts: msm: add jdi landscape panel for msmcobalt



Add required settings for command mode and video
mode jdi lanscape panels in msmcobalt CDP/MTP. Add
panels to the list of supported panels so they can
be selected at runtime from kernel command line.

Change-Id: Iae1361997653784c4248b0d2ed2a7deac3bc4d4b
Signed-off-by: default avatarIngrid Gallardo <ingridg@codeaurora.org>
parent e7276ab8
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -284,6 +284,22 @@
	qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
};

&dsi_dual_jdi_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,5v-boost-gpio = <&tlmm 51 0>;
	qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
};

&dsi_dual_jdi_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,5v-boost-gpio = <&tlmm 51 0>;
	qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
};

&mdss_hdmi_tx {
	pinctrl-names = "hdmi_hpd_active", "hdmi_ddc_active", "hdmi_cec_active",
				"hdmi_active", "hdmi_sleep";
+14 −0
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@
#include "dsi-panel-nt35597-dsc-wqxga-cmd.dtsi"
#include "dsi-panel-sharp-dsc-4k-video.dtsi"
#include "dsi-panel-sharp-dsc-4k-cmd.dtsi"
#include "dsi-panel-jdi-dualmipi-video.dtsi"
#include "dsi-panel-jdi-dualmipi-cmd.dtsi"

&soc {
	dsi_panel_pwr_supply: dsi_panel_pwr_supply {
@@ -105,3 +107,15 @@
	qcom,mdss-dsi-t-clk-post = <0x0d>;
	qcom,mdss-dsi-t-clk-pre = <0x25>;
};

&dsi_dual_jdi_video {
	qcom,mdss-dsi-panel-timings = [00 18 04 05 09 0a 05 06 04 03 04 00];
	qcom,mdss-dsi-t-clk-post = <0x06>;
	qcom,mdss-dsi-t-clk-pre = <0x22>;
};

&dsi_dual_jdi_cmd {
	qcom,mdss-dsi-panel-timings = [00 18 04 05 09 0a 05 06 04 03 04 00];
	qcom,mdss-dsi-t-clk-post = <0x06>;
	qcom,mdss-dsi-t-clk-pre = <0x22>;
};
+16 −0
Original line number Diff line number Diff line
@@ -300,6 +300,22 @@
	qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
};

&dsi_dual_jdi_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,5v-boost-gpio = <&tlmm 51 0>;
	qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
};

&dsi_dual_jdi_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,5v-boost-gpio = <&tlmm 51 0>;
	qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
};

&i2c_7 {
	status = "okay";
	qcom,smb138x@8 {