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

Commit 6ae3b230 authored by Camus Wong's avatar Camus Wong Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: DRM: Device tree for early DRM



Add device tree setting to enable early DRM probe.  Add reserved
pipe into main DRM.  Also add assigned display and pipe into
early DRM.

Change-Id: I3163aa808313b10cd2fb3dee156a746ef650bc68
Signed-off-by: default avatarCamus Wong <camusw@codeaurora.org>
parent d62b1c14
Loading
Loading
Loading
Loading
+19 −3
Original line number Diff line number Diff line
/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2019, 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
@@ -1643,11 +1643,27 @@
	};
};

/ {
&sde_kms {
	qcom,sde-reserved-plane {
		qcom,sde-plane-id@0 {
		reserved_plane0: qcom,sde-reserved-plane@0 {
			reg = <0x0>;
			qcom,plane-name = "vig0";
			lm-stage = <4>;
		};
		reserved_plane1: qcom,sde-reserved-plane@1 {
			reg = <0x1>;
			qcom,plane-name = "rgb3";
			lm-stage = <5>;
		};
	};
};

&msm_kms_edrm {
	qcom,edrm-assigned-display {
		qcom,edrm-display-id@0 {
			qcom,label = "dsi_adv_7533_1";
			qcom,intf-type = "dsi";
			qcom,assigned_plane = <&reserved_plane1>;
		};
	};
};
+20 −3
Original line number Diff line number Diff line
/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2019, 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
@@ -1468,11 +1468,28 @@
	};
};

/ {
&sde_kms {
	qcom,sde-reserved-plane {
		qcom,sde-plane-id@0 {
		reserved_plane0: qcom,sde-reserved-plane@0 {
			reg = <0x0>;
			qcom,plane-name = "vig0";
			lm-stage = <4>;
		};
		reserved_plane1: qcom,sde-reserved-plane@1 {
			reg = <0x1>;
			qcom,plane-name = "rgb3";
			lm-stage = <5>;
		};
	};
};

&msm_kms_edrm {
	qcom,edrm-assigned-display {
		qcom,edrm-display-id@0 {
			qcom,label = "dsi_adv_7533_1";
			qcom,intf-type = "dsi";
			qcom,ctl-id = <1>;
			qcom,assigned_plane = <&reserved_plane1>;
		};
	};
};
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2019, 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
@@ -259,7 +259,7 @@
			<&clock_mmss clk_ext_pclk0_clk_src>;
		clock-names = "src_byte_clk", "src_pixel_clk";

		qcom,dsi-panel = <&dsi_adv7533_720p>;
		qcom,dsi-panel = <&dsi_adv7533_1080p>;
		vddio-supply = <&pm8994_l14>;
		qcom,bridge-index = <0>;
	};
@@ -275,7 +275,7 @@
			<&clock_mmss clk_ext_pclk1_clk_src>;
		clock-names = "src_byte_clk", "src_pixel_clk";

		qcom,dsi-panel = <&dsi_adv7533_720p>;
		qcom,dsi-panel = <&dsi_adv7533_1080p>;
		vddio-supply = <&pm8994_l14>;
		qcom,bridge-index = <1>;
	};
+10 −1
Original line number Diff line number Diff line
/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2019, 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
@@ -537,3 +537,12 @@
		};
	};
};

&soc {
	msm_kms_edrm: qcom,msm_kms_edrm@900000 {

		compatible = "qcom,msm-kms-edrm";
		contiguous-region = <&cont_splash_mem &cont_splash_mem_hdmi>;

	};
};