From patchwork Fri Jan 20 13:34:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13109874 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 9AC84C25B4E for ; Fri, 20 Jan 2023 13:35:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 74334C4339C; Fri, 20 Jan 2023 13:35:13 +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 C655BC433AA; Fri, 20 Jan 2023 13:35:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org C655BC433AA 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=1674221712; x=1705757712; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=m4GQZIbgAgXS9UusbCs7hXkZyTGUE18zmx4rVv+k/Mk=; b=diP2G/GSW9gCtadUk+EIEVuYsgAhlA0mWaAdS2gqdlY5ff5ueTh7iBNq jZaV9BW+LgOxfwHRs/UxnaQ/gP3IPr/lQrV0xypQZlugdxfe8blaSC8Bo EwCtZtriJDDqcr6wpuBhfyoQzAiZUJRz5jNNbcStyb+1F6u9Y3VSIp1z7 8jeQqk6gkqBRNZlu53ymdu/kHnMO4I2A/dIzs9x+OOJxW65fQnCHF6TZF RxVd+vQ1cyO94Zi6hvCzc+coVbhqrCesqTIJg6xH7ZWVtws3poH/q1ldQ SjBlWN2BFWlkFo20D1HILVV1Yi2nf6XaByKEsk81KqprX2bXh5NPd/S88 g==; X-IronPort-AV: E=Sophos;i="5.97,232,1669071600"; d="scan'208";a="28561580" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 20 Jan 2023 14:35:04 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 20 Jan 2023 14:35:04 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 20 Jan 2023 14:35:04 +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=1674221704; x=1705757704; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=m4GQZIbgAgXS9UusbCs7hXkZyTGUE18zmx4rVv+k/Mk=; b=EWGtcCkV3i9mpr25D8bdHXyzAMOMiSYl8iZr0/+B4r3P5avzKDgVWeho bY+tiYtP3uD4t92jh8kxH+M2kyIXvSLIKpetPlUASK4fNtMPzi4+pNtPe Y1nOIpu4nt0MD6h/xK8VevRVhitPomWJdWss2hjQv+61kA3+CrFILQsqr 1Cjx4TZmFOnRX6KXOpVpXvgfUux91/nKFHFXQFaQM6zU086FnLABEfmOd Xs9bX3EPC0FsgPBJPf7lf6OkPk3fqoU7C/KPL3F4ZMbkZRxjsp9UplkL9 DhIJ/vmFuZ1Cr0yI2XMxfP3kOAHWow/9/eLGEMOjHoOOTYQ+oVQ9bwEDO Q==; X-IronPort-AV: E=Sophos;i="5.97,232,1669071600"; d="scan'208";a="28561579" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 20 Jan 2023 14:35:04 +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 0ABE9280074; Fri, 20 Jan 2023 14:35:04 +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 v2 04/10] ARM: dts: ls1021a: add TQMLS1021A/MBLS102xA LVDS TM070JVHG33 overlay Date: Fri, 20 Jan 2023 14:34:49 +0100 Message-Id: <20230120133455.3962413-5-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230120133455.3962413-1-alexander.stein@ew.tq-group.com> References: <20230120133455.3962413-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 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 44b5ed44b13d6..e6943dc73a3fd 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>; + }; + }; + }; +};