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

Commit a1ef6e3b 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 (sa8195)"

parents 45c8d4f2 edab3d40
Loading
Loading
Loading
Loading
+176 −2
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
@@ -43,6 +43,7 @@
&sde_dp {
	qcom,ext-disp = <&ext_disp>;
	qcom,dp-hpd-gpio = <&ioexp 8 0>;
	qcom,mst-fixed-topology-ports = <1 2>;

	pinctrl-names = "mdss_dp_active", "mdss_dp_sleep";
	pinctrl-0 = <&dp_hpd_cfg_pins>;
@@ -198,7 +199,7 @@
	dsi_anx_7625_1: qcom,dsi-display@17 {
		label = "dsi_anx_7625_1";
		qcom,dsi-display-active;
		qcom,display-type = "primary";
		qcom,display-label = "primary";

		qcom,dsi-ctrl-num = <0>;
		qcom,dsi-phy-num = <0>;
@@ -294,6 +295,178 @@
			compatible = "qcom,msm-ext-disp-audio-codec-rx";
		};
	};

	sde_sh_base0: qcom,shared-display-base@0 {
		      qcom,shared-display-base-intf = <1>;
		      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_sh0: qcom,shared-display@0 {
		 compatible = "qcom,shared-display";
		 qcom,shared-display-base = <&sde_sh_base0>;
		 qcom,blend-stage-range = <0 8>;
		 qcom,display-type = "primary";
		 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_sh1: qcom,shared-display@1 {
		 compatible = "qcom,shared-display";
		 qcom,shared-display-base = <&sde_sh_base0>;
		 qcom,blend-stage-range = <8 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 = <9 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_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 9>;
		 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 = <9 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 {
			 plane@0 {
				 qcom,plane-name = "plane-4-splash";
				 qcom,plane-parent = "plane-4";
				 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", "DSI-3", "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","plane-10","plane-11",
			   "plane-12","plane-13","plane-14",
			   "plane-15";
	   };

	sde_card2: qcom,sde-kms-lease@1 {
		   compatible = "qcom,sde-kms-lease";
		   qcom,dev-name = "msm_drm2";
		   qcom,lease-connectors = "DSI-5";
		   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-4","DP-5";
		   qcom,lease-planes = "plane-3-splash", "plane-2-splash";
	   };
};

&mdss_dsi_phy0 {
@@ -305,6 +478,7 @@
};

&mdss_mdp {
	qcom,sde-reg-dma-version = <0>;
	qcom,sde-ctl-display-pref = "primary", "none", "none",
				"none", "none";
	qcom,sde-mixer-display-pref = "primary", "none", "none",
+2 −1
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
@@ -225,6 +225,7 @@
	qcom,fullsize-va-map;
	qcom,sde-min-core-ib-kbps = <0>;
	qcom,sde-min-llcc-ib-kbps = <0>;
	/delete-property/ qcom,sde-has-dest-scaler;
};

&clock_npucc {