From patchwork Wed Jan 29 06:42:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13953463 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 D33ACC0218D for ; Wed, 29 Jan 2025 06:43:11 +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: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:In-Reply-To:References: List-Owner; bh=QlLYzRMGwGGJBdJMHF0ChnzQ9XpW4oPd99CpWFgvtcw=; b=T+rJSfG2Up3UlD FAcaTuEN0Y+eiyG4uVDxKUfR0VLpL0EZXcxhVIuEsQUFTDZMyWqFF5b6h4pxwrbV5WNZc8f+p/raR GMxyWD3fuWUan0BpQyqZYHhMdQMR/49FmR7GEba6KaH2xBZYJvgokF8IkkcIAU7cmZyu33mRgp22m YQfvJrEjT5fysKd4TViMKTVLuHnfspXlN3MBfifHQltHNRs1dU/21f+3SnLT/EmdmatB4d4xWh3/U B9OarzPiYm239KiW0fm7XExV71ToEx0mE+5a7up1pUETw8FcQqie26wWqBWRNy7lpNy4qR7Mws7bi AmU+o4iomdSjydYOG6iA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1td1n0-00000006QfP-0U6P; Wed, 29 Jan 2025 06:43:06 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1td1my-00000006Qf5-0hxl for linux-rockchip@lists.infradead.org; Wed, 29 Jan 2025 06:43:05 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 50T6glYa009998; Wed, 29 Jan 2025 15:42:47 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jonas@kwiboo.se, macromorgan@hotmail.com, michael.riesch@wolfvision.net, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH v2] arm64: dts: rockchip: Add support for device tree overlays for Radxa devices Date: Wed, 29 Jan 2025 06:42:42 +0000 Message-ID: <20250129064242.162265-1-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250128_224304_423550_3AE57514 X-CRM114-Status: UNSURE ( 6.98 ) 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 Since Radxa devices use device tree overlays[1][2][3], make base .dts support them. [1] arch/arm64/boot/dts/rockchip/rk3588-rock-5b-pcie-ep.dtso [2] arch/arm64/boot/dts/rockchip/rk3588-rock-5b-pcie-srns.dtso [3] https://github.com/radxa-pkg/radxa-overlays Signed-off-by: FUKAUMI Naoki --- Changes in v2: - Remove .dtsi - Add rk3582-radxa-e52c - Sort --- arch/arm64/boot/dts/rockchip/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index def1222c1907..729109375d78 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -1,4 +1,31 @@ # SPDX-License-Identifier: GPL-2.0 + +# Enables support for device tree overlays for Radxa devices +DTC_FLAGS_rk3308-rock-pi-s := -@ +DTC_FLAGS_rk3308-rock-s0 := -@ +DTC_FLAGS_rk3328-rock-pi-e := -@ +DTC_FLAGS_rk3399-rock-4c-plus := -@ +DTC_FLAGS_rk3399-rock-4se := -@ +DTC_FLAGS_rk3399-rock-pi-4a := -@ +DTC_FLAGS_rk3399-rock-pi-4a-plus := -@ +DTC_FLAGS_rk3399-rock-pi-4b := -@ +DTC_FLAGS_rk3399-rock-pi-4b-plus := -@ +DTC_FLAGS_rk3399-rock-pi-4c := -@ +DTC_FLAGS_rk3399pro-rock-pi-n10 := -@ +DTC_FLAGS_rk3528-radxa-e20c := -@ +DTC_FLAGS_rk3566-radxa-cm3-io := -@ +DTC_FLAGS_rk3566-radxa-zero-3e := -@ +DTC_FLAGS_rk3566-radxa-zero-3w := -@ +DTC_FLAGS_rk3566-rock-3c := -@ +DTC_FLAGS_rk3568-radxa-e25 := -@ +DTC_FLAGS_rk3568-rock-3a := -@ +DTC_FLAGS_rk3568-rock-3b := -@ +DTC_FLAGS_rk3582-radxa-e52c := -@ +DTC_FLAGS_rk3588-rock-5-itx := -@ +DTC_FLAGS_rk3588-rock-5b := -@ +DTC_FLAGS_rk3588s-rock-5a := -@ +DTC_FLAGS_rk3588s-rock-5c := -@ + dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-evb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2-of10.dtb