From mboxrd@z Thu Jan 1 00:00:00 1970 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 AD576C77B7A for ; Tue, 16 May 2023 16:22:51 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9Vv1ge0EyiA7HPJZqRzPdaJRIxJUmpP8S2UNrrXLOxw=; b=bZ3ngXqELWOdlr D0ruZ4Jm4ynsDmVr8tS8IGgkZoHarnEmY6t3ybhp7vk/ZD9sMyOkUy+yW4i4AiG1Pc667qf3kXHh1 2NPeY90m3iM0PFkXeg2skLmb0f1jun+YG7Lp37ERiyrlZgGfUyPySreRzo931EWnKDcfJXtWQehW+ NsqG6okP2IgzNNhxmeKWAPiRMzBJbovCwfGPIisWsbUP5jjP04dJa0OwwIp61egqr9XxvDcjSGW0h oCjxdULDYY70AA+seD5M3sYYM2PHAvta5nT45D0A4uub3iF4Jgq7rQGx63q/zMCjsy72TC+Ihdp/E bVftUdKwNeGHjPbxPk2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pyxRT-006S2j-0E; Tue, 16 May 2023 16:22:27 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pyxRQ-006S15-01 for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 16:22:25 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34GGMGcj048632; Tue, 16 May 2023 11:22:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1684254136; bh=9EpdkQR1iPC6BV6HcxuYcoerE86oUOuNwBRTxXYy6CQ=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=l1PKH0O0CCexlaJHJvmWqtBFBUtPDK7/YXUe8mFkl9s81W+/VxHSgee8uUvLGmuZx WGUGRTAwGq2yl9uyXHcnFBLkDDDY0k9YPYNo3telRcrqKUsN22KhSwWC5GgeiVWK+d MV3d/icheMfqup3uXGC4vcD3l0V3H/MRjHMZpPZs= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34GGMGlG008896 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 16 May 2023 11:22:16 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE109.ent.ti.com (10.64.6.30) 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 11:22:14 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE115.ent.ti.com (10.64.6.36) 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 11:22:14 -0500 Received: from [10.249.131.60] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34GGMAS0012799; Tue, 16 May 2023 11:22:11 -0500 Message-ID: <1de1328a-cfc9-d77c-eb11-3c341b46623b@ti.com> Date: Tue, 16 May 2023 21:52:09 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH 2/5] arm64: dts: ti: k3-j721e: Remove PCIe endpoint nodes Content-Language: en-US To: Andrew Davis , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Robert Nelson CC: , , , Achal Verma References: <20230515172137.474626-1-afd@ti.com> <20230515172137.474626-2-afd@ti.com> From: "Verma, Achal" In-Reply-To: <20230515172137.474626-2-afd@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_092224_188768_B6709948 X-CRM114-Status: GOOD ( 15.99 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 5/15/2023 10:51 PM, Andrew Davis wrote: > These nodes are example nodes for the PCIe controller in "endpoint" mode. > By default the controller is in "root complex" mode and there is already a > DT node for the same. > > Examples should go in the bindings or other documentation. > > Remove this node. How we will support EP from now onwards, using overlays ? Regards, Achal Verma > > Signed-off-by: Andrew Davis > --- > .../boot/dts/ti/k3-j721e-beagleboneai64.dts | 24 ------ > .../dts/ti/k3-j721e-common-proc-board.dts | 25 ------ > arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 82 ------------------- > arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 24 ------ > 4 files changed, 155 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts b/arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts > index 8a62ac263b89..d77eeff0d81d 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts > +++ b/arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts > @@ -892,35 +892,11 @@ &pcie2_rc { > status = "disabled"; > }; > > -&pcie0_ep { > - status = "disabled"; > - phys = <&serdes0_pcie_link>; > - phy-names = "pcie-phy"; > - num-lanes = <1>; > -}; > - > -&pcie1_ep { > - status = "disabled"; > - phys = <&serdes1_pcie_link>; > - phy-names = "pcie-phy"; > - num-lanes = <2>; > -}; > - > -&pcie2_ep { > - /* Unused */ > - status = "disabled"; > -}; > - > &pcie3_rc { > /* Unused */ > status = "disabled"; > }; > > -&pcie3_ep { > - /* Unused */ > - status = "disabled"; > -}; > - > &icssg0_mdio { > /* Unused */ > status = "disabled"; > diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts > index 7db0603125aa..87b7263f6547 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts > +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts > @@ -840,35 +840,10 @@ &pcie2_rc { > num-lanes = <2>; > }; > > -&pcie0_ep { > - phys = <&serdes0_pcie_link>; > - phy-names = "pcie-phy"; > - num-lanes = <1>; > - status = "disabled"; > -}; > - > -&pcie1_ep { > - phys = <&serdes1_pcie_link>; > - phy-names = "pcie-phy"; > - num-lanes = <2>; > - status = "disabled"; > -}; > - > -&pcie2_ep { > - phys = <&serdes2_pcie_link>; > - phy-names = "pcie-phy"; > - num-lanes = <2>; > - status = "disabled"; > -}; > - > &pcie3_rc { > status = "disabled"; > }; > > -&pcie3_ep { > - status = "disabled"; > -}; > - > &icssg0_mdio { > status = "disabled"; > }; > diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > index 10c8a5fb4ee2..e39f6d1e8d40 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > @@ -816,26 +816,6 @@ pcie0_rc: pcie@2900000 { > dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; > }; > > - pcie0_ep: pcie-ep@2900000 { > - compatible = "ti,j721e-pcie-ep"; > - reg = <0x00 0x02900000 0x00 0x1000>, > - <0x00 0x02907000 0x00 0x400>, > - <0x00 0x0d000000 0x00 0x00800000>, > - <0x00 0x10000000 0x00 0x08000000>; > - reg-names = "intd_cfg", "user_cfg", "reg", "mem"; > - interrupt-names = "link_state"; > - interrupts = ; > - ti,syscon-pcie-ctrl = <&scm_conf 0x4070>; > - max-link-speed = <3>; > - num-lanes = <2>; > - power-domains = <&k3_pds 239 TI_SCI_PD_EXCLUSIVE>; > - clocks = <&k3_clks 239 1>; > - clock-names = "fck"; > - max-functions = /bits/ 8 <6>; > - max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>; > - dma-coherent; > - }; > - > pcie1_rc: pcie@2910000 { > compatible = "ti,j721e-pcie-host"; > reg = <0x00 0x02910000 0x00 0x1000>, > @@ -864,26 +844,6 @@ pcie1_rc: pcie@2910000 { > dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; > }; > > - pcie1_ep: pcie-ep@2910000 { > - compatible = "ti,j721e-pcie-ep"; > - reg = <0x00 0x02910000 0x00 0x1000>, > - <0x00 0x02917000 0x00 0x400>, > - <0x00 0x0d800000 0x00 0x00800000>, > - <0x00 0x18000000 0x00 0x08000000>; > - reg-names = "intd_cfg", "user_cfg", "reg", "mem"; > - interrupt-names = "link_state"; > - interrupts = ; > - ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; > - max-link-speed = <3>; > - num-lanes = <2>; > - power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; > - clocks = <&k3_clks 240 1>; > - clock-names = "fck"; > - max-functions = /bits/ 8 <6>; > - max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>; > - dma-coherent; > - }; > - > pcie2_rc: pcie@2920000 { > compatible = "ti,j721e-pcie-host"; > reg = <0x00 0x02920000 0x00 0x1000>, > @@ -912,26 +872,6 @@ pcie2_rc: pcie@2920000 { > dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; > }; > > - pcie2_ep: pcie-ep@2920000 { > - compatible = "ti,j721e-pcie-ep"; > - reg = <0x00 0x02920000 0x00 0x1000>, > - <0x00 0x02927000 0x00 0x400>, > - <0x00 0x0e000000 0x00 0x00800000>, > - <0x44 0x00000000 0x00 0x08000000>; > - reg-names = "intd_cfg", "user_cfg", "reg", "mem"; > - interrupt-names = "link_state"; > - interrupts = ; > - ti,syscon-pcie-ctrl = <&scm_conf 0x4078>; > - max-link-speed = <3>; > - num-lanes = <2>; > - power-domains = <&k3_pds 241 TI_SCI_PD_EXCLUSIVE>; > - clocks = <&k3_clks 241 1>; > - clock-names = "fck"; > - max-functions = /bits/ 8 <6>; > - max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>; > - dma-coherent; > - }; > - > pcie3_rc: pcie@2930000 { > compatible = "ti,j721e-pcie-host"; > reg = <0x00 0x02930000 0x00 0x1000>, > @@ -960,28 +900,6 @@ pcie3_rc: pcie@2930000 { > dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; > }; > > - pcie3_ep: pcie-ep@2930000 { > - compatible = "ti,j721e-pcie-ep"; > - reg = <0x00 0x02930000 0x00 0x1000>, > - <0x00 0x02937000 0x00 0x400>, > - <0x00 0x0e800000 0x00 0x00800000>, > - <0x44 0x10000000 0x00 0x08000000>; > - reg-names = "intd_cfg", "user_cfg", "reg", "mem"; > - interrupt-names = "link_state"; > - interrupts = ; > - ti,syscon-pcie-ctrl = <&scm_conf 0x407c>; > - max-link-speed = <3>; > - num-lanes = <2>; > - power-domains = <&k3_pds 242 TI_SCI_PD_EXCLUSIVE>; > - clocks = <&k3_clks 242 1>; > - clock-names = "fck"; > - max-functions = /bits/ 8 <6>; > - max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>; > - dma-coherent; > - #address-cells = <2>; > - #size-cells = <2>; > - }; > - > serdes_wiz4: wiz@5050000 { > compatible = "ti,am64-wiz-10g"; > #address-cells = <1>; > diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts > index f650a7fd66b4..07d3282a583b 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts > +++ b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts > @@ -896,35 +896,11 @@ &pcie2_rc { > status = "disabled"; > }; > > -&pcie0_ep { > - status = "disabled"; > - phys = <&serdes0_pcie_link>; > - phy-names = "pcie-phy"; > - num-lanes = <1>; > -}; > - > -&pcie1_ep { > - status = "disabled"; > - phys = <&serdes1_pcie_link>; > - phy-names = "pcie-phy"; > - num-lanes = <2>; > -}; > - > -&pcie2_ep { > - /* Unused */ > - status = "disabled"; > -}; > - > &pcie3_rc { > /* Unused */ > status = "disabled"; > }; > > -&pcie3_ep { > - /* Unused */ > - status = "disabled"; > -}; > - > &icssg0_mdio { > status = "disabled"; > }; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel