Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@nxp.com>
To: Alexander Stein <alexander.stein@ew.tq-group.com>
Cc: Shawn Guo <shawnguo@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, imx@lists.linux.dev
Subject: Re: [PATCH v2 4/7] ARM: dts: ls1021a-tqmals1021a: Add LVDS overlay for Tianma TM070JVGH33
Date: Tue, 8 Apr 2025 12:09:29 -0400	[thread overview]
Message-ID: <Z/VKOVMssWrENITt@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20250408093059.551700-5-alexander.stein@ew.tq-group.com>

On Tue, Apr 08, 2025 at 11:30:51AM +0200, Alexander Stein wrote:
> 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>

>  arch/arm/boot/dts/nxp/ls/Makefile             |  2 +
>  ...tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso | 47 +++++++++++++++++++
>  .../nxp/ls/ls1021a-tqmls1021a-mbls1021a.dts   |  1 +
>  3 files changed, 50 insertions(+)
>  create mode 100644 arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso
>
> diff --git a/arch/arm/boot/dts/nxp/ls/Makefile b/arch/arm/boot/dts/nxp/ls/Makefile
> index 225a7665b8ad1..7f96de6f80224 100644
> --- a/arch/arm/boot/dts/nxp/ls/Makefile
> +++ b/arch/arm/boot/dts/nxp/ls/Makefile
> @@ -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
> diff --git a/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso b/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso
> new file mode 100644
> index 0000000000000..e9708f3c67403
> --- /dev/null
> +++ b/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso
> @@ -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>;
> +};
> diff --git a/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a.dts b/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a.dts
> index 27a55fa638128..80dae0c09542d 100644
> --- a/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a.dts
> +++ b/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a.dts
> @@ -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 {
> --
> 2.43.0
>

  reply	other threads:[~2025-04-08 16:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-08  9:30 [PATCH v2 0/7] TQMLS102xA: New display overlays and small fixes Alexander Stein
2025-04-08  9:30 ` [PATCH v2 1/7] ARM: dts: ls1021a-tqmals1021a: Fix license Alexander Stein
2025-04-08  9:30 ` [PATCH v2 2/7] ARM: dts: ls1021a-tqmals1021a: Add vcc-supply for spi-nor Alexander Stein
2025-04-08  9:30 ` [PATCH v2 3/7] ARM: dts: ls1021a-tqmals1021a: Add HDMI overlay Alexander Stein
2025-04-08  9:30 ` [PATCH v2 4/7] ARM: dts: ls1021a-tqmals1021a: Add LVDS overlay for Tianma TM070JVGH33 Alexander Stein
2025-04-08 16:09   ` Frank Li [this message]
2025-04-08  9:30 ` [PATCH v2 5/7] ARM: dts: ls1021a-tqmals1021a: Add overlay for CDTech FC21 RGB display Alexander Stein
2025-04-23  9:54   ` Shawn Guo
2025-04-08  9:30 ` [PATCH v2 6/7] ARM: dts: ls1021a-tqmals1021a: Add overlay for CDTech DC44 " Alexander Stein
2025-04-08  9:30 ` [PATCH v2 7/7] ARM: dts: ls1021a-tqmals1021a: change sound card model name Alexander Stein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z/VKOVMssWrENITt@lizhi-Precision-Tower-5810 \
    --to=frank.li@nxp.com \
    --cc=alexander.stein@ew.tq-group.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox