From patchwork Tue Mar 1 20:31:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 12765151 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 51353C433EF for ; Tue, 1 Mar 2022 20:33:33 +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=7UGGxMTb0IL51Um054N78FRDBdQC4P5zEBvPpzOZZr0=; b=XysmWM+Ynzv1n5 8mEcEzZJ3SeIIgbO+C4tgb2RSbcT068zuR6Lbm47PTNXgg4X0pMA4xGFH3PHwxeGW3fxOJpmMjnBI Tbk53uaUlMnNyQzrl4ruCbI9i5d9v+Kh0k86hVD3bICsf4mW5+aKsAHcJP/VpW+adkVAwsAnYcCSd eaPrEr2+5pjWYEZIC5b1y7Ww0UzGb84kIClr7d+BF9bbPHCBlD+d/+0YJgx63dodaj2gbn717fIMF Fgl1Sz4weQ3kKXg5EhW16apypcaUfjBcJEedZ5C0lJGuo353BfNaP9Ml7x8tFE2oiojfXgnj04O0F K8oomYU4CmmT+aXH3qZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nP9AF-000TQS-Of; Tue, 01 Mar 2022 20:32:07 +0000 Received: from bhuna.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e3e3]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nP9AA-000TO3-Va; Tue, 01 Mar 2022 20:32:04 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id 76E0A1F44A0C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1646166719; bh=30KWDp2GNK/sf6NE9GWC366W39fquqf0+OV7OW587yY=; h=From:To:Cc:Subject:Date:From; b=PfybGxvTAmNXQegyu9H4FbwjrKojrvsOFSQyPxT8iuDkBIg92ncD1k2RPh5oEoR3l amaskfUhltQKdLtaXsUb1STAu+WVJn7tWQCcHcK7gMJodK6c77UFizhdXpd50VY7GI HSD68GE7UFE/coOMRB5SHwdFaRLuqN4POmckGbTM8TgoNlZW+6pSXMdrd3TEJhjUUr KiBXQvjXpM/sVLN9kVtceOH69UiO0y+PrqgXp0tBkM2eVByvHXpqmnvmigs0cy4KrQ //N5oNH3yehsZJK8mpqP/+VvQwefp6sQmDyma16WKI/Vk+qqh4HVPw3weQxCPQu3uU XcY6M+aybPSNQ== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Matthias Brugger Cc: Rob Herring , AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 1/2] arm: dts: mediatek: Format mediatek, larbs as an array of phandles Date: Tue, 1 Mar 2022 15:31:46 -0500 Message-Id: <20220301203147.1143782-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220301_123203_235219_84CCEA2B X-CRM114-Status: GOOD ( 13.04 ) 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 Commit 39bd2b6a3783 ("dt-bindings: Improve phandle-array schemas") updated the mediatek,larbs property in the mediatek,iommu.yaml dt-binding to make it clearer that the phandles passed to the property are independent, rather than subsequent arguments to the first phandle. Update the mediatek,larbs property in the arm Devicetrees to use the same formatting. This change doesn't impact any behavior: the compiled dtb is exactly the same. It does however fix the warnings generated by dtbs_check. Signed-off-by: NĂ­colas F. R. A. Prado --- v1: https://lore.kernel.org/linux-mediatek/20220225225315.80220-1-nfraprado@collabora.com/ Changes in v2: - Split arm and arm64 changes into separate commits arch/arm/boot/dts/mt2701.dtsi | 2 +- arch/arm/boot/dts/mt7623n.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index 4776f85d6d5b..64722285228c 100644 --- a/arch/arm/boot/dts/mt2701.dtsi +++ b/arch/arm/boot/dts/mt2701.dtsi @@ -222,7 +222,7 @@ iommu: mmsys_iommu@10205000 { interrupts = ; clocks = <&infracfg CLK_INFRA_M4U>; clock-names = "bclk"; - mediatek,larbs = <&larb0 &larb1 &larb2>; + mediatek,larbs = <&larb0>, <&larb1>, <&larb2>; #iommu-cells = <1>; }; diff --git a/arch/arm/boot/dts/mt7623n.dtsi b/arch/arm/boot/dts/mt7623n.dtsi index bcb0846e29fd..f9e031621c80 100644 --- a/arch/arm/boot/dts/mt7623n.dtsi +++ b/arch/arm/boot/dts/mt7623n.dtsi @@ -107,7 +107,7 @@ iommu: mmsys_iommu@10205000 { interrupts = ; clocks = <&infracfg CLK_INFRA_M4U>; clock-names = "bclk"; - mediatek,larbs = <&larb0 &larb1 &larb2>; + mediatek,larbs = <&larb0>, <&larb1>, <&larb2>; #iommu-cells = <1>; };