From patchwork Thu Oct 13 15:22:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13006113 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 9ADEDC4332F for ; Thu, 13 Oct 2022 15:24:00 +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=Qa30fuuZWLkF9SBFGUw3GYXwOIMljwi5+66oK5wkbak=; b=eb9hAH60U2mN+J q7JO8xzZnOfHuWSwCU7iy4DDqUFWwbqUF20JA3guvpX/TEMMpEFGM2l48cF0GeBj8bzTjGNyz66yk v/mYDnE9DFt8Dxks8RyznCLVY3Kh4slIXg+ZBLXQwTY+mPLQJSc4K0vGvkomgsn1MKFwj6wvYaW80 BGJnWUJhJiaUM3S49RBaBhHMpN5EXdlXl/TSK1QdQMK3ZKDYqJGPWycGfykk+MjXFdBGHOBNnTi2r YLaLZViw0Tt2V8Y0sie5ZEnoLROmlu3HuOWnxfMrA/DU02j+L0TkLwnSLIJuVbE9p8ZAvrjDYs8wx E4XM7XwboAFdHXiAUTnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj02w-00CFmq-LR; Thu, 13 Oct 2022 15:22:54 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj02S-00CFZZ-4L; Thu, 13 Oct 2022 15:22:26 +0000 Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 8F7166602369; Thu, 13 Oct 2022 16:22:19 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1665674540; bh=sHR9hQ308Hig3a4nvi1jX0nnafCsL5l6MhkjxYPM6T0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aEChSI6KoSB8QZHNDonu+dSB8IQ0hLxCm2DIwfgZ5L3Ky4DCOKM55iEJrR5ZzkoOU 3BbpLh2OCNXI2k2zpRAOsFIV+RwEQgYj/LY/Ab35RaP1n5LRghU/AYRms6QdHsTy+H 7IITjdUTC1Zd+psmICFBJ3jxzfPS8lWIL6MI2TLP+WLLwBuMShDx0il3yqv0LeYzmO meKAvP5+iijrS5krbVlLasd1rhNrit47EXjUVzbzzeHD+nUJCK+JjXhCf5x+EqrXTR 4kC4/WxbfaHW2dL3X9ciQmO+0+AzvWeiu3aepWe8J3eKQFsJfyU2AhBuVFsDPTNXp4 6uDOsmj8aXpNw== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sam.shih@mediatek.com, hanks.chen@mediatek.com, weiyi.lu@mediatek.com, zhiyong.tao@mediatek.com, andrew-sh.cheng@mediatek.com, viresh.kumar@linaro.org, chunfeng.yun@mediatek.com, fparent@baylibre.com, mars.cheng@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH 1/8] arm64: dts: mt7896a: Fix unit_address_vs_reg warning for oscillator Date: Thu, 13 Oct 2022 17:22:05 +0200 Message-Id: <20221013152212.416661-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> References: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_082224_387675_74B52F0B X-CRM114-Status: GOOD ( 10.22 ) 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 Rename the oscillator fixed-clock to oscillator-40m and remove the unit address to fix warnings. arch/arm64/boot/dts/mediatek/mt7986a.dtsi:17.23-22.4: Warning (unit_address_vs_reg): /oscillator@0: node has a unit name, but no reg or ranges property Fixes: 1f9986b258c2 ("arm64: dts: mediatek: add clock support for mt7986a") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi index 72e0d9722e07..599eb50c8a5b 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi @@ -14,7 +14,7 @@ / { #address-cells = <2>; #size-cells = <2>; - clk40m: oscillator@0 { + clk40m: oscillator-40m { compatible = "fixed-clock"; clock-frequency = <40000000>; #clock-cells = <0>; From patchwork Thu Oct 13 15:22:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13006112 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 6F9F3C4332F for ; Thu, 13 Oct 2022 15:23:40 +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=JYYuyxZV9ABhzoB45qds43UL3hwhf8hn93b/OtVKj88=; b=w9RuI+Nymt5C0b zljSwZ5sbcT8dkzeOj6QiMjXD2TtZq0xcWNY/93sDVj02448LNFwRkfw+vYm/rt+bAQ7w7256hZpX yHH7UqfXf7bngOuJ5AaShMMmXrSpKahxclYNfGH/f+hh7UrBhHjXPU+4nDhexQ8/+48ff2h0/ClVs BJevUYeXJ0GRemKZ2GUVs6gPteiLExzUi88lld4grbylS86m1vbCfQ16vMXgucRyx5yGYb1087ZTr /HLwAgFUOLflg3ABR5bg5dwJrUpUIQFIglngOgjRxHDZ/87Y9wASqRe/rVuuYC6I6LL3Y1Kr8hKgp 3kC4vCxStTEVRg78/1yA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj02m-00CFj6-2Y; Thu, 13 Oct 2022 15:22:44 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj02S-00CFZa-4N; Thu, 13 Oct 2022 15:22:25 +0000 Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id A3D44660236A; Thu, 13 Oct 2022 16:22:20 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1665674541; bh=1Hsa+hCs6ujNKDF0QPMj+cm7hvP4DZ+oiE2dgapkeCk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j9uzIrSVYtl3sc0lo308WxbTghFY6HMyxmml2wdtHPXM7CfuzgUIaaV1dfej+p1E9 QQjdZPn3ygu79WPsAVEmN+fLbdDVnTYFJgdjOfl6s55EgOmCIYkY6wcOpZSDQYbB8K L3Vp5D9eMFzLsVTK87zYMhosBF1+4nezr3W79Kaw14yPl1ZiVbG8B/zJ/3BtVYJErO EkSZkBp0/iGIWkkFeDVNbDyzMfjrjmIorejmTplHDBZXIsd1YM7EfK2z2k47AuR1hf cXxC7tGHNM7bqU+EQLNtdEm6J5Rc4D5xJ17UyD4p7cdpAbZFY3YnyO4vsAqCjnc4bY vFPX6E9nz15zQ== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sam.shih@mediatek.com, hanks.chen@mediatek.com, weiyi.lu@mediatek.com, zhiyong.tao@mediatek.com, andrew-sh.cheng@mediatek.com, viresh.kumar@linaro.org, chunfeng.yun@mediatek.com, fparent@baylibre.com, mars.cheng@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH 2/8] arm64: dts: mt6779: Fix devicetree build warnings Date: Thu, 13 Oct 2022 17:22:06 +0200 Message-Id: <20221013152212.416661-3-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> References: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_082224_375456_FCBCFDCB X-CRM114-Status: GOOD ( 10.07 ) 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 Rename fixed-clock oscillators to oscillator-26m and oscillator-32k and remove the unit address to fix the unit_address_vs_reg warning; fix the unit address for interrupt and intpol controllers by removing a leading zero in their unit address. This commit fixes the following warnings: (unit_address_vs_reg): /oscillator@0: node has a unit name, but no reg or ranges property (unit_address_vs_reg): /oscillator@1: node has a unit name, but no reg or ranges property (simple_bus_reg): /soc/interrupt-controller@0c000000: simple-bus unit address format error, expected "c000000" (simple_bus_reg): /soc/intpol-controller@0c53a650: simple-bus unit address format error, expected "c53a650" Fixes: 4c7a6260775d ("arm64: dts: add dts nodes for MT6779") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6779.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi index 9bdf5145966c..dde9ce137b4f 100644 --- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi @@ -88,14 +88,14 @@ pmu { interrupts = ; }; - clk26m: oscillator@0 { + clk26m: oscillator-26m { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <26000000>; clock-output-names = "clk26m"; }; - clk32k: oscillator@1 { + clk32k: oscillator-32k { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <32768>; @@ -117,7 +117,7 @@ soc { compatible = "simple-bus"; ranges; - gic: interrupt-controller@0c000000 { + gic: interrupt-controller@c000000 { compatible = "arm,gic-v3"; #interrupt-cells = <4>; interrupt-parent = <&gic>; @@ -138,7 +138,7 @@ ppi_cluster1: interrupt-partition-1 { }; - sysirq: intpol-controller@0c53a650 { + sysirq: intpol-controller@c53a650 { compatible = "mediatek,mt6779-sysirq", "mediatek,mt6577-sysirq"; interrupt-controller; From patchwork Thu Oct 13 15:22:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13006114 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 E7962C43217 for ; Thu, 13 Oct 2022 15:24:14 +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=n3z55V5lByoM0CionwkbcjN9icQVeZh0rcj+C7mwb30=; b=aEknlBPJe+mCIf SreiLB/dzHcyLMNT8QmQdYj5ulGX1vjpjxGtWBc5zotkBiZouNP5dnbOeJo0xlqtl7AEaVPM9SyMR YM3/dJZCuCh5poyll9OSn42Ck6mb6wlq2wbb59NFEmquvkMvSQCzafOHLpYAuPsY3SJWzbGSPrtQu UwKW/NhGE4TruGop9b6/QYbgNGt1LQetBaw078T9v3BJ0t+N9jfib5LNxnzn8+aoyrMr2eJBgJrPE ViHyyu0YCjQbvmmmwie2o+RLV/F1vQtvBX12NInwLq/S/uBWXq91t8yWvqhDAazkKm89b3BxNyTdN yMl/Bnoky5Pt8TViOHHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj036-00CFrA-IU; Thu, 13 Oct 2022 15:23:04 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj02S-00CFZj-4M; Thu, 13 Oct 2022 15:22:27 +0000 Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id B4422660236B; Thu, 13 Oct 2022 16:22:21 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1665674542; bh=Q47jzu6AFAqzuRbrbtB0DzD1vaAnfZtqPNh3CnQRK0E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X3vVsCOxxpri1Kk51lnYaqJ5Ny2Ppv16aGMzUVCFACJQmR/yIH1UeZFATRZyf4bII OLQ6P5hZhEhvZmqy8bKK/dcjM0OAv+3X155aZxJBl6NmomQXTqMXMm+O8/IwT++DNV nkc5uNQqq535MPugTQS4pdazze5TMnm8eYFgXEDverkgRBCoYZkQVPMMwUeR26hBYd 5mT8mZOPOAgfn61itpTXK3ZJv/FtoXcYky90EdgIK6f/bBnvmHjKvBUebWbeNhRivf wsCXZ2jqwyD/DOJCzkVkle66mbQ71cDz499JjeeJ9uLWQ1q0+axMfm9SAvoEQ27bvF azevhRmfcku5A== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sam.shih@mediatek.com, hanks.chen@mediatek.com, weiyi.lu@mediatek.com, zhiyong.tao@mediatek.com, andrew-sh.cheng@mediatek.com, viresh.kumar@linaro.org, chunfeng.yun@mediatek.com, fparent@baylibre.com, mars.cheng@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH 3/8] arm64: dts: mt2712e: Fix unit_address_vs_reg warning for oscillators Date: Thu, 13 Oct 2022 17:22:07 +0200 Message-Id: <20221013152212.416661-4-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> References: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_082224_392362_B1E4C3D3 X-CRM114-Status: UNSURE ( 8.25 ) X-CRM114-Notice: Please train this message. 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 Rename the fixed-clock oscillators to remove the unit address. This solves unit_address_vs_reg warnings. Fixes: 5d4839709c8e ("arm64: dts: mt2712: Add clock controller device nodes") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index e6d7453e56e0..ff6b26cdda81 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi @@ -160,70 +160,70 @@ sys_clk: dummyclk { #clock-cells = <0>; }; - clk26m: oscillator@0 { + clk26m: oscillator-26m { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <26000000>; clock-output-names = "clk26m"; }; - clk32k: oscillator@1 { + clk32k: oscillator-32k { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <32768>; clock-output-names = "clk32k"; }; - clkfpc: oscillator@2 { + clkfpc: oscillator-50m { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <50000000>; clock-output-names = "clkfpc"; }; - clkaud_ext_i_0: oscillator@3 { + clkaud_ext_i_0: oscillator-aud0 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <6500000>; clock-output-names = "clkaud_ext_i_0"; }; - clkaud_ext_i_1: oscillator@4 { + clkaud_ext_i_1: oscillator-aud1 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <196608000>; clock-output-names = "clkaud_ext_i_1"; }; - clkaud_ext_i_2: oscillator@5 { + clkaud_ext_i_2: oscillator-aud2 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <180633600>; clock-output-names = "clkaud_ext_i_2"; }; - clki2si0_mck_i: oscillator@6 { + clki2si0_mck_i: oscillator-i2s0 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <30000000>; clock-output-names = "clki2si0_mck_i"; }; - clki2si1_mck_i: oscillator@7 { + clki2si1_mck_i: oscillator-i2s1 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <30000000>; clock-output-names = "clki2si1_mck_i"; }; - clki2si2_mck_i: oscillator@8 { + clki2si2_mck_i: oscillator-i2s2 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <30000000>; clock-output-names = "clki2si2_mck_i"; }; - clktdmin_mclk_i: oscillator@9 { + clktdmin_mclk_i: oscillator-mclk { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <30000000>; From patchwork Thu Oct 13 15:22:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13006115 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 6FE69C4332F for ; Thu, 13 Oct 2022 15:24:21 +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=FnhZagv5jX2pVWSJxmtPqnWi+D++hKJMNjzzxoIiyTo=; b=dsuClnp1cs+u2h uAsSTvoqSCuNUcWCXRqWos49XK6eeaxdBtBuziiJE6IL1JdRwjZUKNDYsvUFN7sgt9UGcT83PE61E /G2f5UML/EpjQc6kFJ0/b3i9FZssLdMZmXiv220X8t7AEWk5IXP1n2tekqDj848/RbE+xybqNUbdh X3IjH9eh6juot2xNcpOdkEsZKg7NIgk4qgHpC2Biu6Qqc/P/IvpCtQEJA2UBsvO/gDsf862ngbgTQ OaFhzSR79ciii0U+XIj4wUUYMrP8fnYXCnO3/zHZxO1juj5yAczFdkO3dGwuks9ZfeyToBbEFZvKv /nGnbOIIgAmulAXfkviA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj03H-00CFvS-3L; Thu, 13 Oct 2022 15:23:15 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj02S-00CFaR-Sc; Thu, 13 Oct 2022 15:22:27 +0000 Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id C4AD3660236C; Thu, 13 Oct 2022 16:22:22 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1665674543; bh=n1VsYKLDI6PI2eMbYjiYOxjPp4ZKxO4cNBs/kLUYXlw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DuxDOr5lO+fvYGFOQ3d3ZeTzDX9yrftkAzjvQl/vFLs0yoVdm3kAK1VP87aCVSgTH gxlI032FQ5EXq4TsnkCqSMC+ewTrA5xEXMFVmXEQGhEse6J4RuqLkSQzl2UV06vkMi h5BKnYC4B0XNH4Hya+GL6RjLF+9J8ZC13yAfkphYZ0N9H01uHOKffkWNc2/sQbYcFG Bbg2f42IBPHntlc/fUQ6M/0f2RBxEiTm0gRSvAgJmGRUqS3TS3ggwu/t5lBuQz/fjE gn4h/IhDc2seSstvE5LuTQsnFUFLAT3Rwk+FmoOPehlk2tfYzHr3WDcQMvATm4Rg3J 5qKVzqmlrgtIw== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sam.shih@mediatek.com, hanks.chen@mediatek.com, weiyi.lu@mediatek.com, zhiyong.tao@mediatek.com, andrew-sh.cheng@mediatek.com, viresh.kumar@linaro.org, chunfeng.yun@mediatek.com, fparent@baylibre.com, mars.cheng@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH 4/8] arm64: dts: mt2712e: Fix unit address for pinctrl node Date: Thu, 13 Oct 2022 17:22:08 +0200 Message-Id: <20221013152212.416661-5-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> References: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_082225_077490_69E812E0 X-CRM114-Status: GOOD ( 10.05 ) 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 The unit address for the pinctrl node is (0x)1000b000 and not (0x)10005000, which is the syscfg_pctl_a address instead. This fixes the following warning: arch/arm64/boot/dts/mediatek/mt2712e.dtsi:264.40-267.4: Warning (unique_unit_address): /syscfg_pctl_a@10005000: duplicate unit-address (also used in node /pinctrl@10005000) Fixes: f0c64340b748 ("arm64: dts: mt2712: add pintcrl device node.") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index ff6b26cdda81..1ac0b2cf3d40 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi @@ -266,7 +266,7 @@ syscfg_pctl_a: syscfg_pctl_a@10005000 { reg = <0 0x10005000 0 0x1000>; }; - pio: pinctrl@10005000 { + pio: pinctrl@1000b000 { compatible = "mediatek,mt2712-pinctrl"; reg = <0 0x1000b000 0 0x1000>; mediatek,pctl-regmap = <&syscfg_pctl_a>; From patchwork Thu Oct 13 15:22:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13006116 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 4AA26C4332F for ; Thu, 13 Oct 2022 15:24:27 +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=Oq7f33R1/9LHEFSB6vmhuNDi6GElPrQF8Ra8RQtTwC8=; b=nyZ1/FAgbBIykW G1Cqi+v4lXoci/d3Ec8gxkYRN5+xS0eq7xRyRV0ehyxNWHpJ86/zy5lpmMQMuLytbdPPbylqS6cEn iosfXB76plPmSJqqHDX6KusPrnSGwrhfmjGEBTnVYbzFhihrw8YQWPbMXWcjaR7zIg/36SbCtV7Fn rO2KGJoYTuqnqZu1WtMLq7GW69lb4WoEOGfoqhyvlFZZN6re2p7ANSxIrU98Dxz0EIb7FhhXO8pi8 GG3lqH+fC3h5Oyp3UWm4zzRPLno4MpmWq9AX+QUFT6Dpl7TOzNyK91OAWwFbT3+s5I2QiuPm6fFb7 ViTOZHpnnub6+XWUUMvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj03T-00CG1C-7M; Thu, 13 Oct 2022 15:23:27 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj02U-00CFcI-AK; Thu, 13 Oct 2022 15:22:27 +0000 Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id D6512660236D; Thu, 13 Oct 2022 16:22:23 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1665674544; bh=INS243mzP1SOOPeVeBL+nO0voOGFkQsw8mK81vzcoE8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WEkzPELACCOpLtieCfb86aQW4zYRZxtvPnkjdPkGb8F3YXQHBMM4LiUY+obierQvd VWaJIjwwpYs0HwHNx3voVk68x3suZUB3UC7Qnpa0AGPm+BFy7gaqXL13enmjBEOfP7 yin6LuJSi2MN0YJCuaCbr6FwwJPD1dD358CiLfOvlOzUR2LmAY2P6hOffaO/aQxvy0 GZfFGe9ZtPrc+BMFU9nGKesNaF5Jr0nwJ9njbOVjxdsk4MAzQCT2EajVprPsxHa+uy 1Y30jrGEsAU6oWrCCByoHyUwYWX7LILjkPdAruE77WK2RB2gG+2zrtJTywDzbEM+Us dxsyzbCThjboA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sam.shih@mediatek.com, hanks.chen@mediatek.com, weiyi.lu@mediatek.com, zhiyong.tao@mediatek.com, andrew-sh.cheng@mediatek.com, viresh.kumar@linaro.org, chunfeng.yun@mediatek.com, fparent@baylibre.com, mars.cheng@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH 5/8] arm64: dts: mt2712-evb: Fix vproc fixed regulators unit names Date: Thu, 13 Oct 2022 17:22:09 +0200 Message-Id: <20221013152212.416661-6-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> References: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_082226_529370_F804758D X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. 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 Update the names to regulator-vproc-buck{0,1} to fix unit_addres_vs_reg warnings for those. Fixes: f75dd8bdd344 ("arm64: dts: mediatek: add mt2712 cpufreq related device nodes") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712-evb.dts b/arch/arm64/boot/dts/mediatek/mt2712-evb.dts index 9b1af9c80130..638908773706 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt2712-evb.dts @@ -26,14 +26,14 @@ chosen { stdout-path = "serial0:921600n8"; }; - cpus_fixed_vproc0: fixedregulator@0 { + cpus_fixed_vproc0: regulator-vproc-buck0 { compatible = "regulator-fixed"; regulator-name = "vproc_buck0"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; }; - cpus_fixed_vproc1: fixedregulator@1 { + cpus_fixed_vproc1: regulator-vproc-buck1 { compatible = "regulator-fixed"; regulator-name = "vproc_buck1"; regulator-min-microvolt = <1000000>; From patchwork Thu Oct 13 15:22:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13006117 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 88409C433FE for ; Thu, 13 Oct 2022 15:25:22 +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=MWUEnyRMKkVuBwhox+JLsJrwmz5AtHPjv8DiokIHpmQ=; b=J1T1QTQp/Vti1V axgKk1oNasYoVz53CcqDNc68T/KQxku4+k+J7MIJSZgDr5KusR1p6zNOTt2IrQjiBkcTwm6bIxdt3 mFOR6ZfG5BCco7UP/t8YW/zg1Vb3qkMt5rVzoIOKkiBQggB6x/um6uKTPl8EQz5JrA+FjmXGEOS0E hOEdqesTXkI/PXZQfHpW+SWYbdYLD5xNavSr6WNLyFaOJmAvbchnr/RDcTG1i36vq0nHQtsn0hnSL gY9lUcBJ1aV579kR6GEDr8a8EN9wwUSa6wzXBD2P7w2Y02Xfu2Pku+djtdFP1C6pnSp/DmKRnVk9K S785dVVUf8BTFIA8LX4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj048-00CGLV-Lq; Thu, 13 Oct 2022 15:24:08 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj02V-00CFcl-5y; Thu, 13 Oct 2022 15:22:29 +0000 Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id EA99A6602370; Thu, 13 Oct 2022 16:22:24 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1665674545; bh=OIVvm9eZZnDpMulbdkAjAXAZiIM5QtEjlxZKqlbUhN4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KnNC2aRr1CuewZByFW/jeStIoRR+cQKvdAc1e4Nr2itAlV18cP5mtMa9/jxqaXSCk sgucXlPqmUQ47m2fAIT7AQdgdzJBYjEhSb6x2GSRHfIAT8lqfkvfvOWpWWnqNbOX5R HLnmKQp34796JcP+uEprJMy9hi1xfJ7XAxHvejEe38Azb+Dy3I337s0zFX+7Cx7bQ5 Vjoa+sBjwjdt3ceInjCKF7zVfYwrKY4sokMPBiWCfs10FIMwfxtOX3P/wTsQNaa1ou hx84eKrCmDIiZq4AiXSoZGCiEsU/VhmpBDvsJpqFuIQGLm/DnMboJA9tC+valF/VmF 7Y+up0VvDk0rg== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sam.shih@mediatek.com, hanks.chen@mediatek.com, weiyi.lu@mediatek.com, zhiyong.tao@mediatek.com, andrew-sh.cheng@mediatek.com, viresh.kumar@linaro.org, chunfeng.yun@mediatek.com, fparent@baylibre.com, mars.cheng@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH 6/8] arm64: dts: mt2712-evb: Fix usb vbus regulators unit names Date: Thu, 13 Oct 2022 17:22:10 +0200 Message-Id: <20221013152212.416661-7-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> References: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_082227_480578_5EBEFFEC X-CRM114-Status: UNSURE ( 8.37 ) X-CRM114-Notice: Please train this message. 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 Update the names to regulator-usb-p{0-3}-vbus to fix unit_address_vs_reg warnings for those. Fixes: 1724f4cc5133 ("arm64: dts: Add USB3 related nodes for MT2712") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712-evb.dts b/arch/arm64/boot/dts/mediatek/mt2712-evb.dts index 638908773706..d31a194124c9 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt2712-evb.dts @@ -50,7 +50,7 @@ extcon_usb1: extcon_iddig1 { id-gpio = <&pio 14 GPIO_ACTIVE_HIGH>; }; - usb_p0_vbus: regulator@2 { + usb_p0_vbus: regulator-usb-p0-vbus { compatible = "regulator-fixed"; regulator-name = "p0_vbus"; regulator-min-microvolt = <5000000>; @@ -59,7 +59,7 @@ usb_p0_vbus: regulator@2 { enable-active-high; }; - usb_p1_vbus: regulator@3 { + usb_p1_vbus: regulator-usb-p1-vbus { compatible = "regulator-fixed"; regulator-name = "p1_vbus"; regulator-min-microvolt = <5000000>; @@ -68,7 +68,7 @@ usb_p1_vbus: regulator@3 { enable-active-high; }; - usb_p2_vbus: regulator@4 { + usb_p2_vbus: regulator-usb-p2-vbus { compatible = "regulator-fixed"; regulator-name = "p2_vbus"; regulator-min-microvolt = <5000000>; @@ -77,7 +77,7 @@ usb_p2_vbus: regulator@4 { enable-active-high; }; - usb_p3_vbus: regulator@5 { + usb_p3_vbus: regulator-usb-p3-vbus { compatible = "regulator-fixed"; regulator-name = "p3_vbus"; regulator-min-microvolt = <5000000>; From patchwork Thu Oct 13 15:22:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13006118 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 45554C433FE for ; Thu, 13 Oct 2022 15:25:38 +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=GQgBJ95Y7uaS2pRqfrFkQ/DZe901mKRIyQiaSe+aAzg=; b=V11k4cQirtuyu0 cjTj5xXWbzMUM8lNdj//CdpHHRyplP8V/1WuT3tfX/IrZ6hxK0cHLRlmdg92DjL6OA2admaFpGMdh k51fyYk+9nb2BdUdv4XBPUiRGcZF34A8NqPeWRtCM1la+1eCbMh8qs3IedpybpyNNuLrSvXhDxNGm xMX/GICbmugG5HX/IKT7q9E+w+Xb49dKBgJWrjBhzUPZ+gyRwdcnctllxN+NVeCKtnvQ78CkA30ap p6NhPgoZ0EncQdE93mRyIAG9Ju1VgrzBL+ZUyIol4ue2JkIVGOjdAdppWl7HtJP0JuzJD+h7wkDXM OJr7djQZS2vXOiF687lA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj04U-00CGZE-64; Thu, 13 Oct 2022 15:24:30 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj02W-00CFdd-7Q; Thu, 13 Oct 2022 15:22:29 +0000 Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 06D6E660236E; Thu, 13 Oct 2022 16:22:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1665674546; bh=CSkWVd8BmDjVpIlk/S9C3R40X1S6a2cABTC54a3Nrtg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j9tomOInvoFd2WsL9FZDBnDFc3BYU56eyEK4M5E5t9tjLdXIZ5/fLkUpb7HzuT7Tr BEg7S4g854qW+WBohgIan9syw55r9hTvROfgbHeOQY0kQJvQzMe5nD/q38W+eRmLg+ 2NtqMOs/qO4fzLEWj9IF619rsrsiZbwdem6dT/L71MgkIyVtMnr3jT07xqDtonD+HQ wpJqnpuwL/dExzYTaqh8bYWmoAlTN1+JreemC5pwNmmzyW2BE660cAYcgqVPBu5+W3 FO7/PrdnBOi+OHQKj2CNlj+AzI4ZPkivflEBdw4o4FOgjcq8rHNmLBQRDK8h0q+I4a BxGLneEMUMZ3g== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sam.shih@mediatek.com, hanks.chen@mediatek.com, weiyi.lu@mediatek.com, zhiyong.tao@mediatek.com, andrew-sh.cheng@mediatek.com, viresh.kumar@linaro.org, chunfeng.yun@mediatek.com, fparent@baylibre.com, mars.cheng@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH 7/8] arm64: dts: mediatek: pumpkin-common: Fix devicetree warnings Date: Thu, 13 Oct 2022 17:22:11 +0200 Message-Id: <20221013152212.416661-8-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> References: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_082228_459182_F47C233D X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. 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 Fix the pinctrl submodes and optee node to remove unneeded unit address, fixing all unit_address_vs_reg warnings. Fixes: 9983822c8cf9 ("arm64: dts: mediatek: add pumpkin board dts") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi index 8ee1529683a3..ec8dfb3d1c6d 100644 --- a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi +++ b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi @@ -17,7 +17,7 @@ chosen { }; firmware { - optee: optee@4fd00000 { + optee: optee { compatible = "linaro,optee-tz"; method = "smc"; }; @@ -209,7 +209,7 @@ pins_cmd_dat { }; }; - i2c0_pins_a: i2c0@0 { + i2c0_pins_a: i2c0 { pins1 { pinmux = , ; @@ -217,7 +217,7 @@ pins1 { }; }; - i2c2_pins_a: i2c2@0 { + i2c2_pins_a: i2c2 { pins1 { pinmux = , ; From patchwork Thu Oct 13 15:22:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13006119 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 8A8D6C4332F for ; Thu, 13 Oct 2022 15:26:22 +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=GS6g9AEgXzRVtCWqX+lbXI4LVLgRy8ZAItoEOO3lUDo=; b=fcSCkQKrQzHVf7 ka0oBBaAy/ytDVvb0Ni/cmGY34Tn5uX+eL+FXfKrS2IwJpuNDglR7UaUfJBgaq/CGQNDWHk6LdlBD 15vU2LnN8P4dhGrTgT4tBj10K8ldyKHEieVEGu90DHgQmnT1Al6X+a5jmknlqEi9KAqkMwsz379f+ svgEdT56us9dXEY7gHgnWe5Uq+0MwStGFncv5cOlkIZIJWQnSlSKB0/eYc7vmx0gcs2TtxmwM3ycu Zszoh2NOLkBShwyoTiifEH6Bi/fF9wCemmaE02mLEPv9+DOu5l60aNkn3iyT2C5xqBKDaZ/+6Umua d0D8uaih9ktiqcmSh5SQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj05B-00CGx1-5D; Thu, 13 Oct 2022 15:25:13 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oj02X-00CFeT-GZ; Thu, 13 Oct 2022 15:22:31 +0000 Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 161016602373; Thu, 13 Oct 2022 16:22:27 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1665674548; bh=+rfRhqviBfuKmOoLPSppiW+1QAksWGIE/oQLWXDdMpo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nGkad3uGwfKnQvfXW+y3PBWPg9rcKm6x2zLEgBvyT06kcJCscitnyG0H18rYVm22I QeCwMM+Ik2q9hpcHaXPwaIxoCzScAnvfaiM99GORX+2pkOblr9poP4E8LU3aq679FD +JDMAu3YFukRHXYaBJPb8o62hXF8fZrg/dA+djWt8f/1pkwGgQKOpbLA/EyYBmlXcZ IJxY0l/pt1LKU9hinIaUEAUNug9fXAjLzHGp9L+qqOIQCcFtcWBRegaypUjtV/ymKC k3hzIzak1WfGf7SjC/AOmnwF0pH+xspBt4gyWydItU+wBj7s1r7yPZONeuPaTdSWDN gfV12YXT9w8wQ== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sam.shih@mediatek.com, hanks.chen@mediatek.com, weiyi.lu@mediatek.com, zhiyong.tao@mediatek.com, andrew-sh.cheng@mediatek.com, viresh.kumar@linaro.org, chunfeng.yun@mediatek.com, fparent@baylibre.com, mars.cheng@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH 8/8] arm64: dts: mediatek: mt6797: Fix 26M oscillator unit name Date: Thu, 13 Oct 2022 17:22:12 +0200 Message-Id: <20221013152212.416661-9-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> References: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_082229_746323_11A0B018 X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. 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 Update its unit name to oscillator-26m and remove the unneeded unit address to fix a unit_address_vs_reg warning. Fixes: 464c510f60c6 ("arm64: dts: mediatek: add mt6797 support") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi index 15616231022a..c3677d77e0a4 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi @@ -95,7 +95,7 @@ cpu9: cpu@201 { }; }; - clk26m: oscillator@0 { + clk26m: oscillator-26m { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <26000000>;