Commit a9b9f1c6 authored by Oleksandr Suvorov's avatar Oleksandr Suvorov Committed by Shawn Guo
Browse files

ARM: dts: imx6q-apalis: Add LVDS panel support



Add LVDS panel and endpoint linkage support but keep the inherited
disabled state. This allows to enable it in an overlay per the current
system configuration.

Signed-off-by: default avatarOleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: default avatarMax Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 1347e201
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -88,10 +88,6 @@ &i2c3 {
	status = "okay";
};

&ldb {
	status = "okay";
};

&pcie {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_reset_moci>;
+0 −4
Original line number Diff line number Diff line
@@ -104,10 +104,6 @@ &i2c3 {
	status = "okay";
};

&ldb {
	status = "okay";
};

&pcie {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_reset_moci>;
+0 −4
Original line number Diff line number Diff line
@@ -94,10 +94,6 @@ &i2c3 {
	status = "okay";
};

&ldb {
	status = "okay";
};

&pcie {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_reset_moci>;
+36 −0
Original line number Diff line number Diff line
@@ -82,6 +82,18 @@ lcd_panel_in: endpoint {
		};
	};

	panel_lvds: panel-lvds {
		compatible = "panel-lvds";
		backlight = <&backlight>;
		status = "disabled";

		port {
			lvds_panel_in: endpoint {
				remote-endpoint = <&lvds0_out>;
			};
		};
	};

	reg_module_3v3: regulator-module-3v3 {
		compatible = "regulator-fixed";
		regulator-name = "+V3.3";
@@ -624,6 +636,30 @@ &ipu1_di1_disp1 {
	remote-endpoint = <&lcd_display_in>;
};

&ldb {
	lvds-channel@0 {
		port@4 {
			reg = <4>;

			lvds0_out: endpoint {
				remote-endpoint = <&lvds_panel_in>;
			};
		};
	};

	lvds-channel@1 {
		fsl,data-mapping = "spwg";
		fsl,data-width = <18>;

		port@4 {
			reg = <4>;

			lvds1_out: endpoint {
			};
		};
	};
};

&pwm1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_pwm1>;