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

Commit e303daac authored by Mayank Chopra's avatar Mayank Chopra
Browse files

msm: mdss: Enable EOT packets for DSI



Expose properties to enable ignoring and appending of
EOT packets for DSI panels.

CRs-Fixed: 575875
Change-Id: Ib1ad4fedf7bea7f47b5468621793c6845c4d1180
Signed-off-by: default avatarMayank Chopra <makchopra@codeaurora.org>
parent 1e9cff42
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -288,6 +288,8 @@ Optional properties:
					mode. This master delay (t_init_delay as per DSI spec) should be sum
					mode. This master delay (t_init_delay as per DSI spec) should be sum
					of DSI internal delay to reach fuctional after power up and minimum
					of DSI internal delay to reach fuctional after power up and minimum
					delay required by panel to reach functional.
					delay required by panel to reach functional.
- qcom,mdss-dsi-rx-eot-ignore:		Boolean used to enable ignoring end of transmission packets.
- qcom,mdss-dsi-tx-eot-append:		Boolean used to enable appending end of transmission packets.


Note, if a given optional qcom,* binding is not present, then the driver will configure
Note, if a given optional qcom,* binding is not present, then the driver will configure
the default values specified.
the default values specified.
@@ -389,5 +391,7 @@ Example:
		qcom,partial-update-enabled;
		qcom,partial-update-enabled;
		qcom,mdss-dsi-lp11-init;
		qcom,mdss-dsi-lp11-init;
		qcom,mdss-dsi-init-delay-us = <100>;
		qcom,mdss-dsi-init-delay-us = <100>;
		mdss-dsi-rx-eot-ignore;
		mdss-dsi-tx-eot-append;
	};
	};
};
};
+5 −0
Original line number Original line Diff line number Diff line
@@ -966,6 +966,11 @@ static int mdss_panel_parse_dt(struct device_node *np,
	rc = of_property_read_u32(np, "qcom,mdss-dsi-t-clk-post", &tmp);
	rc = of_property_read_u32(np, "qcom,mdss-dsi-t-clk-post", &tmp);
	pinfo->mipi.t_clk_post = (!rc ? tmp : 0x03);
	pinfo->mipi.t_clk_post = (!rc ? tmp : 0x03);


	pinfo->mipi.rx_eot_ignore = of_property_read_bool(np,
		"qcom,mdss-dsi-rx-eot-ignore");
	pinfo->mipi.tx_eot_append = of_property_read_bool(np,
		"qcom,mdss-dsi-tx-eot-append");

	rc = of_property_read_u32(np, "qcom,mdss-dsi-stream", &tmp);
	rc = of_property_read_u32(np, "qcom,mdss-dsi-stream", &tmp);
	pinfo->mipi.stream = (!rc ? tmp : 0);
	pinfo->mipi.stream = (!rc ? tmp : 0);