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: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Oleksandr Suvorov 2022-06-15 13:49:57 +02:00 committed by Shawn Guo
parent 1347e20118
commit a9b9f1c6de
4 changed files with 36 additions and 12 deletions

View File

@ -88,10 +88,6 @@ &i2c3 {
status = "okay";
};
&ldb {
status = "okay";
};
&pcie {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reset_moci>;

View File

@ -104,10 +104,6 @@ &i2c3 {
status = "okay";
};
&ldb {
status = "okay";
};
&pcie {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reset_moci>;

View File

@ -94,10 +94,6 @@ &i2c3 {
status = "okay";
};
&ldb {
status = "okay";
};
&pcie {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reset_moci>;

View File

@ -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>;