Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp376461lqp; Thu, 21 Mar 2024 04:16:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWBJNJoNy/lawQivS4mEsRfXrkp3TYGh7KsDWYWt5rLpVBvzJ1Pa70lste7bgrMQfBjhLayteAp/RmhwZlqmVFr6EEF6i3HdrI4W+8AQ== X-Google-Smtp-Source: AGHT+IF4HEUn3d60+NPgFZV9EeoDezyy+GjWtGCQoOTJlIflhJzVlypk36e9ONy5+BUuJlivl6B4 X-Received: by 2002:a05:6512:ac8:b0:515:8550:58c9 with SMTP id n8-20020a0565120ac800b00515855058c9mr6697621lfu.63.1711019812185; Thu, 21 Mar 2024 04:16:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711019812; cv=pass; d=google.com; s=arc-20160816; b=Ex5dPKuoh3EzUjWXKtbUG38oxNj82cC6XRTUn9i0H8HGPCAZxrUiTCeeYokCwQiqJg fd4RQplPe6G16dzXqwaxRgjeInzsSx71CFr+yZmd57323VnPhc10pwSBJxIylYEMCz1T 9qCaH/5vw1m6vBEUuEU82p1SJnKvvla1aiPwyzsYQHgYs7jTVg9CN/ROlAB5iB5CydNw qvFjd+t/3STrV4RBX4Txz8V+hCc0Ielzv9YnzmLwgXp/JB6c/SpecLbUHT2BnlQh93uL TfhVs+9hpFBmWRXgzsAVNqUAFAi+mnRZGXPVCCntnSEJS+ZeP9W4vtdJOCDAwjhkIJGq 3gfw== 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=t8mYqUYFmXt+OqihQVehR/CRt6L8yHG3IFqMGWpjwwI=; fh=g28YOB77mdu+HRXL9kTUxaYtvkVa1pw3YZSS19iaYFo=; b=Rkt4U0t2JnUH56wA7lR4Ec78k2blz85m6i+38kLariJiOozATRPxkM99BDbbv5p5qo /eDkjPrwhxD9gWAsIpD6M2pVhQ4rwuWJVGPibwT0wVddz9kbe05U8mIcilWDEYQLecif VlEtszQiLhWsQDkArvoKSNWbBisu86BfSh2//jOpY/SaKZZL7MNfIMV309qWqJZz0oIq bWRV89VqGkwHHk3KRLJXqZL3/NkN3bZ+IptuGxjDLzT+3dpRvKNWcyXjy1uVNlDGFRkF 049Y37JRUajD1J37Ukswotp0Sn8xuvlW9GOWmd3FiCEXc4Q5e7x33hTotn3ax5Cge+G6 otBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lJccgxqS; 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-109935-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109935-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ds11-20020a0564021ccb00b005689f73497asi7533814edb.0.2024.03.21.04.16.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:16:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109935-linux.lists.archive=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=@linaro.org header.s=google header.b=lJccgxqS; 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-109935-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109935-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 am.mirrors.kernel.org (Postfix) with ESMTPS id DE1D61F21AFC for ; Thu, 21 Mar 2024 11:16:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D606E58211; Thu, 21 Mar 2024 11:16:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lJccgxqS" 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 84EEF56B9C for ; Thu, 21 Mar 2024 11:16:41 +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=1711019803; cv=none; b=nZcOzRJMq/6xkUU1sXs0/+pKuN/1DCboWH1p8ueNg+cr1vFuxAdEafAerPQHjM0rCdsBIK+LhzkaJq1meqWvwfgHMJopxZtUYWVzt2oHeT2A9idZGTttMOMXo7ZZw4xP6MaLFs+Pk+nzC/Q9fRP3cLZCFnGeW72eAl/HbUxZnXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019803; c=relaxed/simple; bh=xcvj+XNV5xfW8YlGd4sTKzqiizvFttVCC+lrwkkusgk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TyiMf/8dUNN6oAZ7l9YcUzRtOTlmuggm0cwPKMjSSAoFT2vw+oL9j7rfvh6TdDpmuwYDCho6qVA0vIQq96ZZBOuhtnC6FQlT2Jf2TfrGApbgqF9IP32bXxUJNLYbJc8fso/XHzTLbbWhyOERD0xgEoyU71xPf+k69+AfhTOhlTw= 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=lJccgxqS; 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-6e6ca2ac094so818046b3a.0 for ; Thu, 21 Mar 2024 04:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019801; x=1711624601; 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=t8mYqUYFmXt+OqihQVehR/CRt6L8yHG3IFqMGWpjwwI=; b=lJccgxqSlnNt5oaXtotV5wNNbSc/mJ0CdTsgFrqWkDA59xeSKn3G7nvoWs3R3pysCa fBwcHe7dtPiiE2usc48fHgItYdzzTFf6JQrGnPSXCRzpsZImswBfKlnSQ0rAjoddX1nw iKqsa80nW6+evkXDHPGJBTG91yr5fNbjP3u1DwrrXOd9kaTB9bBChpdgn27GHbZtNJb1 Fd7BWqx79ZlzR59O7stg3k3hwVbangN8PS6bBt2MfxjeG+2Z/G3fLA1gjO5FM+Mfms21 8sSz5R9yuKnUFWnEMniqkvejJyLRlUvISYrblknX5YGZWfAlBoO2g648i/qcW1xaaJKE WJSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019801; x=1711624601; 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=t8mYqUYFmXt+OqihQVehR/CRt6L8yHG3IFqMGWpjwwI=; b=bm/tXHaG5hylZc9/zCBtO5FLV/vMaUJfhZSQCVaIBxsaBLwHgOrghhAlKPJQ3dHE7a lNHzLnRfhPTFyLU6ueGb6olkbsXouXzNFz3XYb1R1gWu9IJXzFibhjYnQzypT2iXFe44 rltvEwM7TNMrgUN7kDb4OoinXxs/OTjoQiXL+mZKVlirUTwMt5yNtoMcUBXmlC46Ll0I vRtJfXm3eWO8LWGb4hzrYo8JgcyFMZbFGsN8R/2bhajpr1ZwON/ppbq4xfArTkOgLke8 jZvqs6R/3dLN/ss8/bg8WzKaJP04rhDpoObUUkPVvECZ64AAmiEIIsaFafYXqFVQ/Wxo oj3g== X-Forwarded-Encrypted: i=1; AJvYcCXEnAgif1NhKW0OW8FvOGW0Vx2YDJs2wKm7HEBhM8jpZNxV5nAIZfo+HBkfBbXd5s4YXrri2m8a//vkD1MlkcQ95UB7xQqGTrIrZwLN X-Gm-Message-State: AOJu0Yz/agzqmkGJnGYKUR1uCgfr1KO1/GX+Yai0PhKQF5+MepYLnZmY RAZnWIDLnElzNUwTr8NuWGyCq0T9LeByGAr5cGnuDw/TZGhoI3M4vzZCeXDcxw== X-Received: by 2002:a05:6a00:21d0:b0:6e6:89a4:60ff with SMTP id t16-20020a056a0021d000b006e689a460ffmr8816921pfj.29.1711019800551; Thu, 21 Mar 2024 04:16:40 -0700 (PDT) Received: from [127.0.1.1] ([2409:40f4:102b:a64b:d832:a82a:837c:6d3]) by smtp.gmail.com with ESMTPSA id ka6-20020a056a00938600b006e7324d32bbsm5531120pfb.122.2024.03.21.04.16.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:16:40 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:21 +0530 Subject: [PATCH v2 01/21] arm64: dts: qcom: sm8250: 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: <20240321-pcie-qcom-bridge-dts-v2-1-1eb790c53e43@linaro.org> References: <20240321-pcie-qcom-bridge-dts-v2-0-1eb790c53e43@linaro.org> In-Reply-To: <20240321-pcie-qcom-bridge-dts-v2-0-1eb790c53e43@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Rob Herring 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=1536; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=xcvj+XNV5xfW8YlGd4sTKzqiizvFttVCC+lrwkkusgk=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcIeusDr2hnIncB0F6+Dabq4Z+f4c0sKAnB2 dueS/GWtB6JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCAAKCRBVnxHm/pHO 9Zj0B/wMPhFsXrmC8vshhzWFBWkP+3XBZMBgO3yts1Unsf7ENOqaI4PsAg7zKhIYJww4BtEDsOD KW7xOpEIT5HueFuwSIec0USyAJWjf4SE5ON2quQj8/T1YrcY1R1W7V37FNq9+SlvFVU6EKl0aho YneAZlGXMNsrODCY+hJMIa7mpsZBqBNodC131R8vKVyrN8j5e2kVyWk1iNvVaFJyZfmyVor8OZf HOIZ+lYnqzLLsejjHzXpm+wZtDnmYFAewPYCjumRHmoVaDuQ8r2I+chLaW+G36w0TIR+aJX3XrR eCAJDilYJLXwxNSQ2d0VYRxon0BwT9EeKIhy1g2QPb8EhU+C 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. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 39bd8f0eba1e..fe5485256b22 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2203,6 +2203,16 @@ pcie0: pcie@1c00000 { dma-coherent; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie0_phy: phy@1c06000 { @@ -2318,6 +2328,16 @@ pcie1: pcie@1c08000 { dma-coherent; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie1_phy: phy@1c0e000 { @@ -2433,6 +2453,16 @@ pcie2: pcie@1c10000 { dma-coherent; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie2_phy: phy@1c16000 { -- 2.25.1