From patchwork Tue Jan 24 11:02:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13113800 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 76802C25B4E for ; Tue, 24 Jan 2023 11:02:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 5E7A7C433A8; Tue, 24 Jan 2023 11:02:27 +0000 (UTC) Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 869C9C433AC; Tue, 24 Jan 2023 11:02:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 869C9C433AC Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674558145; x=1706094145; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oGiyXaJNmANxjg8Vq0a8jTPt9MvSMy2CNwFRW9y3uL0=; b=a+xiYCUGzjRopDQXHJJKfk35zb8RCH9ipX474YrQYDdeQih9oyRepdHS FyUUTy5N986y6pcxU2+cl25QiL+fhdCQJKVhow0kLLaunjHpBGNvIwtL/ fzbVB5x0Le4m1GMasyuldv7v9IwtA9AY/x1s3DgVrpyQB7pVv8ZerqA+l 1CpT+t1HanUpnp1haoZzDS9LcAQTdWNwss4B6OkobHVC037H0ff7TKyfI 2+V0qyioUxeM6VNFNHFhrv0DIEEu/l7V3U9aGSRGm/eShkAirboOECP97 tFJ9k1I0/dvc2WKKbjoXc4C9vb6jx/lAUIqIK7b4vgNIkP1RM4rKdewUD Q==; X-IronPort-AV: E=Sophos;i="5.97,242,1669071600"; d="scan'208";a="28616618" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 24 Jan 2023 12:02:18 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 24 Jan 2023 12:02:18 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 24 Jan 2023 12:02:18 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674558138; x=1706094138; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oGiyXaJNmANxjg8Vq0a8jTPt9MvSMy2CNwFRW9y3uL0=; b=e6Helcs0DnyPeB9+z9ui/6kuNvZBfXPv0S4dj94k7wMxN9+EvI7riSwZ O3WuLRoJb531XKL/bMbPi//MWlfVWqKRaQPD6GFBMMmOGiVedgmguAEm7 +PxiktEoUKkdd+t6bDkyPuRPRJXyUbCuwzbr/ERA/xEsiJCaxSHa+z/vO BkaeTIvA+bfe6lBJM+9XeB3SeSv1huYYgRTz7Ozu7tNFB5W3KkTwI74b5 FyXZfHJk7yarO7FWn+MSjYi/98N7ep3Wb4T48ViWuhx4/DiMnElhgO9KC exFZ65V/7invCg6dkep6S3jTc9S7+mV4ZH37lvb6THjxAoNG5jaFaM8WR Q==; X-IronPort-AV: E=Sophos;i="5.97,242,1669071600"; d="scan'208";a="28616616" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 24 Jan 2023 12:02:17 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 79AE9280056; Tue, 24 Jan 2023 12:02:17 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier List-Id: Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-kbuild@vger.kernel.org Subject: [PATCH v3 04/10] ARM: dts: ls1021a: add TQMLS1021A/MBLS102xA LVDS TM070JVHG33 overlay Date: Tue, 24 Jan 2023 12:02:07 +0100 Message-Id: <20230124110213.3221264-5-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230124110213.3221264-1-alexander.stein@ew.tq-group.com> References: <20230124110213.3221264-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Add device tree overlay for LVDS display usage. Signed-off-by: Alexander Stein --- Changes in v3: * None Changes in v2: * None arch/arm/boot/dts/Makefile | 5 ++ ...tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso | 56 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 758b6f2f14e7d..626f7172c74e9 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -805,6 +805,11 @@ dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-tqmls1021a-mbls1021a.dtb \ ls1021a-tsn.dtb \ ls1021a-twr.dtb + +ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtbo + +dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtb + dtb-$(CONFIG_SOC_VF610) += \ vf500-colibri-eval-v3.dtb \ vf610-bk4.dtb \ diff --git a/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso new file mode 100644 index 0000000000000..252ef982dd862 --- /dev/null +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtso @@ -0,0 +1,56 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + + */ + +/dts-v1/; +/plugin/; + +#include + +&backlight_dcu { + status = "okay"; +}; + +&dcu { + status = "okay"; + + port { + + dcu_out: endpoint { + remote-endpoint = <&lvds_encoder_in>; + }; + }; +}; + +&display { + compatible = "tianma,tm070jvhg33"; + status = "okay"; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder_out>; + }; + }; +}; + +&lvds_encoder { + status = "okay"; + + ports { + port@0 { + lvds_encoder_in: endpoint { + remote-endpoint = <&dcu_out>; + }; + }; + + port@1 { + lvds_encoder_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; +};