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

Commit 71271610 authored by Casey Piper's avatar Casey Piper Committed by Gerrit - the friendly Code Review server
Browse files

mdss: display: Move reset sequence from dsi controller to panel dtsi



Parse the reset sequence from the panel dtsi instead of the dsi
controller to support different reset sequences for different panels.

CRs-Fixed: 528698
Change-Id: Icef6e1aed5c57b6a8f1c2c2b0b7db2ffd040195f
Signed-off-by: default avatarCasey Piper <cpiper@codeaurora.org>
parent dc077d46
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -47,12 +47,6 @@ Optional properties:
- qcom,platform-bklight-en-gpio:	Specifies the gpio used to enable display back-light
- qcom,platform-mode-gpio:		Select video/command mode of panel through gpio when it supports
					both modes.
- qcom,platform-reset-sequence:		An array that lists the
					sequence of reset gpio values and sleeps
					Each command will have the format defined
					as below:
					--> Reset GPIO value
					--> Sleep value (in ms)

Example:
        mdss_dsi0: qcom,mdss_dsi@fd922800 {
@@ -79,7 +73,6 @@ Example:
		qcom,platform-enable-gpio = <&msmgpio 58 1>;
		qcom,platform-bklight-en-gpio = <&msmgpio 86 0>;
		qcom,platform-mode-gpio = <&msmgpio 7 0>;
		qcom,platform-reset-sequence = <1 25 0 20 1 10>;
		qcom,platform-supply-entry1 {
			qcom,supply-name = "vdd";
			qcom,supply-min-voltage = <2800000>;
+8 −0
Original line number Diff line number Diff line
@@ -269,6 +269,13 @@ Optional properties:
- qcom,mdss-tear-check-frame-rate:	Specify the value to be a real frame rate(fps) x 100 factor to tune the
					timing of TE simulation with more precision.
					The default value is 6000 with 60 fps.
- qcom,mdss-dsi-reset-sequence:		An array that lists the
					sequence of reset gpio values and sleeps
					Each command will have the format defined
					as below:
					--> Reset GPIO value
					--> Sleep value (in ms)


Note, if a given optional qcom,* binding is not present, then the driver will configure
the default values specified.
@@ -366,5 +373,6 @@ Example:
		qcom,mdss-tear-check-start-pos = <1280>;
		qcom,mdss-tear-check-rd-ptr-trigger-intr = <1281>;
		qcom,mdss-tear-check-frame-rate = <6000>;
		qcom,mdss-dsi-reset-sequence = <1 2>, <0 10>, <1 10>;
	};
};
+0 −1
Original line number Diff line number Diff line
@@ -120,7 +120,6 @@
		vdda-supply = <&pma8084_l2>;
		qcom,mdss-fb-map = <&mdss_fb0>;

		qcom,platform-reset-sequence = <1 20 0 200 1 20 2>;
		qcom,platform-strength-ctrl = [ff 06];
		qcom,platform-bist-ctrl = [00 00 b1 ff 00 00];
		qcom,platform-regulator-settings = [07 09 03 00 20 00 01];
+1 −0
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@
		qcom,mdss-dsi-dma-trigger = <4>;
		qcom,mdss-dsi-mdp-trigger = <0>;
		qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
		qcom,mdss-dsi-reset-sequence = <1 20>, <0 2>, <1 20>;

	};
};
+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@
		qcom,mdss-dsi-dma-trigger = <4>;
		qcom,mdss-dsi-mdp-trigger = <0>;
		qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
		qcom,mdss-dsi-reset-sequence = <1 20>, <0 1>, <1 20>;

	};
};
Loading