From patchwork Fri Feb 7 15:19:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 13965283 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 BEAEFC02194 for ; Fri, 7 Feb 2025 15:29:58 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J/QFwo3tkjhvTtUOOSxheEjq9X9SqIuw2zp1Ut2ywMI=; b=cGRrDgyq+o871w 0Iq+U/ho3PPHUJTIMPtd/tdx3aREB3GrnWvtTqVs/FgIr+6/RuWFl/49P2Ih4psmJQDyZypXUtOOG wpWQB4Pq4o2RB5YkOMHKeWmmripO+9gkwhFqd1Bv0p+M5omLrRmVm9cT9JEPKj4BqjBHdaJ8dsdit cjGIR1SGLxvSW6bjDrZhCPvEvIQSg1QAT6JosdAJv0cGuE2bgFfTFwqfJTxeWXhsy1BKIUgxDem3S kQFvLgUvAzd8FLFsfnhTeamYfQx2l+TOZ5FOaI1lETlP4iJWFcdbHArvGb7VKvl31RCu6hJ/5hxIn 08kT9gk+pxvXgGvTAqxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tgQIm-0000000A56O-09SN; Fri, 07 Feb 2025 15:29:56 +0000 Received: from smtp-bc0f.mail.infomaniak.ch ([2001:1600:7:10::bc0f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tgQ9Q-0000000A2Jw-0tbM for linux-rockchip@lists.infradead.org; Fri, 07 Feb 2025 15:20:18 +0000 Received: from smtp-4-0000.mail.infomaniak.ch (unknown [IPv6:2001:1600:7:10:40ca:feff:fe05:0]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4YqHhr1w0vzQKs; Fri, 7 Feb 2025 16:20:12 +0100 (CET) Received: from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4YqHhp4yhMzpRh; Fri, 7 Feb 2025 16:20:10 +0100 (CET) From: Quentin Schulz Date: Fri, 07 Feb 2025 16:19:58 +0100 Subject: [PATCH v5 1/4] arm64: dts: rockchip: add overlay test for WolfVision PF5 MIME-Version: 1.0 Message-Id: <20250207-pre-ict-jaguar-v5-1-a70819ea0692@cherry.de> References: <20250207-pre-ict-jaguar-v5-0-a70819ea0692@cherry.de> In-Reply-To: <20250207-pre-ict-jaguar-v5-0-a70819ea0692@cherry.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Jagan Teki , Niklas Cassel , Michael Riesch Cc: Jonas Karlman , Dragan Simic , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Quentin Schulz X-Mailer: b4 0.14.2 X-Infomaniak-Routing: alpha X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250207_072016_383340_65263353 X-CRM114-Status: UNSURE ( 8.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Quentin Schulz The WolfVision PF5 can have a PF5 Visualizer display and PF5 IO Expander board connected to it. Therefore, let's generate an overlay test so the application of the two overlays are validated against the base DTB. Suggested-by: Michael Riesch Reviewed-by: Michael Riesch Signed-off-by: Quentin Schulz Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index def1222c1907eb16b23cff6d540174a4e897abc9..534e70a649eeada7f9b6f12596b83f5c47b184b4 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -170,3 +170,25 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-orangepi-5b.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5a.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-rock-5c.dtb + +# Overlay application tests +# +# A .dtbo must have its own +# +# dtb-$(CONFIG_ARCH_ROCKCHIP) += .dtbo +# +# entry, and at least one overlay application test - ideally reflecting how it +# will be used in real life -: +# +# dtb-$(CONFIG_ARCH_ROCKCHIP) += .dtb +# -dtbs := .dtb .dtbo [.dtbo ...] +# +# This will make the .dtb have symbols (like when DTC_FLAGS has -@ passed) +# and generate a new DTB (.dtb) which is the +# result of the application of .dtbo and other listed overlays on top +# of .dtb. + +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-vz-2-uhd.dtb +rk3568-wolfvision-pf5-vz-2-uhd-dtbs := rk3568-wolfvision-pf5.dtb \ + rk3568-wolfvision-pf5-display-vz.dtbo \ + rk3568-wolfvision-pf5-io-expander.dtbo