Commit 2b616f86 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sc7180: rename labels for DSI nodes



Currently in board files MDSS and DSI nodes stay apart, because labels
for DSI nodes do not have the mdss_ prefix. It was found that grouping
all display-related notes is more useful.

To keep all display-related nodes close in the board files, change DSI
node labels from dsi_* to mdss_dsi_*.

Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230531011623.3808538-8-dmitry.baryshkov@linaro.org
parent 8b764ed0
Loading
Loading
Loading
Loading
+16 −16
Original line number Diff line number Diff line
@@ -143,21 +143,6 @@
	};
};

&dsi0 {
	vdda-supply = <&vreg_l3c_1p2>;
	status = "okay";
};

&dsi0_out {
	remote-endpoint = <&sn65dsi86_in>;
	data-lanes = <0 1 2 3>;
};

&dsi_phy {
	vdds-supply = <&vreg_l4a_0p8>;
	status = "okay";
};

&i2c2 {
	clock-frequency = <400000>;
	status = "okay";
@@ -269,7 +254,7 @@
				reg = <0>;

				sn65dsi86_in: endpoint {
					remote-endpoint = <&dsi0_out>;
					remote-endpoint = <&mdss_dsi0_out>;
				};
			};

@@ -313,6 +298,21 @@
	status = "okay";
};

&mdss_dsi0 {
	vdda-supply = <&vreg_l3c_1p2>;
	status = "okay";
};

&mdss_dsi0_out {
	remote-endpoint = <&sn65dsi86_in>;
	data-lanes = <0 1 2 3>;
};

&mdss_dsi0_phy {
	vdds-supply = <&vreg_l4a_0p8>;
	status = "okay";
};

&pm6150_adc {
	thermistor@4e {
		reg = <ADC5_AMUX_THM2_100K_PU>;
+7 −7
Original line number Diff line number Diff line
@@ -295,7 +295,11 @@
	};
};

&dsi0 {
&mdss {
	status = "okay";
};

&mdss_dsi0 {
	status = "okay";

	vdda-supply = <&vreg_l3c_1p2>;
@@ -314,7 +318,7 @@

		port {
			panel0_in: endpoint {
				remote-endpoint = <&dsi0_out>;
				remote-endpoint = <&mdss_dsi0_out>;
			};
		};
	};
@@ -329,15 +333,11 @@
	};
};

&dsi_phy {
&mdss_dsi0_phy {
	status = "okay";
	vdds-supply = <&vreg_l4a_0p8>;
};

&mdss {
	status = "okay";
};

&qfprom {
	vcc-supply = <&vreg_l11a_1p8>;
};
+5 −5
Original line number Diff line number Diff line
@@ -46,10 +46,6 @@

/* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */

&dsi0_out {
	remote-endpoint = <&ps8640_in>;
};

edp_brij_i2c: &i2c2 {
	status = "okay";
	clock-frequency = <400000>;
@@ -74,7 +70,7 @@ edp_brij_i2c: &i2c2 {
			port@0 {
				reg = <0>;
				ps8640_in: endpoint {
					remote-endpoint = <&dsi0_out>;
					remote-endpoint = <&mdss_dsi0_out>;
				};
			};

@@ -102,6 +98,10 @@ edp_brij_i2c: &i2c2 {
	};
};

&mdss_dsi0_out {
	remote-endpoint = <&ps8640_in>;
};

&tlmm {
	edp_brij_ps8640_rst: edp-brij-ps8640-rst-state {
		pins = "gpio11";
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
	compatible = "google,quackingstick-sku1537", "qcom,sc7180";
};

&dsi_phy {
&mdss_dsi0_phy {
	qcom,phy-rescode-offset-top = /bits/ 8 <(-13) (-13) (-13) (-13) (-13)>;
	qcom,phy-rescode-offset-bot = /bits/ 8 <(-13) (-13) (-13) (-13) (-13)>;
	qcom,phy-drive-ldo-level = <375>;
+26 −26
Original line number Diff line number Diff line
@@ -52,7 +52,31 @@
	};
};

&dsi0 {
&gpio_keys {
	status = "okay";
};

&i2c4 {
	status = "okay";
	clock-frequency = <400000>;

	ap_ts: touchscreen@10 {
		compatible = "hid-over-i2c";
		reg = <0x10>;
		pinctrl-names = "default";
		pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;

		interrupt-parent = <&tlmm>;
		interrupts = <9 IRQ_TYPE_LEVEL_LOW>;

		post-power-on-delay-ms = <20>;
		hid-descr-addr = <0x0001>;

		vdd-supply = <&pp3300_ts>;
	};
};

&mdss_dsi0 {
	panel: panel@0 {
		/* Compatible will be filled in per-board */
		reg = <0>;
@@ -67,7 +91,7 @@

		port {
			panel_in: endpoint {
				remote-endpoint = <&dsi0_out>;
				remote-endpoint = <&mdss_dsi0_out>;
			};
		};
	};
@@ -82,30 +106,6 @@
	};
};

&gpio_keys {
	status = "okay";
};

&i2c4 {
	status = "okay";
	clock-frequency = <400000>;

	ap_ts: touchscreen@10 {
		compatible = "hid-over-i2c";
		reg = <0x10>;
		pinctrl-names = "default";
		pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;

		interrupt-parent = <&tlmm>;
		interrupts = <9 IRQ_TYPE_LEVEL_LOW>;

		post-power-on-delay-ms = <20>;
		hid-descr-addr = <0x0001>;

		vdd-supply = <&pp3300_ts>;
	};
};

&sdhc_2 {
	status = "okay";
};
Loading