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

Commit af686fab authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Enabling dynamic splash on DSI and DP displays"

parents 18b20998 b05a7e15
Loading
Loading
Loading
Loading
+92 −4
Original line number Diff line number Diff line
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -246,7 +246,7 @@
	sde_sh0: qcom,shared-display@0 {
		 compatible = "qcom,shared-display";
		 qcom,shared-display-base = <&sde_sh_base0>;
		 qcom,blend-stage-range = <0 7>;
		 qcom,blend-stage-range = <0 6>;
		 qcom,display-type = "primary";
		 qcom,shared-display-src-mode {
			 qcom,mode-h-active = <1920>;
@@ -261,6 +261,22 @@
	 };

	sde_sh1: qcom,shared-display@1 {
		 compatible = "qcom,shared-display";
		 qcom,shared-display-base = <&sde_sh_base0>;
		 qcom,blend-stage-range = <6 1>;
		 qcom,shared-display-src-mode {
			 qcom,mode-h-active = <1920>;
			 qcom,mode-v-active = <1080>;
		 };
		 qcom,shared-display-dst-mode {
			 qcom,mode-x-offset = <0>;
			 qcom,mode-y-offset = <0>;
			 qcom,mode-width = <1920>;
			 qcom,mode-height = <1080>;
		 };
	 };

	sde_sh2: qcom,shared-display@2 {
		 compatible = "qcom,shared-display";
		 qcom,shared-display-base = <&sde_sh_base0>;
		 qcom,blend-stage-range = <7 1>;
@@ -276,6 +292,57 @@
		 };
	 };

	sde_sh_base1: qcom,shared-display-base@1 {
		      qcom,shared-display-base-intf = <0>;
		      qcom,shared-display-base-mode {
			      qcom,mode-h-active = <1920>;
			      qcom,mode-h-front-porch = <88>;
			      qcom,mode-h-pulse-width = <44>;
			      qcom,mode-h-back-porch = <148>;
			      qcom,mode-h-active-high;
			      qcom,mode-v-active = <1080>;
			      qcom,mode-v-front-porch = <4>;
			      qcom,mode-v-pulse-width = <5>;
			      qcom,mode-v-back-porch = <36>;
			      qcom,mode-v-active-high;
			      qcom,mode-refresh-rate = <60>;
			      qcom,mode-clock-in-khz = <148500>;
		      };
	      };


	sde_sh3: qcom,shared-display@3 {
		 compatible = "qcom,shared-display";
		 qcom,shared-display-base = <&sde_sh_base1>;
		 qcom,blend-stage-range = <0 7>;
		 qcom,shared-display-src-mode {
			 qcom,mode-h-active = <1920>;
			 qcom,mode-v-active = <1080>;
		 };
		 qcom,shared-display-dst-mode {
			 qcom,mode-x-offset = <0>;
			 qcom,mode-y-offset = <0>;
			 qcom,mode-width = <1920>;
			 qcom,mode-height = <1080>;
		 };
	 };

	sde_sh4: qcom,shared-display@4 {
		 compatible = "qcom,shared-display";
		 qcom,shared-display-base = <&sde_sh_base1>;
		 qcom,blend-stage-range = <7 1>;
		 qcom,shared-display-src-mode {
			 qcom,mode-h-active = <1920>;
			 qcom,mode-v-active = <1080>;
		 };
		 qcom,shared-display-dst-mode {
			 qcom,mode-x-offset = <0>;
			 qcom,mode-y-offset = <0>;
			 qcom,mode-width = <1920>;
			 qcom,mode-height = <1080>;
		 };
	 };

	 qcom,sde-shared-plane {
		 compatible = "qcom,sde-shared-plane";
		 qcom,add-planes {
@@ -285,13 +352,28 @@
				 qcom,plane-init-active;
				 qcom,plane-seamless-mode = "shared";
			 };
			 plane@1 {
				 qcom,plane-name = "plane-3-splash";
				 qcom,plane-parent = "plane-3";
				 qcom,plane-init-active;
				 qcom,plane-init-handoff;
				 qcom,plane-seamless-mode = "shared";
			 };
			 plane@2 {
				 qcom,plane-name = "plane-2-splash";
				 qcom,plane-parent = "plane-2";
				 qcom,plane-init-active;
				 qcom,plane-init-handoff;
				 qcom,plane-seamless-mode = "shared";
			 };

		 };
	 };

	sde_card1: qcom,sde-kms-lease@0 {
		   compatible = "qcom,sde-kms-lease";
		   qcom,dev-name = "msm_drm";
		   qcom,lease-connectors = "DSI-2","DP-1","DP-2","DP-3";
		   qcom,lease-connectors = "DSI-2","DP-4","DP-2","DP-3";
		   qcom,lease-planes = "plane-0","plane-1","plane-2","plane-3",
					"plane-4", "plane-5", "plane-6",
					"plane-7","plane-8","plane-9";
@@ -299,9 +381,15 @@
	sde_card2: qcom,sde-kms-lease@1 {
		   compatible = "qcom,sde-kms-lease";
		   qcom,dev-name = "msm_drm2";
		   qcom,lease-connectors = "DSI-3";
		   qcom,lease-connectors = "DSI-4";
		   qcom,lease-planes = "plane-4-splash";
	   };
	sde_card3: qcom,sde-kms-lease@2 {
		   compatible = "qcom,sde-kms-lease";
		   qcom,dev-name = "msm_drm3";
		   qcom,lease-connectors = "DSI-3", "DP-5";
		   qcom,lease-planes = "plane-3-splash", "plane-2-splash";
	   };

};