From patchwork Thu Jan 19 14:42:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13108191 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 5541DC6379F for ; Thu, 19 Jan 2023 14:43:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 3B30BC433D2; Thu, 19 Jan 2023 14:43:00 +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 4F8DAC433F0; Thu, 19 Jan 2023 14:42:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 4F8DAC433F0 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=1674139379; x=1705675379; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WaHO6dQkECqg1BoxffsPr2SMwQT9honmJ2MccBw3l4E=; b=iTBOTw1JGjd3Ib3u2LRb6raMAl6cVbAzvB2XaR3jvPjlfBREV8CIdSzv 6ldyteYZtaQh2vmhpPyqqjXyp/LWkR+NbEjfYIqo6RYPIgBjjzt713iSk 3VfsZAQhDaKrGUUCNXLnqAVnuf6GH1oegiiB/OA0mcwtUvH9CeCmbSwVM DMAJN1IogxCZ5oRptlwWM7GSok6N3LoNzsHqlP589d4JvlMf50mBrY49c Ar2tBx+9nXfo0QQT4QwjGtJcdbyB4fAudKDK2RO2T+E9oHuv7BQFNkN2p nRe0kotU0pp3templ+/SIXu1zmW9b1Pw18I1KYimcsYSoca3E1oZEnN8a Q==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537315" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 19 Jan 2023 15:42:45 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 19 Jan 2023 15:42:45 +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=1674139365; x=1705675365; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WaHO6dQkECqg1BoxffsPr2SMwQT9honmJ2MccBw3l4E=; b=Hcnc/LWr81aWSnj4TilaDeJab/9cY07YMzX3s0rlTGE+pM/of1/eo/bD 1ISNRRK9H2al+dcD93Ad9sKCXm8JeExWUVG3sOOrIxUSJWoiA/+kEypzH 8rprJtxZP3fvJKxfilkzfmd4X4AyImfvgZQTEYELUeWAD77fOfiInVJK3 fSpJ/8icY4UEaJpI82rck7tq+vWIzgFNIJYsVzt858jMeLiGFLt4aCYkG zDPErzKVKZsFZfflMpms7nkE2uwX5oHLDqUyQB+mQqeMMIeAvgfHIEJtX TGo08/yqx/85qiaQSH2wqjXgorjRTmD1Mu8yIM93in9iyT/97R9s2DCiI Q==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537313" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +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 7F30A280056; Thu, 19 Jan 2023 15:42:44 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler List-Id: Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 7/9] ARM: dts: ls1021a: add TQMLS1021A/MBLS102xA LVDS CDTECH FC21 overlay Date: Thu, 19 Jan 2023 15:42:34 +0100 Message-Id: <20230119144236.3541751-8-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> References: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Add device tree overlay for LVDS display usage. Signed-off-by: Alexander Stein --- arch/arm/boot/dts/Makefile | 2 + ...1021a-tqmls1021a-mbls1021a-cdtech-fc21.dts | 55 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-fc21.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 774cc57274e20..bc51a5b868c10 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -806,10 +806,12 @@ dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-tsn.dtb \ ls1021a-twr.dtb +ls1021a-tqmls1021a-mbls1021a-cdtech-fc21-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-cdtech-fc21.dtbo ls1021a-tqmls1021a-mbls1021a-cdtech-dc44-dtbs := ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dtbo 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-cdtech-fc21.dtb dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dtb 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/ls1021a-tqmls1021a-mbls1021a-cdtech-fc21.dts b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-fc21.dts new file mode 100644 index 0000000000000..4bd10d0e17b90 --- /dev/null +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-fc21.dts @@ -0,0 +1,55 @@ +// 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 +#include + +&backlight_dcu { + status = "okay"; +}; + +&dcu { + status = "okay"; + + port { + dcu_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; +}; + +&display { + compatible = "cdtech,s070pws19hp-fc21"; + status = "okay"; + + port { + panel_in: endpoint { + remote-endpoint = <&dcu_out>; + }; + }; +}; + +&i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + polytouch: touchscreen@38 { + compatible = "edt,edt-ft5406"; + 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>; + gain = <20>; + touchscreen-size-x = <1024>; + touchscreen-size-y = <600>; + }; +};