Message ID | 20221214131117.108008-1-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp213502wrn; Wed, 14 Dec 2022 05:19:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf5ZkX0Um/od5bZ/TjsJ4Ej4RrGXtjwR3VqcVajQtkjMdjFgt+FkC5ELgVo/87qRj9X4apiS X-Received: by 2002:a05:6402:1017:b0:462:273b:5a7f with SMTP id c23-20020a056402101700b00462273b5a7fmr22290149edu.18.1671023985529; Wed, 14 Dec 2022 05:19:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671023985; cv=none; d=google.com; s=arc-20160816; b=V7M+GMCs20CrIHjxla2IVwLhlXWaZWhHLuNBmDqugFhqr3wV+wD+Lw4RzFB6uCxn30 3Y+t9xYe2Gz9f5XXTaV+f4LyuMPOk1EoPQLRV0MWeQnqC9Ij+EftxEp3l5xvsr+RTo6R pFlH5uReAq93U4JlBIpcGVNAfF5P4RB4X8WQ9s0D+ppDGI1bNaiFIU//OHu0gYeKr7Yw nLkkFhqhFi1t4qMFuslQEsdPX/q/OGiReQgoyRRo5ZdlIlIfHsw3JdOLesvgiengq2LW UkuTaF1rFhtusrrPvYUxC8Qypvw+gcqIlN0q4Df17d8QeK8bvT0Y1rCCiRLlF7xWAhrL Gc2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Dh7tvnksQzJOEuHee/xqoDVN5a2mxxTRWQXFqCxdnSo=; b=maMV0qy+oiLjIrd/WKxDpfZqw+QsGGGzYKeJnkJJd6T9w3U/sMBos6awiZVfnk1HEl 9QW8wFny7OVTFNdyHPqUgo/LVzubmX/fq9N4mrFvnBP/8wp+39tPTlB6oPls+evydhrC 5mP3bGXNz3b+VP/h2l8FnFc1oMZ4XUDqcnqQIKO2qHog2VNwMzr5dctE/+Ht9GKFqUCm jjnme728YI66XaFvXdACgEyCbLjYiMsdBqNhvmgcZ1y3pobd/8jfugkpiZ5LJqZLuv4Y BPEhdY4IDG97OVEyB86MOwE0GAIEi/sOYiycxfntIpNVUhdaFrWWwWIjverILDxBNww8 DiQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BFkQpN0S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s18-20020a508d12000000b00469047efecbsi11238244eds.62.2022.12.14.05.19.21; Wed, 14 Dec 2022 05:19:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BFkQpN0S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238577AbiLNNML (ORCPT <rfc822;jeantsuru.cumc.mandola@gmail.com> + 99 others); Wed, 14 Dec 2022 08:12:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238549AbiLNNLr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 14 Dec 2022 08:11:47 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9438E2181F; Wed, 14 Dec 2022 05:11:33 -0800 (PST) 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 1D6156602C47; Wed, 14 Dec 2022 13:11:31 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1671023491; bh=43IMkVml1qImsFp1W7CKhzsHSHE25K/j0gQkN5BQMew=; h=From:To:Cc:Subject:Date:From; b=BFkQpN0SqGcGnkvpz31sUKD/KvLZwpXwFibIJ7pudAGxtfMv2894u8cwykZPJtm0S fSum//QYOk3K23y6Eo7gUndJNccZkl+1RRRPBXebSmUHxYspR2x2tzfiZH8Zli23hW 8KBPoLu6X2wFWw76hWBliN4Gtt7Cu/nzLWrQmD4fQo+2NrfDjpIqFNlGHkfCe6ysDJ WhVPyk4DO4pztht9KtRciLt9oT/lSQXfkk15zXaPggfZ4W92AUabMf7GBjCAJn/KLr TRIEFimYkWnE09zHZ8g6RIQb1ARWsUI/w4gaGg7EoUho2OqBDX0ccHL82RtvSxVJSB 5phAas90/aOcg== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, tinghan.shen@mediatek.com, weiyi.lu@mediatek.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Subject: [PATCH 1/2] arm64: dts: mediatek: mt8195: Use P1 clocks for PCIe1 controller Date: Wed, 14 Dec 2022 14:11:16 +0100 Message-Id: <20221214131117.108008-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752195646507945637?= X-GMAIL-MSGID: =?utf-8?q?1752195646507945637?= |
Series |
[1/2] arm64: dts: mediatek: mt8195: Use P1 clocks for PCIe1 controller
|
|
Commit Message
AngeloGioacchino Del Regno
Dec. 14, 2022, 1:11 p.m. UTC
Despite there being some flexibility regarding the P0/P1 connections,
especially for TL and PERI, we must use P1 clocks on pcie1 otherwise
we'll be dealing with unclocked access.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On 14/12/2022 14:11, AngeloGioacchino Del Regno wrote: > Despite there being some flexibility regarding the P0/P1 connections, > especially for TL and PERI, we must use P1 clocks on pcie1 otherwise > we'll be dealing with unclocked access. > > Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Seems my mail got lost somewhere: Both patches applied, thanks! > --- > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > index 5d31536f4c48..e61944510b8e 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > @@ -1258,9 +1258,9 @@ pcie1: pcie@112f8000 { > > clocks = <&infracfg_ao CLK_INFRA_AO_PCIE_PL_P_250M_P1>, > <&clk26m>, > - <&infracfg_ao CLK_INFRA_AO_PCIE_TL_96M>, > + <&infracfg_ao CLK_INFRA_AO_PCIE_P1_TL_96M>, > <&clk26m>, > - <&infracfg_ao CLK_INFRA_AO_PCIE_PERI_26M>, > + <&infracfg_ao CLK_INFRA_AO_PCIE_P1_PERI_26M>, > /* Designer has connect pcie1 with peri_mem_p0 clock */ > <&pericfg_ao CLK_PERI_AO_PCIE_P0_MEM>; > clock-names = "pl_250m", "tl_26m", "tl_96m",
diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index 5d31536f4c48..e61944510b8e 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -1258,9 +1258,9 @@ pcie1: pcie@112f8000 { clocks = <&infracfg_ao CLK_INFRA_AO_PCIE_PL_P_250M_P1>, <&clk26m>, - <&infracfg_ao CLK_INFRA_AO_PCIE_TL_96M>, + <&infracfg_ao CLK_INFRA_AO_PCIE_P1_TL_96M>, <&clk26m>, - <&infracfg_ao CLK_INFRA_AO_PCIE_PERI_26M>, + <&infracfg_ao CLK_INFRA_AO_PCIE_P1_PERI_26M>, /* Designer has connect pcie1 with peri_mem_p0 clock */ <&pericfg_ao CLK_PERI_AO_PCIE_P0_MEM>; clock-names = "pl_250m", "tl_26m", "tl_96m",