From patchwork Fri Jan 20 13:34:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13109855 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 DA2DDC05027 for ; Fri, 20 Jan 2023 13:37:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nPIcQQinc+1KVYx4VXLs9H+o2p9Jo+uDeksr6fnsCzo=; b=B1dr3gyrcUJUMf eiRNm/3K9GaOoAxkMHPsxIJM8wNQ79TzmKo3l0Ov0PfQbQZPxsvSJCDL5JKmUrshH0+GqinSAKtqf pZlzG0f8e3yO5ZOF+vjJAo2I/jT5m7f83fU+1zlySJuTGwufFv2flJIonJF/HYTsNGcCoqvT1VgXF WPGqA/6OfLAAInWL0fB1tPUNmx3RmgZ8yAqBr865VZgvusJBDS9nRYrJdUUaifrGs166ijO+1zeq2 yEaCtnD62focHCOfI4wzVLaglv9PdDvYXnlVVLaBo/aFaCBX2MNk5EyoyRbJgAd4lY9lU7h1iOsFa mEq7GQmBrCg64X0wVaGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIrYl-00ASVt-9Y; Fri, 20 Jan 2023 13:35:59 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIrXy-00ASEd-6h for linux-arm-kernel@lists.infradead.org; Fri, 20 Jan 2023 13:35:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674221710; x=1705757710; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6lUwIFtQeWgMcDuLcfHeHzcSNR9oLnzazQUJVZ0zNcU=; b=f1W3Ak9waYulP3xIGwLPPm5uks/3BgQiKi8xjD7eN3riY1MGPhLXYIKA x4lWwa+pvfwyVRGYTR5+ohGF2tmvhmpH6u4ulbf2LLe5Ff0+Yr145B+jE +tTMh50NtrVnPbp63vFnPLZpygZ7AUt8rRtERHGuWrn8cizwWwsWJMkMz 119BFseXv6EYVUkeboiemJKO3+owRYC773MGYCGOeHDv6aecJMfHmNeJC fz/X+Tu978ab8PgnjxQWbxqyN5qYCXbM86Inxpwv3N4pC2IqY8E11yNna pgvvtR5FHiAhjowB6Y4sBF608WaFi0vxeLtdQaf7vs+4vcQBzfEp4RLGI A==; X-IronPort-AV: E=Sophos;i="5.97,232,1669071600"; d="scan'208";a="28561582" 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=6lUwIFtQeWgMcDuLcfHeHzcSNR9oLnzazQUJVZ0zNcU=; b=XKrETyMHqxjFkEL8Ec0OcOzsTD7CpLhxD2mDSNEri70JZioVgNwAR2S7 epS0WklJwszSrLwIu9f6tSfP+JSE5O8lOZhHpxhYAyHv9yGGk3ELT24jR whhUwp6jUmJX2C5N2w1sXldvRas2Q49Njjt2pCAyS2TKIAZH5IbrFvVvV NXB70r3w1EnwGA6mg4JLhoHF6n8MBnk3meLRiiUUW/wehvvnBaG1xBJnc /DO2TSRKDjsdw3x0Y75xc2ONPD1bXZB7D8F8BEMWEPpYICBizmyM+PVGd DRPxgI84SNWBBYbWlr20KBkOxXKibnX22EP/StPgisUezBfqXjDwBNxfV Q==; X-IronPort-AV: E=Sophos;i="5.97,232,1669071600"; d="scan'208";a="28561581" 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 65FF1280078; 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 05/10] ARM: dts: ls1021a: add TQMLS1021A/MBLS102xA HDMI overlay Date: Fri, 20 Jan 2023 14:34:50 +0100 Message-Id: <20230120133455.3962413-6-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230120_053510_600049_37390FC6 X-CRM114-Status: GOOD ( 15.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device tree overlay for HDMI usage. Signed-off-by: Alexander Stein --- Changes in v2: * None arch/arm/boot/dts/Makefile | 2 ++ .../ls1021a-tqmls1021a-mbls1021a-hdmi.dtso | 36 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-hdmi.dtso diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e6943dc73a3fd..d5105e8179431 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -806,8 +806,10 @@ dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-tsn.dtb \ ls1021a-twr.dtb +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-hdmi.dtb dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtb dtb-$(CONFIG_SOC_VF610) += \ diff --git a/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-hdmi.dtso b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-hdmi.dtso new file mode 100644 index 0000000000000..f5ca22643c08e --- /dev/null +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a-mbls1021a-hdmi.dtso @@ -0,0 +1,36 @@ +// 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/; + +&dcu { + status = "okay"; + + port { + dcu_out: endpoint { + remote-endpoint = <&sii9022a_in>; + }; + }; +}; + +&hdmi_out { + status = "okay"; +}; + +&sii9022a { + status = "okay"; + + ports { + port@0 { + sii9022a_in: endpoint { + remote-endpoint = <&dcu_out>; + }; + }; + }; +};