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

Commit f93ca2d7 authored by Jin Li's avatar Jin Li
Browse files

ARM: dts: msm: assign virtual planes on msm8996 auto platform



The virtual planes are used to support wider HDMI display. Enable
them on msm8996 auto platforms in order to support 4K HDMI display.

Change-Id: I5deb5f5eaec25a495266175b188c6965a2dc9297
Signed-off-by: default avatarJin Li <jinl@codeaurora.org>
parent 21d2e285
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
@@ -345,6 +345,38 @@
	connectors = <&sde_hdmi &display_manager>;
	gpus = <&msm_gpu>;
	memory-region = <&cont_splash_mem>;
	qcom,sde-plane-id-map {
		qcom,sde-plane-id@0 {
			qcom,display-type = "primary";
			qcom,plane-name = "rgb0", "rgb1";
			qcom,plane-type = "primary";
		};
		qcom,sde-plane-id@1 {
			qcom,display-type = "primary";
			qcom,plane-name = "vig0", "vig1";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@2 {
			qcom,display-type = "primary";
			qcom,plane-name = "vig2", "vig3";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@3 {
			qcom,display-type = "primary";
			qcom,plane-name = "rgb2", "rgb3";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@4 {
			qcom,display-type = "primary";
			qcom,plane-name = "dma0", "dma1";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@5 {
			qcom,display-type = "primary";
			qcom,plane-name = "cursor0", "cursor1";
			qcom,plane-type = "cursor";
		};
	};
};

&dsi_dual_sharp_video_1 {
+36 −0
Original line number Diff line number Diff line
@@ -554,6 +554,38 @@
	connectors = <&sde_hdmi &display_manager>;
	gpus = <&msm_gpu>;
	memory-region = <&cont_splash_mem>;
	qcom,sde-plane-id-map {
		qcom,sde-plane-id@0 {
			qcom,display-type = "primary";
			qcom,plane-name = "rgb0", "rgb1";
			qcom,plane-type = "primary";
		};
		qcom,sde-plane-id@1 {
			qcom,display-type = "primary";
			qcom,plane-name = "vig0", "vig1";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@2 {
			qcom,display-type = "primary";
			qcom,plane-name = "vig2", "vig3";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@3 {
			qcom,display-type = "primary";
			qcom,plane-name = "rgb2", "rgb3";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@4 {
			qcom,display-type = "primary";
			qcom,plane-name = "dma0", "dma1";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@5 {
			qcom,display-type = "primary";
			qcom,plane-name = "cursor0", "cursor1";
			qcom,plane-type = "cursor";
		};
	};
};

&sde_hdmi {
@@ -570,6 +602,10 @@
	/delete-property/ qcom,dsi-display-active;
};

&hdmi_display {
	qcom,display-type = "primary";
};

&mdss_dsi {
	hw-config = "dual_dsi";
};
+49 −1
Original line number Diff line number Diff line
@@ -314,7 +314,7 @@
						&mdss_hdmi_cec_suspend>;
};

#include "msm8996-mdss-panels.dtsi"
#include "msm8996-sde-display.dtsi"

&pmx_mdss {
	mdss_dsi_active: mdss_dsi_active {
@@ -345,6 +345,54 @@
	};
};

&sde_kms {
	connectors = <&sde_hdmi &display_manager>;
	gpus = <&msm_gpu>;
	memory-region = <&cont_splash_mem>;
	qcom,sde-plane-id-map {
		qcom,sde-plane-id@0 {
			qcom,display-type = "primary";
			qcom,plane-name = "rgb0", "rgb1";
			qcom,plane-type = "primary";
		};
		qcom,sde-plane-id@1 {
			qcom,display-type = "primary";
			qcom,plane-name = "vig0", "vig1";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@2 {
			qcom,display-type = "primary";
			qcom,plane-name = "vig2", "vig3";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@3 {
			qcom,display-type = "primary";
			qcom,plane-name = "rgb2", "rgb3";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@4 {
			qcom,display-type = "primary";
			qcom,plane-name = "dma0", "dma1";
			qcom,plane-type = "overlay";
		};
		qcom,sde-plane-id@5 {
			qcom,display-type = "primary";
			qcom,plane-name = "cursor0", "cursor1";
			qcom,plane-type = "cursor";
		};
	};
};

&sde_hdmi {
	status = "ok";
	qcom,hdmi-tx-ddc-clk-gpio = <&tlmm 32 0>;
	qcom,hdmi-tx-ddc-data-gpio = <&tlmm 33 0>;
	qcom,hdmi-tx-hpd-gpio = <&tlmm 34 0>;
	qcom,hdmi-tx-mux-en-gpio = <&tlmm 27 0>;
	qcom,hdmi-tx-mux-sel-gpio = <&tlmm 83 0>;
	qcom,hdmi-tx-mux-lpm-gpio = <&tlmm 85 0>;
};

&mdss_mdp {
	qcom,mdss-pref-prim-intf = "dsi";
};