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

Commit a97b4bf1 authored by Ritesh Kumar's avatar Ritesh Kumar
Browse files

ARM: dts: msm: Add sharp qsync panels for lito

This change adds Sharp Qsync command mode and video mode
panels for lito target.

Change-Id: I85499a83e5ca18fd811ae0fb1ef1660cf71cf38c
parent e5bfbc46
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -434,6 +434,27 @@
	qcom,platform-bklight-en-gpio = <&pm8150l_gpios 10 0>;
};

&dsi_sharp_qsync_wqhd_video {
	qcom,panel-supply-entries = <&dsi_panel_pwr_supply_no_labibb>;
	qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_external";
	qcom,mdss-dsi-bl-min-level = <1>;
	qcom,mdss-dsi-bl-max-level = <4095>;
	qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>;
	qcom,platform-en-gpio = <&pm8150l_gpios 9 0>;
	qcom,platform-bklight-en-gpio = <&pm8150l_gpios 10 0>;
};

&dsi_sharp_qsync_wqhd_cmd {
	qcom,panel-supply-entries = <&dsi_panel_pwr_supply_no_labibb>;
	qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_external";
	qcom,mdss-dsi-bl-min-level = <1>;
	qcom,mdss-dsi-bl-max-level = <4095>;
	qcom,platform-te-gpio = <&tlmm 10 0>;
	qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>;
	qcom,platform-en-gpio = <&pm8150l_gpios 9 0>;
	qcom,platform-bklight-en-gpio = <&pm8150l_gpios 10 0>;
};

&sde_dsi {
	qcom,dsi-default-panel = <&dsi_sw43404_amoled_video>;
};
+66 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@
#include "dsi-panel-sharp-dualdsi-wqhd-cmd.dtsi"
#include "dsi-panel-nt35695b-truly-fhd-cmd.dtsi"
#include "dsi-panel-nt35695b-truly-fhd-video.dtsi"
#include "dsi-panel-sharp-qsync-wqhd-cmd.dtsi"
#include "dsi-panel-sharp-qsync-wqhd-video.dtsi"
#include "dsi-panel-sharp-dsc-4k-cmd.dtsi"
#include "dsi-panel-sharp-dsc-4k-video.dtsi"
#include "dsi-panel-sim-cmd.dtsi"
@@ -522,3 +524,67 @@
		};
	};
};

&dsi_sharp_qsync_wqhd_cmd {
	qcom,dsi-select-clocks = "mux_byte_clk0", "mux_pixel_clk0";
	qcom,mdss-dsi-display-timings {
		timing@0 {
			qcom,mdss-dsi-panel-phy-timings = [00 0b 03 02 1d 1c 03
				03 01 02 04 00 0c 12];
			qcom,display-topology = <2 2 2>;
			qcom,default-topology-index = <0>;
			qcom,partial-update-enabled = "single_roi";
			qcom,panel-roi-alignment = <720 8 8 8 1440 8>;
		};

		timing@1 {
			qcom,mdss-dsi-panel-phy-timings = [00 0a 01 02 1b 1c 02
				02 00 02 04 00 0a 12];
			qcom,display-topology = <2 2 2>;
			qcom,default-topology-index = <0>;
			qcom,partial-update-enabled = "single_roi";
			qcom,panel-roi-alignment = <540 8 8 8 1080 8>;
		};

		timing@2 {
			qcom,mdss-dsi-panel-phy-timings = [00 10 03 03 1e 1e 04
				04 02 02 04 00 0f 13];
			qcom,display-topology = <2 2 2>;
			qcom,default-topology-index = <0>;
		};

		timing@3 {
			qcom,mdss-dsi-panel-phy-timings = [00 13 05 04 1f 1e 05
				 05 03 02 04 00 12 14];
			 qcom,display-topology = <2 2 2>;
			 qcom,default-topology-index = <0>;
		};
	};
};


&dsi_sharp_qsync_wqhd_video {
	qcom,dsi-select-clocks = "mux_byte_clk0", "mux_pixel_clk0";
	qcom,mdss-dsi-display-timings {
		timing@0 {
			qcom,mdss-dsi-panel-phy-timings = [00 14 05 05 1f 1f 05
				05 03 02 04 00 12 15];
			qcom,display-topology = <2 2 2>;
			qcom,default-topology-index = <0>;
		};

		timing@1 {
			qcom,mdss-dsi-panel-phy-timings = [00 14 05 05 1f 1f 05
				05 03 02 04 00 12 15];
			qcom,display-topology = <2 2 2>;
			qcom,default-topology-index = <0>;
		};

		timing@2 {
			qcom,mdss-dsi-panel-phy-timings = [00 14 05 05 1f 1f 05
				05 03 02 04 00 12 15];
			qcom,display-topology = <2 2 2>;
			qcom,default-topology-index = <0>;
		};
	};
};