Message ID | 20230516062212.2635948-1-a-verma1@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp221825vqo; Mon, 15 May 2023 23:49:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MtOd3SiC1ZOGYLsC7CP6YRuZ1HgFfZYRoqIlJPgkVpZB46uK+alYcEcjzko6LLzzD6JOl X-Received: by 2002:a05:6a20:8f13:b0:101:2160:ff89 with SMTP id b19-20020a056a208f1300b001012160ff89mr34143071pzk.38.1684219794271; Mon, 15 May 2023 23:49:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684219794; cv=none; d=google.com; s=arc-20160816; b=uNY7TrvIjc8FrkJdYm3T5qAlixLzgzeyRLi7mNcrsDGFAV7JoM5vfv7AUxeNoPC0JD 0oET2kWyNvVwZvYi1ajnLV/i+zdchc/uRfFB2MNGeobb62IKxPg5/kx94BQab7aBam+Y 05+vcKydjqiA4pFEIErzrhgWkQYM/nhPXF7mKDRBuS+2KuUzIc0iCGhVUc+i1u1F408q RVb3dTYMSC4GEtpzTYAu4UuADfVSbE4Iafq+hlXqOuEkPDptvNt4MjATiIZAc1Yd30uX i/2BGqjOgQFhBR4WbGmL+c6mQS2TkQibv3ROvWWfaCXJIwBAkEseCLNKrQXT3GcdeMSz P/gg== 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=i7fEb4N6KWiGRKO+nezi8I99sx9V79zEmtA2DmI4a00=; b=dP9mEsfRwKwo3FbgdeqU0f9wQwoOYeB3kkTb896OEJKD97U3Wf6faCo4HWHd6x6u+r zqLOTW1G1ZYS4kB8AZIiVh8OOlyXegKa1xNGh5W6AOnoLKihHdIq8XKku4AOiNbM0Fpf rhjcc4gsRVdlYh5E5gN9HhnvnNV4hX97yTzl6a3aI4G6OlPkx9+T1Jyo5F4u5oQIabtH +VodXJxZsIefybWlNOXjnweeY9QjmpKIC/Z0924plZPw6DwdIZz/d4jmG4ENtRFZbQTy RhcbUn0RvRWlJS6l2E+GX61jYt9Ap7A8GrotNGdhvIXH67YGyGq83UTvPxLaGPWM+Ig1 tNfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dedb1BX2; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a62cf05000000b0063a149e3c85si18409899pfg.401.2023.05.15.23.49.28; Mon, 15 May 2023 23:49:54 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=dedb1BX2; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230158AbjEPGgJ (ORCPT <rfc822;peekingduck44@gmail.com> + 99 others); Tue, 16 May 2023 02:36:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230422AbjEPGe5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 16 May 2023 02:34:57 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F4F52D5E; Mon, 15 May 2023 23:34:54 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34G6MFXK039720; Tue, 16 May 2023 01:22:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1684218135; bh=i7fEb4N6KWiGRKO+nezi8I99sx9V79zEmtA2DmI4a00=; h=From:To:CC:Subject:Date; b=dedb1BX2M1d6lPcgQsqImJpnqrIPVfdqeMn5y/mwJ9W7w3u1hn+bN07oTH4CuL+Rx 65f/m+ampwW44D9lCAEHmYCf200VQh9qQKkNsifCqS7g2LJta4Lp1IoWyZkLbUuZVZ zei3M0edmrkEJvSdj/9EYvokJCquWBA0iGmafNiw= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34G6MFxO020034 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 16 May 2023 01:22:15 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 16 May 2023 01:22:13 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 16 May 2023 01:22:13 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34G6MC0v039783; Tue, 16 May 2023 01:22:13 -0500 From: Achal Verma <a-verma1@ti.com> To: Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>, Tero Kristo <kristo@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> CC: <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Achal Verma <a-verma1@ti.com> Subject: [PATCH] arm64: dts: ti: k3-j7200: correct num-lanes requested for PCIe Date: Tue, 16 May 2023 11:52:12 +0530 Message-ID: <20230516062212.2635948-1-a-verma1@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1766032455158512337?= X-GMAIL-MSGID: =?utf-8?q?1766032455158512337?= |
Series |
arm64: dts: ti: k3-j7200: correct num-lanes requested for PCIe
|
|
Commit Message
Achal Verma
May 16, 2023, 6:22 a.m. UTC
From: Matt Ranostay <mranostay@ti.com> J7200 has a limited 2x support for PCIe, and the properties should be updated as such. Signed-off-by: Matt Ranostay <mranostay@ti.com> Signed-off-by: Achal Verma <a-verma1@ti.com> --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Achal, On 16/05/23 11:52, Achal Verma wrote: > From: Matt Ranostay <mranostay@ti.com> > > J7200 has a limited 2x support for PCIe, and the properties should be > updated as such. According to J7200 Datasheet at [0], the SoC supports up to x4 PCIe lanes. Could you please clarify where the lanes are documented to be 2x? [0]: https://www.ti.com/lit/ds/symlink/dra821u-q1.pdf > > Signed-off-by: Matt Ranostay <mranostay@ti.com> > Signed-off-by: Achal Verma <a-verma1@ti.com> > --- > arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi > index ef352e32f19d..5e62b431d6e8 100644 > --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi > @@ -729,7 +729,7 @@ pcie1_rc: pcie@2910000 { > device_type = "pci"; > ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; > max-link-speed = <3>; > - num-lanes = <4>; > + num-lanes = <2>; > power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; > clocks = <&k3_clks 240 6>; > clock-names = "fck"; > @@ -757,7 +757,7 @@ pcie1_ep: pcie-ep@2910000 { > interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>; > ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; > max-link-speed = <3>; > - num-lanes = <4>; > + num-lanes = <2>; > power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; > clocks = <&k3_clks 240 6>; > clock-names = "fck";
On 5/16/2023 12:03 PM, Siddharth Vadapalli wrote: > Achal, > > On 16/05/23 11:52, Achal Verma wrote: >> From: Matt Ranostay <mranostay@ti.com> >> >> J7200 has a limited 2x support for PCIe, and the properties should be >> updated as such. > > According to J7200 Datasheet at [0], the SoC supports up to x4 PCIe lanes. Could > you please clarify where the lanes are documented to be 2x? > > [0]: https://www.ti.com/lit/ds/symlink/dra821u-q1.pdf Yes, this patch should be dropped. No need to change lanes. Regards, Achal Verma > >> >> Signed-off-by: Matt Ranostay <mranostay@ti.com> >> Signed-off-by: Achal Verma <a-verma1@ti.com> >> --- >> arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi >> index ef352e32f19d..5e62b431d6e8 100644 >> --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi >> +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi >> @@ -729,7 +729,7 @@ pcie1_rc: pcie@2910000 { >> device_type = "pci"; >> ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; >> max-link-speed = <3>; >> - num-lanes = <4>; >> + num-lanes = <2>; >> power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; >> clocks = <&k3_clks 240 6>; >> clock-names = "fck"; >> @@ -757,7 +757,7 @@ pcie1_ep: pcie-ep@2910000 { >> interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>; >> ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; >> max-link-speed = <3>; >> - num-lanes = <4>; >> + num-lanes = <2>; >> power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; >> clocks = <&k3_clks 240 6>; >> clock-names = "fck"; >
On 11:52-20230516, Achal Verma wrote: > From: Matt Ranostay <mranostay@ti.com> > > J7200 has a limited 2x support for PCIe, and the properties should be > updated as such. > What commit does this fix? > Signed-off-by: Matt Ranostay <mranostay@ti.com> > Signed-off-by: Achal Verma <a-verma1@ti.com> > --- > arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi > index ef352e32f19d..5e62b431d6e8 100644 > --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi > @@ -729,7 +729,7 @@ pcie1_rc: pcie@2910000 { > device_type = "pci"; > ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; > max-link-speed = <3>; > - num-lanes = <4>; > + num-lanes = <2>; > power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; > clocks = <&k3_clks 240 6>; > clock-names = "fck"; > @@ -757,7 +757,7 @@ pcie1_ep: pcie-ep@2910000 { > interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>; > ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; > max-link-speed = <3>; > - num-lanes = <4>; > + num-lanes = <2>; > power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; > clocks = <&k3_clks 240 6>; > clock-names = "fck"; > -- > 2.25.1 >
On 5/16/2023 6:43 PM, Nishanth Menon wrote: > On 11:52-20230516, Achal Verma wrote: >> From: Matt Ranostay <mranostay@ti.com> >> >> J7200 has a limited 2x support for PCIe, and the properties should be >> updated as such. >> > > What commit does this fix? This patch is a mistake. J7200 PCIe has 4 lanes, and this patch should be dropped. Regards, Achal Verma > >> Signed-off-by: Matt Ranostay <mranostay@ti.com> >> Signed-off-by: Achal Verma <a-verma1@ti.com> >> --- >> arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi >> index ef352e32f19d..5e62b431d6e8 100644 >> --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi >> +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi >> @@ -729,7 +729,7 @@ pcie1_rc: pcie@2910000 { >> device_type = "pci"; >> ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; >> max-link-speed = <3>; >> - num-lanes = <4>; >> + num-lanes = <2>; >> power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; >> clocks = <&k3_clks 240 6>; >> clock-names = "fck"; >> @@ -757,7 +757,7 @@ pcie1_ep: pcie-ep@2910000 { >> interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>; >> ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; >> max-link-speed = <3>; >> - num-lanes = <4>; >> + num-lanes = <2>; >> power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; >> clocks = <&k3_clks 240 6>; >> clock-names = "fck"; >> -- >> 2.25.1 >> > >
diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index ef352e32f19d..5e62b431d6e8 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -729,7 +729,7 @@ pcie1_rc: pcie@2910000 { device_type = "pci"; ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; max-link-speed = <3>; - num-lanes = <4>; + num-lanes = <2>; power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 240 6>; clock-names = "fck"; @@ -757,7 +757,7 @@ pcie1_ep: pcie-ep@2910000 { interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>; ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; max-link-speed = <3>; - num-lanes = <4>; + num-lanes = <2>; power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 240 6>; clock-names = "fck";