devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo2@yeah.net>
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,
	Frank Li <Frank.Li@nxp.com>
Subject: Re: [PATCH v2 5/7] ARM: dts: ls1021a-tqmals1021a: Add overlay for CDTech FC21 RGB display
Date: Wed, 23 Apr 2025 17:54:53 +0800	[thread overview]
Message-ID: <aAi47dGoKbHqEo7Q@dragon> (raw)
In-Reply-To: <20250408093059.551700-6-alexander.stein@ew.tq-group.com>

On Tue, Apr 08, 2025 at 11:30:52AM +0200, Alexander Stein wrote:
> This adds an overlay for the supported RGB display CDTech FC21.
> DCU graphics chain is configured accordingly.
> 
> 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-rgb-cdtech-fc21.dtso | 56 +++++++++++++++++++
>  2 files changed, 58 insertions(+)
>  create mode 100644 arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21.dtso
> 
> diff --git a/arch/arm/boot/dts/nxp/ls/Makefile b/arch/arm/boot/dts/nxp/ls/Makefile
> index 7f96de6f80224..7b97b718ebc16 100644
> --- a/arch/arm/boot/dts/nxp/ls/Makefile
> +++ b/arch/arm/boot/dts/nxp/ls/Makefile
> @@ -9,5 +9,7 @@ dtb-$(CONFIG_SOC_LS1021A) += \
>  
>  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
> +ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21-dtbs += ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21.dtbo
>  dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-hdmi.dtb
>  dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtb
> +dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21.dtb
> diff --git a/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21.dtso b/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21.dtso
> new file mode 100644
> index 0000000000000..31494d9d09f8f
> --- /dev/null
> +++ b/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21.dtso
> @@ -0,0 +1,56 @@
> +// 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>
> +#include <dt-bindings/interrupt-controller/irq.h>
> +
> +/dts-v1/;
> +/plugin/;
> +
> +&backlight_dcu {
> +	status = "okay";
> +};
> +
> +&dcu {
> +	status = "okay";
> +
> +	port {
> +		dcu_out: endpoint {
> +			remote-endpoint = <&panel_in>;
> +		};
> +	};
> +};
> +
> +&display {
> +	compatible = "cdtech,s070pws19hp-fc21";
> +	status = "okay";
> +};
> +
> +&i2c0 {
> +	#address-cells = <1>;
> +	#size-cells = <0>;
> +
> +	polytouch: touchscreen@38 {
> +		compatible = "edt,edt-ft5406", "edt,edt-ft5x06";
> +		reg = <0x38>;
> +		interrupt-parent = <&pca9554_0>;
> +		interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
> +		/* LCD_PWR_EN -> TSC_WAKE */
> +		wake-gpios = <&pca9554_1 4 GPIO_ACTIVE_HIGH>;
> +		iovcc-supply = <&reg_3p3v>;
> +		vcc-supply = <&reg_3p3v>;
> +		gain = <20>;
> +		touchscreen-size-x = <800>;
> +		touchscreen-size-y = <480>;
> +	};
> +};
> +
> +&panel_in {
> +	remote-endpoint = <&dcu_out>;
> +};
> +

Whitespace at EOF.  Fixed it and applied the series.

Shawn

> -- 
> 2.43.0
> 


  reply	other threads:[~2025-04-23  9:55 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
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 [this message]
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=aAi47dGoKbHqEo7Q@dragon \
    --to=shawnguo2@yeah.net \
    --cc=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;
as well as URLs for NNTP newsgroup(s).