ARM: dts: ls1021a-tqmals1021a: Add LVDS overlay for Tianma TM070JVGH33

This adds an overlay for the supported LVDS display tianma tm070jvhg33.
The on-board RGB-to-LVDS encoder and DCU graphics chain are configured
accordingly. Add power supply as well, which had been missing all the time.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Alexander Stein
2025-04-08 11:30:51 +02:00
committed by Shawn Guo
parent 8511c30d71
commit fbfd01d753
3 changed files with 50 additions and 0 deletions

View File

@@ -8,4 +8,6 @@ dtb-$(CONFIG_SOC_LS1021A) += \
ls1021a-twr.dtb
ls1021a-tqmls1021a-mbls1021a-hdmi-dtbs += ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-hdmi.dtbo
ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33-dtbs += ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtbo
dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-hdmi.dtb
dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtb

View File

@@ -0,0 +1,47 @@
// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
/*
* Copyright 2013-2014 Freescale Semiconductor, Inc.
* Copyright 2018-2025 TQ-Systems GmbH <linux@ew.tq-group.com>,
* D-82229 Seefeld, Germany.
* Author: Alexander Stein
*/
#include <dt-bindings/gpio/gpio.h>
/dts-v1/;
/plugin/;
&backlight_dcu {
status = "okay";
};
&dcu {
status = "okay";
port {
dcu_out: endpoint {
remote-endpoint = <&lvds_encoder_in>;
};
};
};
&display {
compatible = "tianma,tm070jvhg33";
status = "okay";
};
&lvds_encoder {
status = "okay";
};
&lvds_encoder_in {
remote-endpoint = <&dcu_out>;
};
&lvds_encoder_out {
remote-endpoint = <&panel_in>;
};
&panel_in {
remote-endpoint = <&lvds_encoder_out>;
};

View File

@@ -147,6 +147,7 @@ hdmi_in: endpoint {
display: panel {
backlight = <&backlight_dcu>;
enable-gpios = <&pca9554_1 3 GPIO_ACTIVE_HIGH>;
power-supply = <&reg_3p3v>;
status = "disabled";
port {