Message ID | 20240124183659.149119-1-afd@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-37527-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1182026dyi; Wed, 24 Jan 2024 10:38:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEoOhMvBFBx/yKJUsKAoZ8JXNR4YifdHQavkkSOwfQFywGQlTM7QP9A8avlzb+AYSfXB2tS X-Received: by 2002:a17:906:9c85:b0:a31:1b1b:e43f with SMTP id fj5-20020a1709069c8500b00a311b1be43fmr762788ejc.214.1706121494234; Wed, 24 Jan 2024 10:38:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706121494; cv=pass; d=google.com; s=arc-20160816; b=XkPTxrL3S/yEenddaDV6O9DXN/kQOug9cFvKAnM5ztOF1KBELlRfbQ78basAhWzy+S gvu3edB3WNl1N5RjwuTv05y43vBN3hcKgNRbt8ZZ5aWLkotnsugV7Axp9IjKNf/Rchpm PL/UkNu9gMK04jboIVFCWkOe9z4huy2hwg/8ZeTTLwG3TkJaizz9msvM6CGw8hXF/Xr3 /f7+ecrhguguhnVZxHTPstoemMvFq67DGYuu9ggltmSxsNG0VchoICLvAFk5nLrFay/X N0+cDNr82emgxt6i5kOzb0EN0KMUiuDo8wI0xR1HDmSABak4oMEl+KRptr69FUgoSLua pKNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=eMpEFn5T1KMfQWMTOUI/dvHdj9BaMlSxU8vJDfk3c+w=; fh=MyUppKttrNuIto4SF/fZZ+PhpsTyrywZS4cOL2Thdt0=; b=cJScDtztnwpzsV5MnqN6j8cyDG49n3IcfMlmavhVGAQvml/dd6WsywFyjkfAWfNQzp ejS2DOBHOD7mfNH6tnD29O+C96K6AXCZNWppD1h5Q3S+eJqEhCfZQgUBXkjmPabU2lFr QyyVUifozO4tkarJhfULuugVLAvrzhzLR9Phl/5mXaRBU0bX2kEAZXJ+TODuQM1Z+ck1 fputAwWAdi6/YZdW16nHHJnqRVWFKwwane2Vmkq8AkD0O2VxB820BAYsJLXuidFHxsyu WE6LY9SdbFYp95MdtXavMIwosyvjA3FA4JpxUP1SJEX0Mrky9dHwTBBb9PlZh2GB9BBo 2EEQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pQEaLkpX; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-37527-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37527-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y20-20020a170906071400b00a23458970e7si131372ejb.576.2024.01.24.10.38.14 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 10:38:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37527-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pQEaLkpX; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-37527-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37527-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D378C1F221D9 for <ouuuleilei@gmail.com>; Wed, 24 Jan 2024 18:38:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0DFEA132C26; Wed, 24 Jan 2024 18:37:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="pQEaLkpX" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8173813175B; Wed, 24 Jan 2024 18:37:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706121435; cv=none; b=M0v2qThV6NDpdZOP61hvpep4DVfdplp9Iiqo5KBghsPW0BKzZjeAuR17jcK3rdtZqtSAVD4UOjD5XPxtl1rq7CBHiraVK9IMfJSm4r92JT8YSBiTX/CwZT9OQ3I4LHC7OOXsh+DLD0LZubrqgLG8iHVMekROFESeQd4XTmxU9Jg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706121435; c=relaxed/simple; bh=iG57NcwKzxzsfvNL3nXLFfmGOl0sbfcz5pb2zB8p7UA=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=bggEn4VMW4XEek3nswrTAKEegnOQXr3BBxGyL1N1cQEIiAOw6UpVVYUKluDOmE9mPqn6ESTtDCNXNuWBW4DfYgJPhrMdyXSvQWG1J1OC6JdWbHOnB0OI/uuhmmkWLLFo83SNAmA14BgL5GsyFQ2x8yBrn1sdNgqhYII6ougBa4c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=pQEaLkpX; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40OIb1br128720; Wed, 24 Jan 2024 12:37:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706121421; bh=eMpEFn5T1KMfQWMTOUI/dvHdj9BaMlSxU8vJDfk3c+w=; h=From:To:CC:Subject:Date; b=pQEaLkpXlIi6Wap/GvGWidEfxxFo+9dMEFfhlLzKRNj63gHheWpO1wn+mzXfobvmx 9/9A/70zBWyjzep6TH3GowkmfZHSvPUwLSCslFuc072xc2hj4vFK1rB9Dxxz7JMcSG 00+S9yVHVr6qnXksF8RFBaRtfrtPTRQVUxtQqaWo= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40OIb1P7004186 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jan 2024 12:37:01 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 24 Jan 2024 12:37:01 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE107.ent.ti.com (157.170.170.37) 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; Wed, 24 Jan 2024 12:37:01 -0600 Received: from lelvsmtp6.itg.ti.com ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40OIb0b9106485; Wed, 24 Jan 2024 12:37:00 -0600 From: Andrew Davis <afd@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>, Andrew Davis <afd@ti.com> Subject: [PATCH 1/4] arm64: dts: ti: k3-j7200: Enable PCIe nodes at the board level Date: Wed, 24 Jan 2024 12:36:56 -0600 Message-ID: <20240124183659.149119-1-afd@ti.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788998052082379776 X-GMAIL-MSGID: 1788998052082379776 |
Series |
[1/4] arm64: dts: ti: k3-j7200: Enable PCIe nodes at the board level
|
|
Commit Message
Andrew Davis
Jan. 24, 2024, 6:36 p.m. UTC
PCIe node defined in the top-level J7200 SoC dtsi file is incomplete
and will not be functional unless it is extended with a SerDes PHY.
As the PHY and mode is only known at the board integration level, this
node should only be enabled when provided with this information.
Disable the PCIe node in the dtsi files and only enable when it is
actually pinned out on a given board.
Signed-off-by: Andrew Davis <afd@ti.com>
---
arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 1 +
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 1 +
2 files changed, 2 insertions(+)
Comments
Hi Andrew Davis, On Wed, 24 Jan 2024 12:36:56 -0600, Andrew Davis wrote: > PCIe node defined in the top-level J7200 SoC dtsi file is incomplete > and will not be functional unless it is extended with a SerDes PHY. > > As the PHY and mode is only known at the board integration level, this > node should only be enabled when provided with this information. > > Disable the PCIe node in the dtsi files and only enable when it is > actually pinned out on a given board. > > [...] I have applied the following to branch ti-k3-dts-next on [1]. Thank you! [1/4] arm64: dts: ti: k3-j7200: Enable PCIe nodes at the board level commit: 1b63a1b480c27764d30a0924a4982d31e15df6fd [2/4] arm64: dts: ti: k3-j7200: Remove PCIe endpoint node commit: 0b16abe711bd5136f2319c4f548fb20588540266 [3/4] arm64: dts: ti: k3-am65: Remove PCIe endpoint nodes commit: e074d9d9a52eec11cd8b3f98e2576b0c762686f1 [4/4] arm64: dts: ti: k3-am64: Remove PCIe endpoint node commit: 6cce60550763564360beadf57ecf2e4d45b585e1 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. [1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git -- Vignesh
diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts index cee2b4b0eb87d..7e4fd7ab9750c 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts @@ -382,6 +382,7 @@ serdes0_qsgmii_link: phy@1 { }; &pcie1_rc { + status = "okay"; reset-gpios = <&exp1 2 GPIO_ACTIVE_HIGH>; phys = <&serdes0_pcie_link>; phy-names = "pcie-phy"; diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index da67bf8fe703e..1e2434caa7ffa 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -770,6 +770,7 @@ pcie1_rc: pcie@2910000 { ranges = <0x01000000 0x0 0x18001000 0x00 0x18001000 0x0 0x0010000>, <0x02000000 0x0 0x18011000 0x00 0x18011000 0x0 0x7fef000>; dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; + status = "disabled"; }; pcie1_ep: pcie-ep@2910000 {