Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2134642rdb; Tue, 20 Feb 2024 19:49:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUJN6ijHpUo6pzjIWb/zchojP76b1SFNidpwvFjchvtDqsSOeRvYVbXEj0wAU6j7dRxF7lvORTrZtRo7VuNYT9C6fmrBq9FBJ2hTyfRcw== X-Google-Smtp-Source: AGHT+IEMdZ+Hh0X48k7DF/KXsw2Ndrd5yj2UAc85i/e0bun6VB5vEVZ5xvHsOzmB7zI6lMPxH6K7 X-Received: by 2002:a17:902:6b8a:b0:1dc:3035:b647 with SMTP id p10-20020a1709026b8a00b001dc3035b647mr508221plk.47.1708487385718; Tue, 20 Feb 2024 19:49:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708487385; cv=pass; d=google.com; s=arc-20160816; b=jzKfPvaZs0SaO2LQeCsBNJnEc6t7C/bC2N/4CTVyhkdPmQMtm+kXENtIZCer3F86EE 37/xAKq63KlPxf7BZL7rqkGRLJcTrXrBBtrBvRwX6cojqR9xJJiYrKKn+CUjVWrcuwFF m5XAqUAastCLlf+UK2rgA0pPIJDx5NM4+YxYIYmANtHMSb31RS1pHzyJY0qHLRb49SXv N4yDTspUPn53ygRBFoXIeu7flsULfcbrgi3UIA6gVUswArNlD9b6uVNZ69a27u0PI2cN BVIQJdPd8KydXmhzbxasIVt/k/fruh5wLz7BS6fRR3abK/VdgN+BjLUbcjsZwH82wzWg sAOA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=P9BqxkTc2mQrdZu1UdYE7KMSoJ/vtFyFv1CjWrHWdPo=; fh=YIWQ/xcV/SWXwIiqpJ5sSozPvblmmGhlRNvOnsrml+s=; b=X5uPSUvU0ohggUG5TNreFVQXCyowteTVUGF55rI9HrxrB769Xupu/Yw8W9NCkVod7i mGpurOU02oM/1V/Wy5Gx9gOgo2WVnpJFbrNB6p/xJdAHYzcU5g5uADT5KtirLW9qTz5F Lf1t1crFLx8rBTcA++776+EHFglX9gmoziv5BgZEhqU6Qy14lFMUdq2tgNlh4XA+vaGA 1SDl2ghyRS117YGoQFpDl34d36LXOO2TGpyMYCMh3pgME1q+NcIPCGQTaaIFUCAFwjIR 0cloUgeML3oxdq+efA1BSK76Ppk3eVtDrkJhwPK14hxoWy/gTXzmy9ovuyLgFVZ9//z+ lPqA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ECxEH5+n; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74024-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74024-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h22-20020a170902ac9600b001dba53ce5c0si7166165plr.524.2024.02.20.19.49.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:49:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74024-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ECxEH5+n; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74024-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74024-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 03B05B24C35 for ; Wed, 21 Feb 2024 03:46:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CB573D55B; Wed, 21 Feb 2024 03:42:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ECxEH5+n" Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36B623D393 for ; Wed, 21 Feb 2024 03:42:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486961; cv=none; b=ilIHzi80S2e9XRuS8hPcbHJaABIYfntHnXkRgguTK3UwoDpSndQwaiklOtZ6xxmfZjojmKuT0IL4bJqJ32wDJ8KnXLiNQA6ru9cECrVH0nTOie7V21UfKEyJ+XYVtRfb6fxH9aLinX8uUZ1RsBI8yQZvMGkAZdRas+OZz61XNPA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486961; c=relaxed/simple; bh=XwgmeGggFrXeetR+EYAdr6Z2A4DtJUzK6YNLFgLFJC4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=V/ojo8tgsc5BGnmg7IGyhdqPm/khLi2zqdIMruDusXV+QTGVWmZx1ZVbFAskaJAwTgJqqXy8ppROYIgqT75WaXpGUrak/93ZlZ5Uy+xbeemqAf3mHU+c8YK/As8NvlxkQm7gnxbxqOy8Uk9j7A/sDgvCAGN+MBBkKuPT8zygFFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ECxEH5+n; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6e47c503fb5so1120447b3a.2 for ; Tue, 20 Feb 2024 19:42:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708486959; x=1709091759; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=P9BqxkTc2mQrdZu1UdYE7KMSoJ/vtFyFv1CjWrHWdPo=; b=ECxEH5+nfzsnmGTNgZEqZ1+V+nfUVuX9CTwHOQJosUgcyN9QvDgwnsHZE5j3sftrZp 8muSEYRVdHFW2mYbtZxn7zLQmQHdhaZIbz7cd0VRwdM82Nb/Wkw/U+llQbOZZ1gSyDok mo24KZlPSjsea7NTraJstc0pu03mRmNG5d5gan4VZnxEHx0SPnRL5RvHkfamyUqI0RhX mmO9wREvkcOP+FOCHJaSzVagSfw7dieIPkGOpdo0PyYMURVaUe8EhBxNkmUQnYae0imv D8NU1RujVxqYP5z8MC3wtXaDJHXlpomXFmCiEDQiynRY9zTQrCU/UiS0jZBvbQikn7q+ kILQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708486959; x=1709091759; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P9BqxkTc2mQrdZu1UdYE7KMSoJ/vtFyFv1CjWrHWdPo=; b=IkcOiqwDNjOJfmwLQc0SqGW1IpLr5ZmdMP+kFzZCaqlTUqVc+hGLueW0hjKXcG+NI2 50TPzZoW73/35BhZCaHC3RQq56cJxLDI1pmq6WYwlx9BAXWzpIXDU/h11pKiRqQALmaf HRWBPwcOsucL5GFkc1pIoJn85bj8MC/KAdETSibzu7wToo4ZJ7sp3sLUDTvGtQIBE8q2 Qa40/xf/qHDUaAZaEkFrnShUU3PGwSKaEwb/osJidxhyhUwrTYY93HhfpMN/O7mcwC7y 6Kfvp4zZ/aeY5UxPqGluAZPUteJ3r7GtPZ23HLEhqt1ij5HMsUhBid9XCH+M2U58dhsj 22og== X-Forwarded-Encrypted: i=1; AJvYcCVYAAKrRf5yU/9GOup4TrgML5vTpx4YtRL8q6O6aNiKa1u1Qi5w41nEpmRIqKxk+Zwy5XI5DvKgvqs7ryxqjZy8NFcIQEsflUtOlrs8 X-Gm-Message-State: AOJu0YyNogATxvHNa59Zoz22SRg/YdvuaH/tD9LPfXNrDHaVPK+a+yms CSpyfOso33bl5QwOUBEr3LRhj71DuxpZw0JqmE+rqGmyrV8gyvU+evfs9Mk9dJPU4atkn0+f++8 = X-Received: by 2002:a05:6a00:bc4:b0:6e4:886b:d0a7 with SMTP id x4-20020a056a000bc400b006e4886bd0a7mr1761729pfu.2.1708486959342; Tue, 20 Feb 2024 19:42:39 -0800 (PST) Received: from [127.0.1.1] ([117.207.28.224]) by smtp.gmail.com with ESMTPSA id o23-20020a056a001b5700b006e466369645sm4436231pfv.132.2024.02.20.19.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:42:38 -0800 (PST) From: Manivannan Sadhasivam Date: Wed, 21 Feb 2024 09:11:55 +0530 Subject: [PATCH 09/21] arm64: dts: qcom: sc8280xp: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240221-pcie-qcom-bridge-dts-v1-9-6c6df0f9450d@linaro.org> References: <20240221-pcie-qcom-bridge-dts-v1-0-6c6df0f9450d@linaro.org> In-Reply-To: <20240221-pcie-qcom-bridge-dts-v1-0-6c6df0f9450d@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=2700; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=XwgmeGggFrXeetR+EYAdr6Z2A4DtJUzK6YNLFgLFJC4=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl1XEHVShYIbB8TBTLfW8as/DVemrTl39xLMnVH PHUKnCg/kuJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZdVxBwAKCRBVnxHm/pHO 9dEMB/sHUSKJDzXFGuECJ6iPlaykTCqH3OINz0eYVlbxMG9/x1kZ3U7G0WClA4vHDRq5regAbNG IXj82rqC2LAmxtaj0VWn71/r3QArbOP0HeVV+aJkhZJ/vFf135QH/0IBNg0oh6EBU/+75iTfNdK zAC6tCvnC6uz8JrImXvkinJu8ARwZkmu5Z9S3ONElk8IEzPS0HIwjjQ0fzz6AH1ZM7I/WUfcbih Z8IJ0V74+ZCAdtaC5BnYrrye+W0yzCF40hYQ+e9j1KxV4A3YSlLgscwSFES301Adnju6qtpiRzx nXrAU8pr4i7xa2BO7WX5Hag9krNRGDtsTrleiHq0IIpcFpbG X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 On Qcom SoCs, the PCIe host bridge is connected to a single PCIe bridge for each controller instance. Hence, add a node to represent the bridge. While at it, let's remove the bridge properties from board dts as they are now redundant. Signed-off-by: Manivannan Sadhasivam --- .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 8 ----- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index def3976bd5bb..f0a0115e08fa 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -733,14 +733,6 @@ &pcie4 { status = "okay"; pcie@0 { - device_type = "pci"; - reg = <0x0 0x0 0x0 0x0 0x0>; - #address-cells = <3>; - #size-cells = <2>; - ranges; - - bus-range = <0x01 0xff>; - wifi@0 { compatible = "pci17cb,1103"; reg = <0x10000 0x0 0x0 0x0 0x0>; diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index febf28356ff8..37d9e01d7e4e 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1779,6 +1779,16 @@ pcie4: pcie@1c00000 { phy-names = "pciephy"; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie4_phy: phy@1c06000 { @@ -1877,6 +1887,16 @@ pcie3b: pcie@1c08000 { phy-names = "pciephy"; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie3b_phy: phy@1c0e000 { @@ -1975,6 +1995,16 @@ pcie3a: pcie@1c10000 { phy-names = "pciephy"; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie3a_phy: phy@1c14000 { @@ -2076,6 +2106,16 @@ pcie2b: pcie@1c18000 { phy-names = "pciephy"; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie2b_phy: phy@1c1e000 { -- 2.25.1