From patchwork Fri Jan 20 13:34:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13109866 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5ABBC27C7C for ; Fri, 20 Jan 2023 13:35:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229964AbjATNfM (ORCPT ); Fri, 20 Jan 2023 08:35:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229943AbjATNfL (ORCPT ); Fri, 20 Jan 2023 08:35:11 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B1CC7AF26; Fri, 20 Jan 2023 05:35:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674221709; x=1705757709; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RadYSxnPEsNw081BTc50G+mT/keKaPVINzosq7+I7zw=; b=WwpQJbkL/H/r6Kc/Gwusnf7yb7uYQGQChzgGk3sWpP5pSslkLwDgH2hN Q9ps8fEDQfRmaw9GeLyDL2PBZ9dUFSC41L9tCZtWyAjy3v7PaaIrGDq6a k01pVjDjEdtH+aPTJ6NX/vnBTu5VpBV195zY9QEdl41xCWrpna4IYKyiS rWwyEYl1Dz0pkxDRgNJZtaiK1Jovj5Z0ZefMvOLHxV1R762UI89O6+hlX dgAziM7JUKhMEb5mgWxBtSrgS8AoVmt/ixAeVszaCd+q1/sdmo8oIHF1+ vYvt2Eqyqagd+o+VxGkvAFNq4NQglLIQA6T2iPHROsDXhI0fvtsd9dbgi A==; X-IronPort-AV: E=Sophos;i="5.97,232,1669071600"; d="scan'208";a="28561584" 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:05 +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:05 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 20 Jan 2023 14:35:05 +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=1674221705; x=1705757705; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RadYSxnPEsNw081BTc50G+mT/keKaPVINzosq7+I7zw=; b=ZKSz8BY+ZjDtLi8NIx3fL1VuvDK1e/4HuH70PCEC0GXl6R1xD3UCF5bT p6QW/YNSSb5mvivz2QtF+38vRYaINz6W4X89JYU5hkCvuTtqWrNztzKyX khdo5oOENVtyg3a9C37VoablSf1yS5wDnXiCiJ2rACfTGtIq9Lp1bIfzp FdamRQZrdMfhc5bBzxmSxc5Bj2Kd2mziMG3+4A2obM5YdpcQjMCphpvw6 7rVWyKLogOvb5ZJ9PTbexRFq6klbbl/Bvc6SJnWZgYHaeYd3KFs1yt758 nmnNmJ76W9ZbmFPPzRRkHES3ahIlKxWnD3Ydqi3/LS5shUVHWOp6Hcbwo A==; X-IronPort-AV: E=Sophos;i="5.97,232,1669071600"; d="scan'208";a="28561583" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 20 Jan 2023 14:35:05 +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 E12B1280074; 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 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 06/10] ARM: dts: ls1021a: add TQMLS1021A/MBLS102xA LVDS CDTECH DC44 overlay Date: Fri, 20 Jan 2023 14:34:51 +0100 Message-Id: <20230120133455.3962413-7-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 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Add device tree overlay for LVDS display usage. Signed-off-by: Alexander Stein --- Changes in v2: * None arch/arm/boot/dts/Makefile | 2 + ...1021a-tqmls1021a-mbls1021a-cdtech-dc44.dts | 55 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d5105e8179431..774cc57274e20 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -806,9 +806,11 @@ dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-tsn.dtb \ ls1021a-twr.dtb +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-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-dc44.dts b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.dts new file mode 100644 index 0000000000000..ddc71bc597295 --- /dev/null +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-cdtech-dc44.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,s070swv29hg-dc44"; + 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 = <800>; + touchscreen-size-y = <480>; + }; +};