Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2132746rdb; Tue, 20 Feb 2024 19:43:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVUOmafNWd0gWHe4f/7HEMAae8pKezhdaDmVLiK70EYLAcnIXEbYwvKhBGS7ky5tNo7/r2MS0FEKqwhN5aEv83JWjyXSweJivtGVdnwHw== X-Google-Smtp-Source: AGHT+IFKTqur2wSM+cJaIyJMbQK7ZWQJq9sxkgXXIQLVk5kkLb8ROfc6+4bwdolcSInXVa1L9Uju X-Received: by 2002:a05:6a00:6c9e:b0:6e4:7519:fd05 with SMTP id jc30-20020a056a006c9e00b006e47519fd05mr6050360pfb.5.1708487006237; Tue, 20 Feb 2024 19:43:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708487006; cv=pass; d=google.com; s=arc-20160816; b=n0tgzwFEPwHzd2MFZWV7YErYZjtyMK2ChwDA+fcYHSeq4GRMtxqlZfA2MBfteTlxR8 V8DWwDH8s96d4ZLih9Cfn0qL82JhULfxceTUaEQXP5gtSIJElHu5ZFzO9a3VsgQ9G8sD zDdoud2HHTHY6eP3yBiz5sW2D2UoFsgjY2FplYiUamfAde29ljYDj0/DncfcIZiW+aO3 VlYIKWSvioQ8Mx1slIRNuEGR+Fizf5oCZCFlxUZBPjUXILubHyTtGYnwIdvFy37atxHo M1RusTERtcMaixP7hPVeGr2pS1NPUsQW/tf+HcLXYmFVM83b4pcbi+DN+VnGX8zwHUqX eymg== 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=ImXGIB7mWb7ZNVnOu2+1J6Z04awCO5hHkqZsUmjx4z8=; fh=JN4nU4PZn2ifE378GSiPbLZUep6ylgkmGxA0m6aFYBQ=; b=IIT7LwkdwwCXVG8b+Rs+Q/LWcNaQzHTA/RXqgMNSnEbMg6/+2uCsQpVvjCNX9Wc4aV YwLGJW3O45s2xP1ISEjuTi01UdMZ0mQqL5otNgSz26K7bjCrqMtjZyQ/vKoFvbGP//fb GHpwQW9miaexhX7fhNetH+PXFv93RFMAMSTnv1MSa1gY279vZcs1hsYuxqCJYsSBSz3z 2d1yJ9qA9hMqqSU+U5aK2+/J37NkNToeHRh6fPz4OPasbzIE8EbfdlRnCTG/bKaaUEoG dnkgOiFTJZyWi6NR+z5a8MpnzEs966vzFITWwqEeXcg6KYhxKHHEL4VQFGi6BswXY87M yAfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HEB+pa8F; 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-74011-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74011-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x5-20020a654145000000b005dc556a8765si7379306pgp.466.2024.02.20.19.43.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:43:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74011-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HEB+pa8F; 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-74011-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74011-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id ECB17282799 for ; Wed, 21 Feb 2024 03:43:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D71E3A1DB; Wed, 21 Feb 2024 03:42:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HEB+pa8F" Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (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 9851C39FD8 for ; Wed, 21 Feb 2024 03:42:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486933; cv=none; b=feQaovco4LgBEhO/U09IMJ1d64kfR+WTVXeiI6QOsqBPGpo1n0ghEQ7ZuPHbJFRhq/xOZbXFv9U7EBxvWfmVVPcg/oIybDmXObzN75lZXzUQQXgCpe4amcycczKzVZFLIvjQUy0qfmoQ5xDCkK9qHkVnXUu3ZtJ0kYEyLpxHepI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486933; c=relaxed/simple; bh=uG/9KOG8Z17eKXEtbxH9o5AmhzmNnY1T/Q7m5dFGLnw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Y4dZPaAl00xeD/lqSrl9WVZaD/kdDB23ciVyV5i8kgDufk8801iNtQJSDyzxPq9+iDRbDq7NMBoIwj1Rv/XXa1LyPczSqqjHreDjH0KGH7zqsvNcZJqmW8Sxn8YzZYPK/B/cXy7/22DbLN92lVi8Ymx+Owk6vzX83Mb3zPEpeXI= 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=HEB+pa8F; arc=none smtp.client-ip=209.85.210.177 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-f177.google.com with SMTP id d2e1a72fcca58-6e34d12404eso2892954b3a.2 for ; Tue, 20 Feb 2024 19:42:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708486931; x=1709091731; 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=ImXGIB7mWb7ZNVnOu2+1J6Z04awCO5hHkqZsUmjx4z8=; b=HEB+pa8F86X7b7Tlcg++wBIQwEdaDbwlrN583v2T/1CPFp3kak1PN47GDigs7OZN/8 lV0Wx5aiUrfxjcsSqshLa3tgqi2NAklgMF4PVPqPiX94AVhkZ0TGzpV9S8LSkswPx8re KNkmak5i4J7me2gTmHxSCa81JSd1J79GWN6itjbXjIOBo5OsIWo0mkflTDH+1aczitpo yxkn+tNGSBKrxpx+W51uDsJ4T5S2Z8XJnHm9m1UG/4TzAr3WIuWUG2lrEuay1FlXCOva 8Ie2r4GWRwmAr2LyVnWZdMPgV/b2Ll5hxoHV17rAtBzqKuVAQt658ZmbT9QqNk3zpp7m N2hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708486931; x=1709091731; 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=ImXGIB7mWb7ZNVnOu2+1J6Z04awCO5hHkqZsUmjx4z8=; b=es8sXzu0AYwcG0mbtQdiH3Q2iTRVkGgYvv86CA5Lx12QsMPYenEYmoG47T5b239bRN Hh+2tFaH/O58b+/tNqQIn+i3rOrkcKCXciJcpG1/jpbzO0GOzRVkSkVbuIvH0Ps+ehtR Uh5JgF/clVcFDzRUGkoF/8vG5+Xs2Esm4A/L/9Vank4UiAApoiJE0ToiM08IyiNELVO7 QL7fh/HkVHIEWyuJ0QFzV1c3X07q7hvMqWMGeK7hIuiCzuGbpbWjomk5ufzJx31m95iJ KZIROUvmFpXHW30g2vlchfPE4uP58MUeThA/K4qngIylM10XecYR54O24HC8US6PokoK yr0A== X-Forwarded-Encrypted: i=1; AJvYcCXoJXHF+2DdwgP3Mbm4IUgsmvrWD7eCYH2zR2Vlmh0vydxD8DVeuqYkWBfdyqbVstVlcYcYKOACw4xXnVwKtYWNuGMsOKk7z5pWxvVZ X-Gm-Message-State: AOJu0YxwgXH/H20VgMoU2kGceSVxSeBDF+7BXM1JHDBtzSzuikhyf2Zz aj0IcOBIL73DO6pneZz2ez1V/jS8UMpfZ3LseUoVns0Tzs14v6zwl8ShM794dpy3lWxErhPwew0 = X-Received: by 2002:aa7:9819:0:b0:6e4:67bd:10fa with SMTP id e25-20020aa79819000000b006e467bd10famr6201338pfl.0.1708486930793; Tue, 20 Feb 2024 19:42:10 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:42:10 -0800 (PST) From: Manivannan Sadhasivam Date: Wed, 21 Feb 2024 09:11:47 +0530 Subject: [PATCH 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: <20240221-pcie-qcom-bridge-dts-v1-1-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=1536; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=uG/9KOG8Z17eKXEtbxH9o5AmhzmNnY1T/Q7m5dFGLnw=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl1XEF9/fHNekkvPUiaqVD1hZQ8DqFjrazu7GqQ IHE7EVUO76JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZdVxBQAKCRBVnxHm/pHO 9aefB/wOjD+6DG3lTAmXaj2NFcWPHTZlUrH+fNNDnmDiSjCYy1JhJV1mRvt6uqqoAvEjKOs5jAL XU69S7rZ/WPztMNu/HWFJBXdaPFpBfVqgU7isZCbtV/rsziS+4zPpnIlQ5qDN4kiUFJBNiMVYxE muUtwqZbCn5mk93f7nwDi17H1p4CvgVOmHw8lT0kgEWUtOmVBAW8lLFutR7PzEKL1/u/wtWBATr RnRYQ8SG9qPb+CWgVyagKenq16lkhab1jMvW7ACR9wXTtggQToeexOIDpN/7/ufZ7VNL1AdcY75 MMmWI01hqDfvEgm+hzw/lVUxWUuhMAG+jNEmU2nz9hYMqfoV 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 760501c1301a..0c61623d9be9 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2197,6 +2197,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 { @@ -2298,6 +2308,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 { @@ -2399,6 +2419,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