From patchwork Thu Mar 21 11:16:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 782092 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (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 8A6AB57867 for ; Thu, 21 Mar 2024 11:16:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019803; cv=none; b=GgNlcqn7V1N6wByqmeSydW28C9NsFJb/nrasvcYF6c3aTJkWYyPNpawrL56PQOKmXslzoHYqGMVRfdfTEtyX5//H1rgaNwoegiYxSRMyptcw3UQEUyG8PQwXH8UyDPtcYgWKhZw63bbhGDIl+ydELdWMoSW8O7X8egrkCXEjeUQ= 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.178 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lJccgxqS" Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6e709e0c123so737868b3a.1 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=exqlSLRCOyogkMqOJlP8phaTKtn4waTsJUuSolry7Cp7/vpynyH+D6RICxwv9UCGB4 +4n3PpmifPYhndIwJ+L0H/Cs8G2eHMp2EZJq+k5WWe6ah9br95jJ5BPrjvIUcB6MOfBV miy6f7gncLuMVhUclQG7+Y2gHEtaGtJKGkz5ggaNItlBOh+G9f2pT9nencoqi1TY2PBN a2FkMRdsHgh2gxHk2D+BjLWpYvNJJzkYJfcWi7KduKh+V+fZuHEZ0LGTDWUoREcIm9tE WQZgrfTpBfn+9viDkqTWhwDaUdK50iCZk0YblH2uQDGbgj3+w+x4G88bsGe+PydXcs8q B/TA== X-Gm-Message-State: AOJu0YxpQ2PA97trB5aMpfwSH+OtpJzFoArqA9XCgGS7N09xOof3Q6FG sMaZoPmlMn0udnpU+eiAR54TBCaDxBst6FDmW+MoJkurjOufkQQt6BRxgccFYQ== X-Google-Smtp-Source: AGHT+IGi917XlZDZ55NXEQh0N9HCOUUJYmC/p8BLvNhprm0vicTdQ3QFeprHT4oe+9HyuoMZZGJ/2Q== 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-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 { From patchwork Thu Mar 21 11:16:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 781640 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) (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 C54C158AC4 for ; Thu, 21 Mar 2024 11:24:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020281; cv=none; b=d2zEqrg3qEbEQSlV5Cs+3iS2WIDTYtsQbhCjPOnvyTdEYzGlrci+gHew3FLgQ16JGqm0Y1tLTbvM9Ovwn5AXgY4fvhOO2xcrils0L99dqTxsuHXkSqZxY+1H4hO6z5ylKVHwrlkn19C+jh8kb705tqFIlwtCkUOD+TtvkWytScA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020281; c=relaxed/simple; bh=JSxYNSwZyUXf+sG/uNBnaGpYsgIXqQ6uEzUtMXC11Fc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JnfgXqHb19VvwOUxA5hLoGXps2Rbmi/Syzd36jIWtxi7Tklq/yl1xm6moXUa9cL5hX8enYVOrPo+ynfUqh7f+0WrLpFbKpc5BcgfcdvIwPdB+sUxlmk+SBMYIi7E1BTiOzx33q4OUCiDu5hVAb4LH/VyRONg6ZVtzaBgKXEssSI= 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=VuzGnQMG; arc=none smtp.client-ip=209.85.222.170 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VuzGnQMG" Received: by mail-qk1-f170.google.com with SMTP id af79cd13be357-789dbd9a6f1so65106585a.1 for ; Thu, 21 Mar 2024 04:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711020278; x=1711625078; 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=/DFL0n6uM1RWjK/gTquIUFnPYTmGA9Q/FVUWQCJfJOM=; b=VuzGnQMGmq37+3Bg8xQfZ8LOp1cOmkOwv4kAzkv52rlYe2aEWQIbhyJHfXh0MaLsLc lVsRVHbFBtVCu7s/6jYppAcLdUnPhSEM2O440W5r7OUMXE9akFRbM3IyBkKIPYUNWryI OFPOB+HQVelzDD5sjBboGLBdczbR57wcePRRypSbVw3lSvHUmZO9wovoEK7raMSZPe+H mYfE8vECW+ckzupTdieRkFVH2pQPsjPIfZGE/zmO9BjmciTCR4ktvlYSh3G2FY56+bJW YmG/OgrkzSdxDj7d2/djXxmfmV54R3CWq2Z5a0uoNq6ogqOSUaY7iv+eQeYTXUzObGVE LWHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711020278; x=1711625078; 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=/DFL0n6uM1RWjK/gTquIUFnPYTmGA9Q/FVUWQCJfJOM=; b=s3usCdJ4WUFzry9Isg+rJDWh5Attw8zLULK6ZLENwoKSNFkN1chX4S8417aFzvqEVL 6SKqnjEkXyh+7bxneRS4rZuonbXw0h7+d55ryYPJ3lC7iFMmmDSFn3KQz0pevP5HYSuq vld30sDjrQHvOZOS3tRMasYAQR+BiNle1v8fIqcE8HfQsgVwWoDhwTxWSJskGs9KO9Jb 26vv77ZU7uuEjUPBZIYI3qU4dKp+GValbcimtgjMMDMc2Kka1GpAKNJHRyM9+wpT7Wu3 wrOSOFE/3PPlp052vDS7q6PO+FLJAj3ZeLBYtYDLu3fnhjh9+jdXMOY1fCwqsRN/Wslr COgA== X-Gm-Message-State: AOJu0Yyakp0QsfVBB+w3sjqJAyV2Xbf2hdPwchfzzrCB6on5drg1q60K WIOdGcDPJ/pRKHfEboe2g4h7tAKdwGLxY8H8rua37wYCco83lSjWxOt3VZxQOt7bByN9ztqkJXQ = X-Google-Smtp-Source: AGHT+IFnnfnUYQZH5pd7/YUgsJ4wox7bRd256T69ILjci7PbIhxOrPZftFdDT+qvcZ8eiYXZxjtzTA== X-Received: by 2002:a05:6a21:195:b0:1a3:6b62:397f with SMTP id le21-20020a056a21019500b001a36b62397fmr2076350pzb.15.1711019805043; Thu, 21 Mar 2024 04:16:45 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:16:44 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:22 +0530 Subject: [PATCH v2 02/21] arm64: dts: qcom: sdm845: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-2-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=1223; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=JSxYNSwZyUXf+sG/uNBnaGpYsgIXqQ6uEzUtMXC11Fc=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcJALvhllgPxWyYG2RbYV7RcHMfPdLNxktb1 PwME9FSf9SJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCQAKCRBVnxHm/pHO 9Vc3CACfh0cbDFSipSCFGPlbj1SXAbaBC9s/ON4t358aRPbZ/l2XqcKBJ7mW6TyzlOfsWfev+GS ijBvvd98iL3tr5hQAw5HWyRMR3iNZCF0VtnJl1aXwZyLoJygs+5T0zttLZ1BFP3hpr3wik5bsGE f3PgB2fWPArDoVnCOxD1oPOV1XCDLWUMvFr5EhyRjg/nQwz3M6+7wotJ7Y3Z2iduVFGUk9FF3ye 7kpqVLQZxZ5mvBe5iBu5XO9lXv6S7eZX8dpRTYNtFvnSw6E4D2x2hSzK/ZHCc5EVStQPnBKlu7T 3eVdwj5xjwok+wcwtNvpbYSim4884p711N6X555225OA3+Df 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/sdm845.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 2f20be99ee7e..10de2bd46ffc 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2375,6 +2375,16 @@ pcie0: 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; + }; }; pcie0_phy: phy@1c06000 { @@ -2479,6 +2489,16 @@ pcie1: 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; + }; }; pcie1_phy: phy@1c0a000 { From patchwork Thu Mar 21 11:16:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 781643 Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) (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 7947C57302 for ; Thu, 21 Mar 2024 11:22:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020168; cv=none; b=s9MGJBBzNnnO8v9wzV2nTs5g8ANA0UrCTc9p6vCpunIBhFjuu2j145HMYJVhUEZKJWsUu4LAsYYywH6xcePDaeFKtEDwIexcC2JQ3+jc14RPAAcrELF+FCERoJ2oYwtaida+GfP7aTk4jL+O8VSEYhhovTSYbUCActBiz3nO0I8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020168; c=relaxed/simple; bh=YRWj7tUuWaozGIBwXID8VtXGQiJ2rzifS+2Bco4hG08=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Q/KwMVmIAVdVcXTvm4lnadkIXqkWX2qIztdLrY3pzKElb4+zfdLdNZabV9HhNr9LMal93oztuY2uDwXEL6zQ1ElhInFiNXBus61BSmwA/Yor9xHHvc61OJJ4tKc5otExNTV8wD4edFawm7ZCU4zMvvgTkdD41gS56uIMYagyI7o= 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=VuKTwStw; arc=none smtp.client-ip=209.85.219.49 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VuKTwStw" Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-69625f89aa2so7708166d6.3 for ; Thu, 21 Mar 2024 04:22:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711020165; x=1711624965; 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=MKov5O1lFAGwk/wL55gxbWjBq9FqkMhV/kf6YNRLDok=; b=VuKTwStwV00XyC+fGxVfyAJ2ibm6RFpg2RVl9AVo+6q8M/Ym4ZZUuB4O4scU4Q55cM CT1Ir7vYDWz0KHfaH0V93PAmmJ4HxcCAG9SMiPfdoLiNk4zuj0F0MkJpOPT+JeuiFmel Dx+BIep1UFCVueFvC9/AveAXhH2Ko5T/ujKe42sVQoLP1R/g9YZOt5GzT0rYBBjnNCmw Vnq69Z5KJb0qDScvkGqlLJLKM8Y9pcqiYgdw7TaEOWmmNEVr85xFhc3qHFuEKQpJnDbt +rvRA+nsHAwtmArCYYPt9ZBkPlulbiiPbnsm0QCS/lBcW431DOrdz85gucqgJYa/hIcC pjfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711020165; x=1711624965; 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=MKov5O1lFAGwk/wL55gxbWjBq9FqkMhV/kf6YNRLDok=; b=iowWwW37P/S7MaiYvkS3hoX4koSgwlyl66SaJgTuB+53NhNU2gGFuSQI8A7C/x0QFw 1Sn05Fgs/Akypn3T4lYwJZqDLnoPa28XeFCv5jq4OO2Fqvj6yiYOXrs2ABDE/GsiHkjc yona8cPANsj1hlp8O1UPZzZqA7klosWlk3gB+9ObV9uu0TcF6MzBTvY6wLCkaSoD2du5 SMF7IKuxJTHKCP9nc2aMWJUbc9stbV/TaFyOHe1qWKBz6L0GLDFuEw/hncJAauSgXtsF vJaqUxxZwh+Kn5cS2ybKDzMwG0nWJO1Kf/SF9iMZsQHwFYDCpLSYRn5WX3MwUj4pF8lS 8cUA== X-Gm-Message-State: AOJu0YzX5xc2ayqGlmQB2TKH4Y9zD7zU1lKXkcaeON7ib27uUW3zbtj6 jpDURFr4bpyGAZYc/t2HWarAFThJes9QX2yYJ8wiW1i0Dg1zDCfJ9OKlbCHGbz55Iag98Jnsx4Q = X-Google-Smtp-Source: AGHT+IFEF9zGB/LdeZhJbbnFlyxqqaJFUZ7TW2VrIUFAnJy5wTVwAoPqE1PhloEVUkpQfD6YLYxRjA== X-Received: by 2002:a05:6a20:4e28:b0:1a3:50be:b3bb with SMTP id gk40-20020a056a204e2800b001a350beb3bbmr3542415pzb.53.1711019809214; Thu, 21 Mar 2024 04:16:49 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:16:48 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:23 +0530 Subject: [PATCH v2 03/21] arm64: dts: qcom: sm8150: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-3-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=1249; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=YRWj7tUuWaozGIBwXID8VtXGQiJ2rzifS+2Bco4hG08=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcJJxAyVnzVSonO4oMAUO+Ag2f2+i0I0Vglr D3M3ea0HX+JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCQAKCRBVnxHm/pHO 9dFSCACSscUDSAGMxHspwNenzJ2yAY3/YhnjNqPcuON1yIn5KEMU4NcL85gsz5ggk1DmBND5arp QnsacCfTvv8ouytMnA212VVS785S8U4vfNepNYiRyu/sU0pPGf+FNyGucNr6+N3DqeArGAQElXk K1JKIfDKiR/PLo+2pi2GSoPefirnf+ihJlV+ZEQe/l8QJJdbfV3LsmvW9RgXtSaVkJS3V7z9F5Q 1cc6NSQcDbL0dSewn5GvYENeBluWKlL3OGjwPacgL2GoUyrosu2i210TQT3EAbjVsDSSkfGrHeK ETFVXUv/Zkiczln/g4rNtXe79CaE09LIGMpQfUL3Ftu9UDzq 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/sm8150.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index a35c0852b5a1..ff22e4346660 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1901,6 +1901,16 @@ pcie0: pcie@1c00000 { pinctrl-0 = <&pcie0_default_state>; 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 { @@ -2011,6 +2021,16 @@ pcie1: pcie@1c08000 { pinctrl-0 = <&pcie1_default_state>; 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 { From patchwork Thu Mar 21 11:16:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 781649 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (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 C1A6F58126 for ; Thu, 21 Mar 2024 11:16:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019816; cv=none; b=lo7HL+W+ouBVfjuQjY5QuTwl+K1FZx9Y4sMwifjxcmlwfdbgyGS8yWl4C6sy56Fre0Ln1L35ookd7nWbEgmwvydC+av7daPofzOdB27K3guB7WhCDx5pv1pBVUmyLl1UFeDt1xmBwzkXUlUpR7a4Df8iU6Pma4WHa5hovny0Q2o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019816; c=relaxed/simple; bh=IUhajlMiebMRXpZMv8IJ+rUpDu9cL/zwabR+phBMHXo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QhxxIZ0PQ+sjLuge2ZFZ6FlFX5kkmYOOkB7mctcFoP58akZw29DfUqaTNCwsPFAStOU0p5fhOwYqq5DNuXy9/oqtp9QGTksvKhspVwysnX3FsrthrCUsLXqDODtMlPwPUuoR6bAVom1wFlXCngnI3ywXTsJ1TFO8BFee992YTRs= 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=sd/8wlw5; arc=none smtp.client-ip=209.85.210.169 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sd/8wlw5" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6e6b54a28d0so604479b3a.2 for ; Thu, 21 Mar 2024 04:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019814; x=1711624614; 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=wpm9hzU7yRxndVe5Gx/goNXu2viD1OAzuL4ognrEobA=; b=sd/8wlw5O00twv0VLgHZuyESVrLwWXQ6Q0PgxJ1q6zY0d9nXoQ354qRa4USPRk08OK umeSb6Kgu9+H1yng/YNhGGuDar31g6gzbn8kT/6FPRnWhTZpWYIK17p+/QTrOHqMz56q +nyYnOUpKVawiSy2c2FnEtwlQb1VkUuNNp14hatSSN1qQrouZurIlUMAdfk147xQHFBp zAqNiD85rMKqrNlqXEor9nvwRlpEtvpGUeWgS80HYY8FCA1k5kHw+diRcWsXjGwMrvL5 o23KBHk0MFArN2Swhv7uPrUhpkhqEXng0TLWQ+qzpADrEiTMgFlut6nCF5ZnLuiMBZGh 4qxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019814; x=1711624614; 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=wpm9hzU7yRxndVe5Gx/goNXu2viD1OAzuL4ognrEobA=; b=a9aM7i+86cm/fbucc+q0dcV7TvpPvBcsusNnSyJQHb2U4X5R+OO9eBBTgI3RR6Zpdt ICiEvHDac9ZkLORcXyRNrNWXWGfQhayRzmBNgGfVImlS8VSSLordqtOv1kkwenrduI3J K/fmaEXF00qFxO2K80S5Vob++cp9wcXb2mEfll/17Dz1yD8oWIICk1xxvAUi3E7joo9t O2dyXvp1Cw5+f6mlRjGHlhcfyyDcUI1vOGUA0XzxJeSqydETuqZzDfRPFjM+FPUbqScZ 7AxGKMav9mk2tUX24pVtoLakd4Dw5o7YsZMMO2pC89rzaP2gTxAlKAwamVevnqPtQtyZ RY0A== X-Gm-Message-State: AOJu0YxU0KEeY6Pq+JwuC5Z1Kyx3ZcIKepk1TUlKiFbX3xpA6l6nqZmB s4+k3NUwv/tHyR8d2cGsPmzuAtoa0MJQoxu/NK2OHP2NMc1CoDFenhvcd6nSHg== X-Google-Smtp-Source: AGHT+IFQb+EtsRBxl4QG/ciNRDtQvLa0vxCY7Ds0yjW248XVpLTakMgJOPT/Q1MjZ935yTTACov7+A== X-Received: by 2002:a05:6a00:4f82:b0:6e8:c6d8:217f with SMTP id ld2-20020a056a004f8200b006e8c6d8217fmr2248910pfb.10.1711019814009; Thu, 21 Mar 2024 04:16:54 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:16:53 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:24 +0530 Subject: [PATCH v2 04/21] arm64: dts: qcom: sm8350: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-4-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=1223; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=IUhajlMiebMRXpZMv8IJ+rUpDu9cL/zwabR+phBMHXo=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcJkQBTU7cHMjQHCmaE8rE5vqzECiSajk6OF 58uXgQKlRaJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCQAKCRBVnxHm/pHO 9ar9B/4lkmGZ9w867Lq+7Ob1yb3R8dwMvftktOgUQSmPnhqRIvQc8Xs10jR1g9dEEhft8UfUTg0 BUUTD3UDVxPZE5jGB+Q/Hy5It4wqPlfcVeadsi3W6AUk6eRWlTzAlZArG9g2ASEbJENOhl/kprZ IvU2axd9wH9oy2j2rPO3dTRgIcrKYYWRmrfL5PCz1gr2ztQI4jzHZ3T501tNMl85XikHvKvvntV 3zYGzO3PN0ipEdoeLKrzL74DDNImbXnQjoHwycHXH4LvPNuVBY7SPDcFPoj84CJoT1Sx3k65LvN MiEHka6VZz7y7a/Y0WiekYEuFnOTbG4akpP5xzeTj6QgCAWT 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/sm8350.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index a5e7dbbd8c6c..a7346b817400 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1572,6 +1572,16 @@ pcie0: 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; + }; }; pcie0_phy: phy@1c06000 { @@ -1669,6 +1679,16 @@ pcie1: 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; + }; }; pcie1_phy: phy@1c0e000 { From patchwork Thu Mar 21 11:16:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 782091 Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) (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 AC24E58ACC for ; Thu, 21 Mar 2024 11:16:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019821; cv=none; b=YviFWHJJYlohV02b92I7anlQndEdBub4A9KNEPTSMNYTDu92Bwl1n1xNIOiXjUMd1XVfjMvS7uPX29VdHVXz7pzwwrrgNrKMuehmb2TbpG9DBijnkAhdF5u/CFX0ZwJcc8Af7OBILfGg/VYxLrhil/TlPEXR3Pj9T0oUAJKNkvU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019821; c=relaxed/simple; bh=BP3xpp0v4tnL/9I1fNzpSMYSMwKKsX1sNJSehWncIwY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AjEK26cgh30ma1WHIqjRC832mR0zO9JIKrpgE6AT0Wa5+b7u+FaK76Er+IkX4AsI9Nmt/GkO6zRedqaQ+kE4EP1i2a2VPmhg2eZQxA2qMCqR8aAR9ATsgL7FkrKzPzur5+Zvm8BZ0W+hUCa5mcQvGaX8KEzuuyy+MkIo2rhelXA= 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=ZOKV6P1A; arc=none smtp.client-ip=209.85.160.48 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZOKV6P1A" Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-222c0572eedso397516fac.3 for ; Thu, 21 Mar 2024 04:16:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019818; x=1711624618; 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=dbXW3RaKwYBp6feCRJ6SHji9fzUu9q/UmL+nhOiS4FQ=; b=ZOKV6P1ADFO+w760S3HlmG3fg8+wV8/kUVZoneR8QYGRashxG78KEO07Qll6Se7plX beaXMqZsHMIlvsaOjI5hou8pw07RukyigRgIXXFlsxOVyeVd8LDyraHTdpocSiiz8ntL 94sj6gXMO5Eiluf8TweVv1/HADRLch0aRl7y5fGKoNqyYplFz9BWUJ6Bh2zfkMuK3109 OBoLvY9XD9s+OpWsfolSleobnweo4svTYrC2uBklT3f0XgOty5VxDHCZNLX1oT/Yiu2c kh/yFLX/boqwm60IcodIT5FiHjVENFIrvaG1uW53dYhq/zmr/Z1yrwro3NsP44odK75V t/nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019818; x=1711624618; 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=dbXW3RaKwYBp6feCRJ6SHji9fzUu9q/UmL+nhOiS4FQ=; b=aKJt5cZVQVtpPbLF2JquNVGrYQ2JKtKrDgdbM0a7Ui1MB9kt1tOgdRoKshVrePV7mE 6FkJiGibD06iU8NDNWme8msNwNwKPh8uv0zXfFogcicT+/1Fze/hOoMHUJqI98+TSWYc uNqA2pw1nw2fH2EJOUJ2Z26ihF+mBr17Dvvpzx/ytpCV7GPp1WY3OeBJJdy6gYmQ8nnx kUKR+LwfaslfBEO30Mlwx5WMMx3lHp3FqtbyxrjgZ/aH6vPmO37pesXZ92SRV59XnFGn QYMH0SRfGfvHZ4GpNXxlopiPn45Z4g1uhiyN/mzjMNWexFU9vhQysA2t9Ex0vaCGtt7K +EDA== X-Gm-Message-State: AOJu0Yy28ElTpccgOcbRpL8ea8zG+avGvVUNdNtSyeDOFzjF/8Lja3UF 1gwXemHxIzgcz/cYRI7sPOL8FbddsV9Ok1jWHufYeHAPoDRhFOSlK1sb8rjL1g== X-Google-Smtp-Source: AGHT+IF++ZVZYYPVj13qtkbvQ/jjXA/B/TJc8cBoHr01s2heCYHkAjFEzkHuO7+FP21txd8x9icTUA== X-Received: by 2002:a05:6870:f728:b0:229:9307:5ae7 with SMTP id ej40-20020a056870f72800b0022993075ae7mr6686086oab.2.1711019818506; Thu, 21 Mar 2024 04:16:58 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:16:58 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:25 +0530 Subject: [PATCH v2 05/21] arm64: dts: qcom: sm8450: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-5-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 , Neil Armstrong X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1306; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=BP3xpp0v4tnL/9I1fNzpSMYSMwKKsX1sNJSehWncIwY=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcK+PRb1g48X4N+HBsPz98fCwxJJpV1gchQM N4EuzgM896JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCgAKCRBVnxHm/pHO 9X7eB/0Q5ajmD9X1C3Z5xChBXdgcY4QYTzjaKHXD8Mww9L3OyaWYeMLGuHnJimU7PsyNAhXUwqi XMvyMdDPOWM2IT2VavorgIH4oRYQPdUt8Cs4LmyTMynXsBxkdzepsltBY4fSndcYWqZYeg+RPIO wuzrxoM6YEYndf+CRDtcaL8xdSDoUCQUJPPeKOgIaPwbTucjLNPizf9EHgFaJA6ek4hYs+QbOz/ Pm7ar/l1DjdHZ1d2tfbYE3bWwYgowOVZLcBXsmxvrlm3WnbijQCpHuCfwamU/uPl3BSpdAtxqIR V3QkibGvMF06jH1RFezsZXo/gW5DZ5yiiFhxXnAA0vHcCuK5 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. Reviewed-by: Neil Armstrong Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index b86be34a912b..b42e44b922de 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -1850,6 +1850,16 @@ pcie0: pcie@1c00000 { pinctrl-0 = <&pcie0_default_state>; 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 { @@ -1971,6 +1981,16 @@ pcie1: pcie@1c08000 { pinctrl-0 = <&pcie1_default_state>; 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 { From patchwork Thu Mar 21 11:16:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 781648 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (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 A67395B05E for ; Thu, 21 Mar 2024 11:17:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019827; cv=none; b=MqWiKAhNZQi3mtSKV71cEsv3U2ZxJuJDrNF+Q21VXsyZBvm9UcHk+SKB/cmbLiPetwClCu3TmtLRQGoxhjjl2P5TRhv1KQlFtPRSAYql6ncWe7+eSsdI3pcRqz5/QcfKvsuwl8I44qXPNHFkLlAI5He85esioedVdV9V5fdFBV4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019827; c=relaxed/simple; bh=5GcAJHlBvKdEoubmGeSAXTJD4cDVK4cWaitoqpJbgQY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tvdUy/GNfqopdJFtCO+kP7+wgQ1rWvMYyURK3A0ICEh33ZwgILpGx3tU363cKiurIVbJaEgDdIeq3+32AxHb5XfqJe3UGBdPwJK7EnBmVdV3n8Kh40V4kIHwI7DR38rFGNaH7MFOZRyumNdPQrYNZeEsmxP1vB8jvPmB4AxHOxI= 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=GL24sxDN; arc=none smtp.client-ip=209.85.210.180 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GL24sxDN" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6e6ee9e3cffso558729b3a.1 for ; Thu, 21 Mar 2024 04:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019824; x=1711624624; 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=KCgE3LULkY+MlLhJXel1FLYizfuhO7rE/6pBSxAbnjI=; b=GL24sxDNiMNFjC+QrfBYKBjDOHVKxC2bM/v9BOGdbQE2GMg13wtJ4TGPHZ3Vqqb/N8 pH/lh/F9JtzOYNQ/g/VjmeeKNWjvc64gnKfORwCPX1LWKQSLaL2PplVkTmqNXc3SHj4l 1oCVesGN5cSAEC0rHaQZOkktEFBpaGgBKXvIJ4L2cBpWXriIeLQEKllcvS8otrd5eHon pnrPpARE//Id96VpsaU6+inhbQV2+2vk4gu0uSVyDQGm2uNSwwjUTU2PLVDYECNJiRMA 9uV1xUS7FwjAi98XqiuX0NJ6KCJjbwz62TfSZncksMfYikjd83GhpLOKYcN4JBjbGoJE 6V1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019824; x=1711624624; 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=KCgE3LULkY+MlLhJXel1FLYizfuhO7rE/6pBSxAbnjI=; b=tsCTAB20GWpNGrNxa0QUMxzAVF53cFr4JQOAJmHKWET5i8VAgsaDqKntEzebYHJv3v KbFE2Hx6w8v6KhhwJJjYPDoyjaSRWyaRh1RKGyRZd6S+2p0EYx7yhRlKLbdZa2+JcqeM MYqJ/5P1iXcino83NZ1EZBqUD70KKQLx7J2284XqCcI9FsKfwJJwvAEjDcgNVdNA5ne0 5D2ZfTxhsGVa7R5hhHzccMOuIs7AemTOTXDli9eA4peXdY6bOldlYupqG60Tx3kbQDY8 N5GUXETsS7a8tpn2H5EiV/rUNSslnOna01EdwprR8eWUNHH2VYBiMATLFavQxFlHT0Y2 GRxg== X-Gm-Message-State: AOJu0YwQdLXjxIddRaF8xnMohzOm3Mh7AWe1ZFoicEATW1tteuwIeSp7 AJPaAWlONSNwZW3bEjKzTz0F0BeFIMFTHO5gnbgo+jxVTZW9unC9LeO3Ya4ebQ== X-Google-Smtp-Source: AGHT+IHugf9GHBmUcKzliLICDPtou2xS3lY6rzgr4eItvLYi2zsqVzbRozIAoUdbiOGLz+7MwvfjaQ== X-Received: by 2002:a05:6a00:399e:b0:6e6:2dc9:dcbc with SMTP id fi30-20020a056a00399e00b006e62dc9dcbcmr3435556pfb.10.1711019823619; Thu, 21 Mar 2024 04:17:03 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:03 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:26 +0530 Subject: [PATCH v2 06/21] arm64: dts: qcom: sm8550: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-6-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 , Neil Armstrong X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1280; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=5GcAJHlBvKdEoubmGeSAXTJD4cDVK4cWaitoqpJbgQY=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcKdnv9eU+5NjUZRC2zsEE6+iJujn3ML13Tb OUIoeLu57GJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCgAKCRBVnxHm/pHO 9RObB/0V6WSbb9d/QuL/IN/igbT/U8ZVi1TtULvhzAA19in1yQ0fF4lafvGCOmIQVgqmIZEFUQf jVc1UIGQLl7Z8nQyazTRu2bGDscoNcLvQBie5ijCUVnAUlA13OF4xYYf7dkIkoW7b2/TMZZgxPR jhe1yM1n35EOKf6+UD4eVfbP/1jFFXLoUrfAW2Oq3OORJvCRgt8ooHasDNKyu9GbcazPrKg/lIt pDip4FZ0aDDsnvfyJxGz2Pl5Myr23sM3pj4qh5YDdAWbqk8HXVU7VhFEu13m1sgUnHb2RNjiFy3 kFYcA0IpJ+9LBIxPDS87fGvAIqn/+abQ47HQNEXQ5PLvthtY 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. Reviewed-by: Neil Armstrong Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 3904348075f6..760b6a6cb59c 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1770,6 +1770,16 @@ pcie0: 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; + }; }; pcie0_phy: phy@1c06000 { @@ -1883,6 +1893,16 @@ pcie1: 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; + }; }; pcie1_phy: phy@1c0e000 { From patchwork Thu Mar 21 11:16:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 781641 Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (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 D22635820E for ; Thu, 21 Mar 2024 11:24:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020256; cv=none; b=YxdyIqIqXEStvo9D3uf9dg5KRparXMJLnUoNkXGw263MZDYDKRe/1yuGDy3+FZVrxeiUmjtLUeV8EGDTWiKVTsYK3Ukl7Sc2m52SRZcLNREeSF8CF/ZhNceFjU+GTpSLfmFePCDZOlT9s0Hi7a6yXP7CrEwRC1Kd+RDIwVCveec= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020256; c=relaxed/simple; bh=JjX5rQTZo4PnOzDIoK07BP23seNYxLCWEZfQhQdyN1Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MlVGMUp63/rj16feeE5srDS4TMEv2k/grctjGEfbiiq3G1yff0Ox3I3iwn9d2ge6E/DnbUdMMx71PY0pKZK4OZsvR1H2cQgCJzEzpqf3oF43st6IxatKBURbDp5HOVZZavDYzXHmafc9ZXiBFOXRY/klVrDhL4ecZ0wadoLwEhs= 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=sMNGUraF; arc=none smtp.client-ip=209.85.167.179 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sMNGUraF" Received: by mail-oi1-f179.google.com with SMTP id 5614622812f47-3c37c136d25so813641b6e.0 for ; Thu, 21 Mar 2024 04:24:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711020254; x=1711625054; 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=BTVw3VOLiPjAAnXNFxWBHmzEpyoJ/0WYArrSCRNtDwk=; b=sMNGUraF+Gvsf5rU9z5IULwxvtrHRDNO6HUWPmQTc9Rqqh/3UFlengvh1exEISedYm gD1DP+XHu8Id3H+YYK5vgf+fCH5cQWAg1l0F0RUbfDzJRj7xDcKWmEItl+1XfOQQwCEh 9gJEytvXKdvaNXJJYu2BSKxYXVjoEpa+eaX7TalspnqZHAjd13leoe6XJ/8EA/Yx9RRi U6cVdCe+qprP7hP1ftHSBhcHVcU0cq4RDZVzpTsTakwX95FSN7PLnHVBEtjM1e3YveOq OkJWvgM2OdCiSLT9Lz8ZH44/6xeBxtUiQIGBw3Pz/fp7ZKOEmwLRTbSJyNwaQTw+ct8g D8qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711020254; x=1711625054; 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=BTVw3VOLiPjAAnXNFxWBHmzEpyoJ/0WYArrSCRNtDwk=; b=nf3BTnxujYCTN/Q7Ajc9j37XRoFdXdxcCNWasu5tCC0SOOEQnrWK+QuFjoryBEUXRd aQxX9RVUC3Yr7x0x/q4Do1/JMm0wUfTTLa1w+Cv1t7B7sl+I6NV2G7Gkcqm6p4yUab17 6OMTZVM9lpAQH+eXYcpuY1EcaQWbWtwMtH+LrojKfyohw5BV9CFD0/cj1piRCuvozVDz urvLjS2G2Tcgzs63Q+5qPJcx0yAHZ+0tbjkahzUiEM2MwoExy8ICwzNGvBqtcZGX+kgk W9GpRVcSzBeJ2XKwfS/YRAOh/KXcQcpSeGQqcZUwDKSZsSpaBp4gJhwpY9qR4zMn70or wSXw== X-Gm-Message-State: AOJu0Ywa9wOQhWNcuAi0CI3cO/Dm5i9I6PTSidPl37xnoAo6IS12NdcZ F/6PwxEa/YUv6jat3I8Qh6OArlFoZh0NS23G1GbvvU45YWIq6mxW/WPfgc2XnWd7JhVpuJpXoAA = X-Google-Smtp-Source: AGHT+IGwvyGUkGDV6ho8SQWENellaGbkh9BcDgzJIU3V296S/hqDZk5/JFLnDkcfFmeXKk/l8XWvvA== X-Received: by 2002:a05:6a21:6d9f:b0:1a3:4c8f:dbf2 with SMTP id wl31-20020a056a216d9f00b001a34c8fdbf2mr3288711pzb.27.1711019828039; Thu, 21 Mar 2024 04:17:08 -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.17.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:07 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:27 +0530 Subject: [PATCH v2 07/21] arm64: dts: qcom: sm8650: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-7-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 , Neil Armstrong X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1343; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=JjX5rQTZo4PnOzDIoK07BP23seNYxLCWEZfQhQdyN1Q=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcKfo6nILZjT0uVxu9k6L61zmAF0krMsgWSM o7hLHsVsL6JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCgAKCRBVnxHm/pHO 9fpRB/4yJ5GNKfkKv4TU5wFicnI6n/82CVm1TD/Fjc2OFsnwNPP0kQQbQ+5IuThXGWfv9243m8E WJN4lpImXtRMHtCESd571i5xfvcIhiJnQiIOuZF22UMQ7X/IOKys6FY1FDct+W1tdzJLRQfjBYt 8pac7biguPo74gZH2fXpDX4j6th9SJkMnziR/VtbQZMueDJlzJQ8bBFKnVDWBl2orkndM5ao2i1 zE8bBQjm/OP8CiZaBY30hZG7Iplc4LAW+Y5c2XgWKFliF0SRthvNJIlPVbcb0as28QS4W6zuLuN 7jongFh1sIqnMAS290MvHGe4Mp6le+ojO0M3DoBeaozuGNP9 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. Reviewed-by: Neil Armstrong Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8650.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi index ba72d8f38420..06d2b6432ab1 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -2294,6 +2294,16 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, 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 { @@ -2422,6 +2432,16 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, <0x02000000 0 0x40300000 0 0x40300000 0 0x1fd00000>; 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 { From patchwork Thu Mar 21 11:16:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 782090 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 F2ABE5FB91 for ; Thu, 21 Mar 2024 11:17:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019834; cv=none; b=W76YsRpQPWTZAzadqY/jlzYRnD2zXCDht68i2gLfSHk4W8r5SLkMvdNj8Ax4Dx3kwXaY1mvqNFIAgRk2cYg4qYS64SXlDlajCKwmvkET1oexoiMRP/jKs5XACRvnoPWKd9Ki1lZpf3vFkB7oWoo66xOcngrieshMmnOTEeP1T2s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019834; c=relaxed/simple; bh=5meRU2YVUU23seGXMANnZfJqw+Ixz7s1OvoZwdTDBBo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rOZbvkoJ/XTVp3sgnc9RVKDLhftMyqRyKj9G0OWuitiCav35UKP3qOwt71oYU52VP/Kwf18EkRttTIXNjMns/EDxmia7n6/mU/mA1eOcQvNPyJMv0d64b10ft+okkLkdrODvbYSHRDdoWnUZZQNczsGwiOCEhs5KqfB6dHp9GDo= 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=we458PSz; arc=none smtp.client-ip=209.85.210.172 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="we458PSz" Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6e6f4ad4c57so673784b3a.2 for ; Thu, 21 Mar 2024 04:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019832; x=1711624632; 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=NvoaaCNe2L2vMyDF22zsVVzl/iZzIirF3aywOiTV8nw=; b=we458PSz39f6wmdVuY6bwvKEwrJZUcuSb9QFd5J9NOe71JupGc2R02Q/fqE8En5Y7S TmoxYuJzCv+LGU3vtnNCfX4jC5y/dvjc2RMosvOfvYuH7HJdDk/0UnmCTeptYStIYTyS dnGL+WrVbmlxUC7qHOi+zcs8b60edUjinMcTlyiV4WdFzyj7RQtQ6JIzEx04GYvo0wDC RjjcugJluQWY1/cvPtT2HkbRXcPCEYWxAbsAWfXJoBmXAnqc6J52M2wNOZLfmO8PKQGd gHtPhqTiLp8MujtgE0cbZq3GrXSy54JVTp5M1byXsib+HczfTOuuOxcrrJlVGZGX2c58 uYcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019832; x=1711624632; 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=NvoaaCNe2L2vMyDF22zsVVzl/iZzIirF3aywOiTV8nw=; b=tnhuUjAgRNxJCkXQ5xZYx04NEydSNdl1On2vpMBBxDNvbzdpsYUqkSoir6WNPIlQ6Y i3Wkx3Ppw6OKAFVS/yn0tsakI+28KDt8PoB/N8GObl6Q5zQr+LcR821LnlXBzX6sWkjg qu31m7ZLq+wsWeLodQlk/9VM4+D6GACXt5kjmCYqmHUHmawCGIBJi031Ctjjz417rHvK vjGpS/0M0XQz+W0pZwuab/fZ63v3F54+fjV3Yu2kq0jnAqvlLL38D07HjKR661r31veQ x9/fShoiWvlMrnvkvj7TJgFowqYlMFfnUntpeRlBYqZgdhCfZZaa3HOm1a4EbaiAfLc+ ATAQ== X-Gm-Message-State: AOJu0YzXpfJCferk2lXyjkJRFUmWGYzaxTuV8rYOomcWng6Ejp0Ip9tS 3cvfI7fH+ez6wR4XX6GejcDNMCegXeLBv8SizFiSjg239Pmn7aCS6JUdzL+SE4anvhJUNwUPLeM = X-Google-Smtp-Source: AGHT+IE0zWy2fXf7G3AFMCUrVT2DX7h7qU7j8TeDFsCitd2Q/jLKdGnj9QC/ZNMiA0f+O/qYkxQMdg== X-Received: by 2002:a05:6a00:2d12:b0:6e3:fe0b:527 with SMTP id fa18-20020a056a002d1200b006e3fe0b0527mr10677517pfb.30.1711019832175; Thu, 21 Mar 2024 04:17:12 -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.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:11 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:28 +0530 Subject: [PATCH v2 08/21] arm64: dts: qcom: sa8775p: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-8-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=1204; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=5meRU2YVUU23seGXMANnZfJqw+Ixz7s1OvoZwdTDBBo=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcKONAMnvopzvVDqwrjlcSLycTaFPBuNEMgK YurITVj2SeJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCgAKCRBVnxHm/pHO 9TEhCACg7twwJyGGfQKoNzi1x9qiHNI1EvP5fPdn9xN7HQUHiBIPc5K7w+NdkCMXU//B/RxhEv0 /uRaxGrIJb6Fr5fpIsm9g58zsCJlsiknrKcKChtC76JOEFDqETi/qSFJ5TUA7pIZRU02Yt9TLLB g30JnSEopDmb8o1MxBjo+cymA+PzlMd38++AusgxBZdiGgk6Egx/Z2/98qzPRaaCyaXbBKXwGNw /UCFS9rWm/L6J8qKYH5OI57OwEJcnDl4QzuLmodlLL6DNFxzptzv5eJZdfQmTRnzphJZCS7PsEJ W6mE8FTLI/IqKzDqcsaZNoPWnDcZ5vMamwr1d5Ru+DsrTMbY 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/sa8775p.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 231cea1f0fa8..31de73594839 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -3677,6 +3677,16 @@ pcie0: 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; + }; }; pcie0_phy: phy@1c04000 { @@ -3777,6 +3787,16 @@ pcie1: 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; + }; }; pcie1_phy: phy@1c14000 { From patchwork Thu Mar 21 11:16:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 782083 Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (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 E124657877 for ; Thu, 21 Mar 2024 11:24:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020263; cv=none; b=fgQzpP4VcYiTSUgrUtGUqyxB7qCKIlmHFbNQafMAnLIPSUTVPwPg+WI0yej+zwhSKoJxwkbyb9hAHHqnnbtrtbxEzBZniCKxGcgqMWvvQehTldXu9ubiLm9hCakvvqvo/c40ILX/Ra7fVeGw4OKbibgm1Qi5rKRA9qhKLzkcwLM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020263; c=relaxed/simple; bh=xm+jWg3BgMqQCkkC5ZHr8tW7UJ1z5Sx/tGZleR1ATvE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HTN23BBCAY4W1oo6GDIAmQqazzTBIIQ4xDL8Tj3e2IPX4RrCySWzUSBNj0wwj5ctGI6yb5fdRVjCkWeJLToEc6k7mDXaenpJaqjNuKmDK0pj4cBLq5gNPt3VoeNWhsaOa69unmgiSErsgLCnO7GFVx2lr+P19PNEv5fLfpUZ86o= 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=kXe2mSVA; arc=none smtp.client-ip=209.85.210.53 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kXe2mSVA" Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-6e673ffbd79so414056a34.2 for ; Thu, 21 Mar 2024 04:24:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711020261; x=1711625061; 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=OQs2ciOH27/qJex0Nmnn+loYNUnMaA6AX6ZBILiraFg=; b=kXe2mSVA+MAJReB6X8FfEx9zVMD8brwFcBLMla0do9wMcSoD2ZqIMrj6jSnlb3exWd DAT7+ZmrCYKkxp4BLcKExddF4Uiy9cNazIYP5xClYkAAHQVEtEG2bhy1YwqphoAif819 kH0FUQy1/Nt96kpQI3wQEoDXs06XWTUbAcWtO6CAQ2Fuoj/Sh0fmgWVFjl7r2c2o5Cf/ deTjkBDeZxxIlScRqZyvrnj8FlVkojrkBqzIWF3Wi2tTSxNGLMJkqkVeF8k83A8T/7jN 8Alw8+LSRG/VsF6wGyzDJScBKUzccdeDM/LNChLllnzmfSXMQQxRte1YJ2guC88hg7FW XqPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711020261; x=1711625061; 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=OQs2ciOH27/qJex0Nmnn+loYNUnMaA6AX6ZBILiraFg=; b=ar6d11tPXS+PSgSbTjujrWaoeE9lBY6Z1GI8wPTCFqmTWW6dDQlxzuCiw0G1wQ9CXr ds313C70Dx7HeRP+SZhRiii7mLygdzdhaZyeXt8d0tEpTE0mSG+8Nf2et664rV+2QuVA E+3dL2wiJQ43JzVswEUG3LUgjNzjwSSoWObHtq/LtxWl3i04qo0haC9QS9L0LSbpwcVM qLg5QL+gugPV60Ol/MJNyiU9S7jIvL1gO96DpKX5+zpGYsnUWBpszCifbnfrAKe9Z/wh ogK+r27NZxtd7WR4EHOKRtPhkdiNv+nvLg7dJgJy+pGG+5Ob/PpCmIp7XM4MCpny0pxu nIow== X-Gm-Message-State: AOJu0YyG0aRLHuS7B69qtYDG/2T/ymEu2MxHRoYLC2KIbc6lEFVVjI77 10aiRzBFmtaEEHJui23q8WGJBblEXzFqZuMpLNL9wghUW1D2u2CxYiMLrGut3KZfzGyeIM1RDUM = X-Google-Smtp-Source: AGHT+IHd9bOVmfAL6GhnFMkXfn/qEq/L4zTHm4jeKk1ql8LKHfn+bVeVVgkcnjMPV5Ys2JjlLUFbiw== X-Received: by 2002:a05:6a20:3d23:b0:1a3:8793:8840 with SMTP id y35-20020a056a203d2300b001a387938840mr4450005pzi.33.1711019836249; Thu, 21 Mar 2024 04:17:16 -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.17.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:15 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:29 +0530 Subject: [PATCH v2 09/21] arm64: dts: qcom: sc8280xp: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-9-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=3370; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=xm+jWg3BgMqQCkkC5ZHr8tW7UJ1z5Sx/tGZleR1ATvE=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcL1+Vnkfwh+YBo40ZqpcGU2fjgvQ30/12dm asb8ZOvofKJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCwAKCRBVnxHm/pHO 9TY1B/9WeLAXW+OaaT824XlTb276fkWKMEenfw0+X+0fmDRWIkEq8FN3zl2VsT4L0pc/Z+F4jPY HwNobpUhR20Vd/QsgCjO2LEMgosGWAQ3mNkraRpH64xuxh+a+EL8+GilybSRWRlds9nYBqQ4pH8 kVMAe3ozmVc8g8B/bcusILRnPMcjkQche0EV3EBlwLOaV/Z+NmZO+P3w9boTyaZl9xzrLY/s1QV M+VRQpWGdXCj/fc11xeVhPOhqVA6Rec6Ay8aU0QtUD1ImCof8C7t1Mmz2+7JnTfqJxpF627+/Z6 jxzUGCkZukPcEi+bI83OomX+XP49wxM9qD75hWNmBAE/nqoM 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 | 20 +++------ arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 50 ++++++++++++++++++++++ 2 files changed, 56 insertions(+), 14 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 15ae94c1602d..caf7dff446a6 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -731,22 +731,14 @@ &pcie4 { pinctrl-0 = <&pcie4_default>; 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>; +&pcie4_port0 { + wifi@0 { + compatible = "pci17cb,1103"; + reg = <0x10000 0x0 0x0 0x0 0x0>; - qcom,ath11k-calibration-variant = "LE_X13S"; - }; + qcom,ath11k-calibration-variant = "LE_X13S"; }; }; diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index a5b194813079..c7feebcb28b9 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"; + + pcie4_port0: 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"; + + pcie3b_port0: 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"; + + pcie3a_port0: 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"; + + pcie2b_port0: 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 { @@ -2174,6 +2214,16 @@ pcie2a: pcie@1c20000 { phy-names = "pciephy"; status = "disabled"; + + pcie2a_port0: pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie2a_phy: phy@1c24000 { From patchwork Thu Mar 21 11:16:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 781647 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 F0E6F58AC0 for ; Thu, 21 Mar 2024 11:17:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019842; cv=none; b=bWQWfpb5oQXnGfnVeJqBKwif5dya8ONzXxJ3K705fqgpG9iGLLMwbAZgnOeaRt8e/4sy4ACJdR8FodbXytkA/gnDhjq8jPY/JihoEStSl/n2WP1Z6PhdL5JvqlV4ct2Scqx0/w68YTZciiUfjR4Pn2XDEm4JPZAJ8ceMrk/m1fw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019842; c=relaxed/simple; bh=IZvlsFRd/io8/lLci8Xst/yB1RdYXUKGx4G/k54i+hs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iqssOyiPZcTwaEJxrt+oSGC6C0Y7BrNEpYylK6KnKGfbrGLBDhTkvnm61WgobUEFEQ8xjPm7WVO0YoD/DNPL1m00x2x/9LnsY7VHK0x0IRStdehfevUvz5+DBfR+jf57V6bE2HbaOVgejTp9Jxt5JQegOZlYM2/pPYY16FTcUag= 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=jbRERg36; arc=none smtp.client-ip=209.85.210.172 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jbRERg36" Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6e703e0e5deso650844b3a.3 for ; Thu, 21 Mar 2024 04:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019840; x=1711624640; 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=qeRBNhNilcculoc8WtFmkZK+yb1tJsGxMndVAL/yXVo=; b=jbRERg36C8RU39k8wzBWxlMG+MbLHQFhYvOtg953nfnrvOAnUMbq4cSgr9OGGSl4jf xQ2KIRQ3lFcw8lZNH0L3kIyV+gquq+s+R7DDDY8HROL6iPONxIJF6Sa2EYolJya7JfMX IjxvvIpfzmSaHna8AldRQAoyhWkXYym6WmelXFdtHQWeZf8mcDnAfaj122KOqGn72stc 9YAnFI88cC78tdH5BXH9wbD1dXC70ekxxmSA0xL29kL2CTytquXOHffRvst0f04uQ1wz qwUSLDIzkTPAoDk+h+6ZMKTWMEX8W67ZlkxrSGg7VeA2qcg3XgKRwJlBDmdAPaxe+o3t Rwaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019840; x=1711624640; 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=qeRBNhNilcculoc8WtFmkZK+yb1tJsGxMndVAL/yXVo=; b=lVC97JAcBXf+PM+NJjvl0PIxQG8MEfxKmfyI1NioBojj+xcB9FzGLRFHbhutyJHqR0 BBPIRZF+UES4BSzx/LkldYAeVIHhO+3ecJdEYw5m98UfXAXPkuX05j+NHKdfS+DSBPlq t6OfYt6OHqSO/NHb+pkXtdlbbuc2vFH6q4K31fmcNOyeBOWWoU7ChtVsG+ojPRzXG62w JvQt1Wg4YlyE9CmQyR8h3ID0utFFnNneyTfBRGJ8cYV2duzY4tuyjL8qwgnEGA6nTH8t 28qINJhBkqnrPqlu0cEBtNRW7Tqm90pn9/yrZzQzAYL4GuQZTSL3sJk4hmstG4n1hNxI Qvkg== X-Gm-Message-State: AOJu0YwRmROkZ+D+ajE9eNk9Y7+A/vD3LxxLywgApQWYJQ/dOCejqbYt /ltJN91dnds5InNoAee9Q/ZjAysYrHE61XxFJQFmyW9r6b3RM2oRGpCnvexbgQ== X-Google-Smtp-Source: AGHT+IEffEAigH/PN0iJa0d/yV4YXQxqT6AwF/OLWEDIyyi4+0CLO6A5MT/YUixuR9+sY8GlR0H8ug== X-Received: by 2002:a05:6a00:1783:b0:6e6:13a6:9bd8 with SMTP id s3-20020a056a00178300b006e613a69bd8mr1956235pfg.34.1711019840259; Thu, 21 Mar 2024 04:17:20 -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.17.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:19 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:30 +0530 Subject: [PATCH v2 10/21] arm64: dts: qcom: msm8998: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-10-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=963; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=IZvlsFRd/io8/lLci8Xst/yB1RdYXUKGx4G/k54i+hs=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcLJsmmf1/3whfwiEfF7DlWSN0HkR8ykSM8d 8Js69Ai596JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCwAKCRBVnxHm/pHO 9SD1CACkmq967TLg2byz+bPC1qRq5tQ5qN/x+8wAbyH2Qau2L7reKq8mbk864MkENvJK2czjMjZ 7IlV1b9CepvCAhkU0NvpYirVHypcwafP0gn2LJ34/iIBvUXZzirAQdK5tpJV4vbmXoyOcDV21fv YPmcTz5SqqRuUe1ZPIIj2OILkzhJOp9ZAxpIrNa+98F2r8OfQyjR6QPuxOy3eXDzbcCPpdnr3QE hFHOeGO+R8rjhvJhcurR6pS6C2sgS8YxWu/lOBs8lJxbM112uUt1pGm8HRDZj72vdQfUHiKE8my 0385HqAvEbij53Hp3O3juZzObI1ahRA+bq3AQpB43EtqnLvv 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/msm8998.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 4dfe2d09ac28..d795b2bbe133 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -972,6 +972,16 @@ pcie0: pcie@1c00000 { power-domains = <&gcc PCIE_0_GDSC>; iommu-map = <0x100 &anoc1_smmu 0x1480 1>; perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie_phy: phy@1c06000 { From patchwork Thu Mar 21 11:16:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 782089 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (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 3B8765FDA1 for ; Thu, 21 Mar 2024 11:17:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019846; cv=none; b=JjomanuJDSiaAnevDdkefqLdfYhaex/NENBQ2/tZJ/NRowNbY1L6WKv33ppg2vykOZxBk757Vt81r5X+SkFQMfQMO6i1fRQtXIy/ChijQLHIbMbYZg7pHNdcYCollg2ljpIgKhizCp1xGE4z4l4UPAiJXYuQTgHTa/tjE+tjQ/k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019846; c=relaxed/simple; bh=UmDY1BVPTp1/kgo+u0eHUZOrGPi6ZKwi5IzgeMVn8QQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GbtB7vt3Z7cztafYeLu6J25IYv9A8mbtC34JytPhXrqkolYH7wwxMtDcbXd5+ypzYfYKg1sJSlMkrA77kjNEA8ROL8Isq1jJxxuHkYt2SLyhbKd4EIKzjwZFT0dYvS6BrdoCo5WQxbG1ZdLPx8Tm0Ar6dPnHyMWdGZNf44DlbRM= 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=Kk+WC3Jy; arc=none smtp.client-ip=209.85.210.170 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Kk+WC3Jy" Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6e6cb0f782bso745035b3a.1 for ; Thu, 21 Mar 2024 04:17:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019844; x=1711624644; 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=QlPAp/QQeZG64P1+razPyn8LLnkmxtSTU9s11wHagNc=; b=Kk+WC3Jy5oIHWirIZ2rOb/73+Zh3pNlnsSdCRiDYS7EIzJjQ8AHcOABpMQQoUgMEGJ WxRrJqWOn9L6/7MJTId+WBmV0MOdPUIr5D8V0HuVxI5D5KMaxxsUuU5+VOdMC9l4nNjT uun2phGxO3engQ0WbBbjkyaE+52RLJxLOIuTrxUdy5KsZ1RK2kt+Z8KlsVo1BMUrFQEk F9i43J8DtDEjdt74iM+w6rTDAzbNvCnB77uiI5X2ChIuSjLToeuav11r4zQQDzehp8t8 yYIRrM14weHzb96BUqAe+uZ7Ui/5ZO0pVWfDT2NYIxXEXhc0r1LU3Hyb1dSNMpiVqjRF rh8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019844; x=1711624644; 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=QlPAp/QQeZG64P1+razPyn8LLnkmxtSTU9s11wHagNc=; b=CjEv2nGsiMiLmT7RoshIswFR+BJE24lRnS5xsDvzTrcwaTNq1TzfB+gyCg/aqRqytI KyNUfpS5PTskuCdmB2MZTXmVIygJBTQOLqKsSloSNkxOIHVbWkzas/bWe5md5+VFngc/ BeFteA+1uzvpiA0Xne8vutXpg/p4+ttDpY2N/4d9G+gGC5eONoWC0NB9DDcq2MkBKDcm BdH8rgyk33btZuo6X8mvRgkknTLrFC4OjzrJ7mVlu1WMHM8tH24cEy22lzYQstKxPnxs aCB3pv8r6S0g0uY+09NO2sbt8D+WkCfYnlE5jJA/E7WC3Z9Y43aX/Womaz1V/MG5wk6G Pacw== X-Gm-Message-State: AOJu0YxUpzoRzuS7v4+CA5wNgqw+0fzE1CXcMW6Rw4Wxcgr40NC+7Qy/ L3vx7K27h/nHMtDesVfJkpqHfBvVNMxOErX7p3t/TbslFukm6rUVtWqhbKz99Q== X-Google-Smtp-Source: AGHT+IGM6IyQwubICSVG4VjIssu++Jwb6MsLShg4SwPokzB/hmmoP+U+sHR34a8F5/TgWEOPOLifhg== X-Received: by 2002:a05:6a00:3d42:b0:6e6:b778:fb4f with SMTP id lp2-20020a056a003d4200b006e6b778fb4fmr5616215pfb.26.1711019844499; Thu, 21 Mar 2024 04:17:24 -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.17.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:24 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:31 +0530 Subject: [PATCH v2 11/21] arm64: dts: qcom: sc7280: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-11-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=896; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=UmDY1BVPTp1/kgo+u0eHUZOrGPi6ZKwi5IzgeMVn8QQ=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcL7drBwCTEJ1i/WNtp3+bDVfCHRkZUf3eau oD61ZQ0feSJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCwAKCRBVnxHm/pHO 9aJaB/sHqfjPoMHw71m0kcXY9FNpCnbyzxxjaaKQ+s/rPDNAEd0EgSQQDyjMRd9qSBb04lJo+Dq hfdTCFAWUJcxzj0gj34W3n7xnZPBBbDL97ZzI7BIV30LdYCc7TQkuZiJ6RQNuQ5R3X5R9MOuFj1 gbO4Ber6OFc20h/sKJB+s09g+I/iw0ehEGJ7RUZD+jVyfO9FNm3Ccch9sCuBTWRjYBkLHrJQliF +KmfETqoAJAKf6jGIc7IGUhFBqs7uOGEyvgBhowv7jMm+w2+LT0jGV9ocyT8n8XWMqxbO8Eg4PZ ObjYgjNvDQj7Cfqukyl2ppF60hMM1gMRW99Q8cHsB7nR/NeL 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/sc7280.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 7e7f0f0fb41b..3ed6cc50b18d 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2273,6 +2273,16 @@ pcie1: pcie@1c08000 { <0x100 &apps_smmu 0x1c81 0x1>; 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 { From patchwork Thu Mar 21 11:16:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 781646 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 57C1E5FDD1 for ; Thu, 21 Mar 2024 11:17:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019850; cv=none; b=ijsO9LbVA0XUFB601BlJlqAyuQSLXd2EJxNWjtmWY/hyhSS5lR7cUnPb2L01PiEN0qOwg2qiByoYD3lmpABsdigOxcMmN2llTkYgrljlifKsAjZRBSJXXhSE2bQFwZ2CQt7s0UfFuJsui4Cv8fElqC5cH4Ceup6uwYmUck5peaY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019850; c=relaxed/simple; bh=mSUh4v/RL+IdcdrUbUoaHaEmfRRTCNfxUzTm6/jvZZY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gNylvJWyxnquExaF9dNrRVga/ovp10yA+bxk9pH/4Cvu4cIJxDl90sx5pL4yeZtf0mlg0TJYbCiGhrqmAr87DUZKZGl1AvKIoNlhDZvtYsOkLndN+RDg9J0PgzkLcNUNGeo8IlB8XDGmj2MbXdpBghwbpySCtzG0NU/K2J/l7/A= 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=eTj+vDnq; arc=none smtp.client-ip=209.85.210.182 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eTj+vDnq" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6e6fb9a494aso711581b3a.0 for ; Thu, 21 Mar 2024 04:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019849; x=1711624649; 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=PEOq/9uGaHs+ORFcTWIE8PonAqZ/+6MtiDjpCwOLP68=; b=eTj+vDnqcfyxJazD3VvBXOZ4WzeJhszyhGVUdYhKsQoicQuJtbxcUqhCcNq+gFyW9Y Azwu9HKtz5GxvMJv7/031xCzGjoTjT0CL7hDX12YqvXYZ/Kiq0ehjz8YKn66CLVpn6hD vSdZOCf7JJKkDGTCRwoF7I8jWbU5n4eGcI6rb108cpj33uRil+cun+hdHuVaG3bXNk3Y kauccxubZmg+AsVzZOBHFr3zlmJqQwVABHSmPa+VBX57xY/yyXrF+yf4g1H9ksMAUiI+ 862cf65U11hR3BJ0DFpv0Qt6c6qDZKER7YeSVkltva0Ifn8rRwOXFOTVvzk5zzovvSsd 1SWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019849; x=1711624649; 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=PEOq/9uGaHs+ORFcTWIE8PonAqZ/+6MtiDjpCwOLP68=; b=JNpfWkgtWq2tw9+AlUxwkqoRtlxXb7H3UXtFvDHzIlw6sh7AL+nF1kgEElUiWPOQxD SvpQnLya6CHsb4hgWDiIo4OurlVRPxpF3UTFpX3IaqGSZPKZFb7bgQwsBqGfiZSRFD6o U3GAbzgg63r+Cpjtg3PYpkHtvxgVQXgtMlPD/UCfBjKwut7NsbQCM46qmRssAmJCgmk8 M4pQbLyYbMm5TEKBFkgUJJL/MSYbdlnFl3JNTdOHbpfgnIVCAR3sum8j75wLvSvjeXQh XswNHTwvZM5upzGi8lm8G5KlLFjoA4DoDINQZUcboE1CTSDoS7NYM3YRJ/+Wxj//9X/j 5jlQ== X-Gm-Message-State: AOJu0YyKdCUtr2ndoYfdNm723kRzCn4q5Ihg86jF1ZCD+p8cZ3B8NnHY 4CO/TjXcYdrwbmIe2tmWaNtMIvvmejxzYmyDILXnIf5/60QlvHlMYHIjcBMDcw== X-Google-Smtp-Source: AGHT+IGhrgPS65VX+UybTahtlEb+U5xWUT3BsBlb8cPBVFosXH0JpTMWNJ7+QB8rs/pAj8LyeDMPfQ== X-Received: by 2002:a05:6a00:6005:b0:6ea:7b38:a0fb with SMTP id fo5-20020a056a00600500b006ea7b38a0fbmr197330pfb.5.1711019848642; Thu, 21 Mar 2024 04:17:28 -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.17.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:28 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:32 +0530 Subject: [PATCH v2 12/21] arm64: dts: qcom: qcs404: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-12-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=860; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=mSUh4v/RL+IdcdrUbUoaHaEmfRRTCNfxUzTm6/jvZZY=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcMPwjDgcilCW9SfEEA5N8VeskzXhjNJyVH0 EpmyskkUUiJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXDAAKCRBVnxHm/pHO 9YSYCACaW6BUhqx6O5wM3sKih7zJxA6F5kgvCYnX1NqLN3ek3PJt+GOBSxhtUk1jTwQIkC2hiL5 u5ymkY/HKbZkO/MSfGMNyb45QezG1wUInpRrbwreZ2EVPexgaCpXJRV1ZqQetVbdHcCEOuxDvM1 E9r0FmsufXiCeVDg7h18nuOuftiiK5xms0nbvc5mdfBk36zFgR4sNSmJ+qz2F1QlHB/7xj665Fd xZRvXgRZjQ3gdHyb7xlwPMM0JDskZ4xTt1ffw7/Um1LRIvfnSkGRCoHDeuuqh4l1ZLo3ESTqOHI PAsMtHtMW6m9Xwa6Wo5Ntss7Gfywv9yGZgHAaOfxLRHbBiYH 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/qcs404.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index a05d0234f7fc..ac451f378056 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -1516,6 +1516,16 @@ pcie: pcie@10000000 { 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; + }; }; }; From patchwork Thu Mar 21 11:16:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 782084 Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (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 9959A5823A for ; Thu, 21 Mar 2024 11:24:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020252; cv=none; b=uPck71C0N51GH/6JxC6UZ2/iak1bwuqcSV4p78unkPhtZ4j/q1vPhL968VKACCv0CmLW4FbEsmN+gjQmTpDK05a/uRKU06MZmfsl24fpbKn30/V6ofyIh4KHO1mihjowkLIhtI85zxRpyfSpxXWV4mpHW0fQNhidvq5GGq6Qkvw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020252; c=relaxed/simple; bh=KMWylqW711t7MACsRbN1TvhF6nbAcTz/VLJbxkHR4gI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=f8XKe2VHHC7vIHqybFxJGnrW4KuDcq4QRR6B2sIANMkV+v8EzxkNX1kbZ13r2s93Rxtb+x4hVI1JfRtdQpb2iF13mfBs+mtnn9zriAC8m6mCaO3pMycEIzwXWHyh55yzXsWyW63x/ZJKwX+SAGijWXb6qAVgS98hkhIuWN8hd5s= 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=P+aaQwka; arc=none smtp.client-ip=209.85.210.42 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="P+aaQwka" Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-6e675db6fbaso456276a34.1 for ; Thu, 21 Mar 2024 04:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711020249; x=1711625049; 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=KYDoji15P5HsiN/P0wTyX60zAfAmG6vlj4lO2mZaCqk=; b=P+aaQwkaJ+Tp7M6wPVi9T+ocd07Q461/7i3OJDDnHKEg4RTjVaSH2Q7TSEKWtCW8/U Csyvn4wFSM0Cqk7xcHm9i5WjdK52jgZOZh103Iss84rmjozels05CDBVi9c5E728rFdu sdOx9NKgfZv1SDEaSY6/Ocw2Eihc43XGetN7T76HpPUVHexx1gVFEWNFXjhYodsV+9F2 ETYjR+Rdc78FF+sPghq0Ebnlb0gEmoJdVqXerB5FJFIvfW+dRoXNlysW+gjSDycxaTR8 orCu1+I2B/d1cIgt2GGF6YhaVNZlwEPnZVQIQVxnX5C9yOEZ+1hdiQPXLhKL2F8q6nv8 RQvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711020249; x=1711625049; 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=KYDoji15P5HsiN/P0wTyX60zAfAmG6vlj4lO2mZaCqk=; b=djmz5l1mMqhcp6zruasYqHRHNh0QlbCHZYQMcE/Ieu336k6YzFSb4U8qo10ibUs5Yx ZCSumeud9u0igZRGIAsHVubSj6lXsTuGunfC+Yf4SoQ535MfcsAn5J8t7i7BJQaV2bWM zjaLj6PP2km1WksJOXbwAONqpXvPIMti0JBD/hMqpAk4rmG5oTEefy4HOpa1lmRPrrBC mm56I0ozQfIJvNODaIG1dlxEZbJF+Od1VNFbdqXBZa5PF0lNsPgu2u3gX2YQRJGnoQaQ y+/Td+fCNatSbUEJWf7RzB6dILpqTKbltk0ikOcuP/wyBId7Gd/pRP51QiehTYG68/XO zN1Q== X-Gm-Message-State: AOJu0YyuT8mJWPrjJnPWF+8IqXnrCCowfLehqpdgwCsjfzHmcLb8IJ2S kUc0aiDgEAbvaqaBxlrOdv2Ogv+RkHLTwESnotZQ4bDWI64IDg26r4fMGrUn90ZsspTbEyt7QiU = X-Google-Smtp-Source: AGHT+IEPtkF9qX1leYPHNRDsFpttA8FXZ0PmY8cLC2e9jIid7J3TwoC8DsN/sCK7Xx/HgMkb1KyXkQ== X-Received: by 2002:a05:6a20:1582:b0:1a3:64e1:b6d with SMTP id h2-20020a056a20158200b001a364e10b6dmr10529382pzj.46.1711019852932; Thu, 21 Mar 2024 04:17:32 -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.17.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:32 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:33 +0530 Subject: [PATCH v2 13/21] arm64: dts: qcom: sc8180x: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-13-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=1867; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=KMWylqW711t7MACsRbN1TvhF6nbAcTz/VLJbxkHR4gI=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcMSC6ZcFxTragSwKQJPd9VtucfQCSDZDiMq 0b5lht1HT2JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXDAAKCRBVnxHm/pHO 9dz2B/4zFUeB8rvtM8DzqBQbkRT4yKNFxGHi9RQpnuQYpw3H0Fov8cSnLGpDWf3zAm0ABaWuQ8u NitXa72HXSjRF/bxpamNtgy8nKgiRMCDbihGnAhjE8dV4AF623fSqLdEs2lzan0FFIE0LJ3C/UC sXH/e+NA8EVwgbYBhXRcBMkV5uS8oZEV8rlnwBcTZ5gKnWoehT56HCm/wXEAJIN+4I4MefHhbcu CMgssacecJIjBQDYJIfRlogjrJ4vn619b3iS0juhFtJ9pNUb947AaKoQ+7BRo7i14Uc5b7ey67n 8f8vkhufueWHl+NKrCQbLucTx1cZgWgRvrwv20v0kpjIJGoQ 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/sc8180x.dtsi | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index 32afc78d5b76..322ead0389c9 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -1777,6 +1777,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 { @@ -1888,6 +1898,16 @@ pcie3: 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; + }; }; pcie3_phy: phy@1c0c000 { @@ -2000,6 +2020,16 @@ pcie1: 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; + }; }; pcie1_phy: phy@1c16000 { @@ -2112,6 +2142,16 @@ pcie2: pcie@1c18000 { 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@1c1c000 { From patchwork Thu Mar 21 11:16:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 782088 Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) (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 31F9260265 for ; Thu, 21 Mar 2024 11:17:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019860; cv=none; b=UN3u8C20SVkqWTXWbJfAip41q81NoeHlKtkMyNIU2ilgFmfTfCKUu3BDrPHrvwoiHjgJUWqsU2bGNESG2pE8GVCTAvveIBL+F9CD2kHKRrdsLWFjcP16Hir8v4yNgqDb4C5mftKj/vUqdcvCOcKwJvwUa3MsV1u/cKnj7KLQtz8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019860; c=relaxed/simple; bh=PLQC9/DBN4qas6Swb53wlQfRwUCpiy5/fglK2ZopRSk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=H+9obmh9buRbrGLibd/XQ5FS+u93HdWoQ+16rRQ8FgR9yurzZuIGmy7lcLflcJ7x64N0j70RvYYjo1lhPDkhsjSf1EaTDQwJxt6oomOZ0EE2VO+tTi3i3XzqLx8fagq/VI8MNIrvWxTtUOkeLqFbLPUNH6l7USUuguPmthCqDeM= 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=Cr2asNFZ; arc=none smtp.client-ip=209.85.160.48 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Cr2asNFZ" Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-221a4f9557dso509379fac.2 for ; Thu, 21 Mar 2024 04:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019857; x=1711624657; 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=7oPADRZPH7VaQaTGd/DniRVx0j2K+OVom6ZShAasHa0=; b=Cr2asNFZgyk9knwjugOyLqP1KDpm4dGdnzmd5dReg4nYLnxW6Pn4nGb5t8OVjxzXIG izvQYUWA7V7f/uE4x9uzTD6iPlAnVew0/iz2BTuhKp386th+gWcIK7SUhkzVWV82bphh A3gRE1xgztVlsXD0Q5iOyVCalfps4RJZ43uPwp2KKMucVgKNE8UsZeaypoggQo1pfruw FxzparCgvvbTwT3Ins7POxHQRcvCw4A5jL3nECRJMrxrrAZd8PE/b68gYsCItHz/M9Hx UBmQRVEv7kMeiaCdcFuqhUEY3LQl2Luzqvty7NXdrTk/sMvhb1W55JkOWeet+3DRw8of lo/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019857; x=1711624657; 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=7oPADRZPH7VaQaTGd/DniRVx0j2K+OVom6ZShAasHa0=; b=qdqolTy9+FNpK4h1u0xbsBDrcNeQJACaxEMMU1CrX0pqtBFzs5ZX5SU1mPaQi0Z3E4 +pwcMSfr/KKG9947UaudwjtoQzpbWUHCyOrxOjFZ1mbjt//1oWAW9k8FoFI12kdjkVsD l2bzEP3AI73P0KJGc5N5Bmx1sjxtO3jO3fCNPWZlgOGAr/4NNRpHNG/cH1hR86ksdCyb s8z6dTRtnsBBcCdLSP9WecF/Q2DTZAPVj6P+qr2t/n8BcANObkBMaCdcabO5pSSpUADx KEnAFvQ+SY4o1hKGtUPSvZJY1cV870YdbhX2unyASIq0RyjBAD8na8NitBaCHQrOJEpl mICQ== X-Gm-Message-State: AOJu0YwQNN2ILSnoLCU1GlljhUWyRoFhVzHZl9675cgAwn/45uN8VVJf 85+e9bnuZScNwamHLSKPEZx80Xj5I9HsPBnBJ0b7dBz55oRQb0FinNjP3KQ4Ag== X-Google-Smtp-Source: AGHT+IE07oiu4SO9weHoLK6eKb5EjV9HylwtPhlLRbiuauPEe/6YchifO/LjzBBDH9tUk6cJLTeTrg== X-Received: by 2002:a05:6870:5251:b0:222:7217:f919 with SMTP id o17-20020a056870525100b002227217f919mr1893421oai.8.1711019857096; Thu, 21 Mar 2024 04:17:37 -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.17.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:36 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:34 +0530 Subject: [PATCH v2 14/21] arm64: dts: qcom: msm8996: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-14-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=1567; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=PLQC9/DBN4qas6Swb53wlQfRwUCpiy5/fglK2ZopRSk=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcMl4yRW3+DajP+FD3q/IIE57Hp2fkCgYRjO RdkjVsVkg6JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXDAAKCRBVnxHm/pHO 9SKtCACJ0kAwZbME+l55yyPNEieKF6u05dINI35SrfhuNxgllxbQiKL+pRm3ZB2J2o9MwKHOxw5 8K9XmQzjkEz29xO9EaeQ5RIKjl/+Tx/Cc1uakEBizJujQ0636cOdE7ihu0bLxC08egvPUObHcwN Twef4fPxKMWQGcG1MhdQWXgIGJ2xYVzVPOYr3UVw4f9twFr9OWB8XNSMzKkqJisNeIEm1Dnpn2u eUQJ+jy3RqhIcy/QMRnzhocxE3j+4LjYyUTrm2A3CT9UHsuBHQuKM0X+Hlifk8QOcBSSFgRugUo LNtxtJPamoCFIUqoTuzCf1aMkvpDwOx0z4NAPLrYKB+IeuL3 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/msm8996.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 1601e46549e7..8d2cb6f41095 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1929,6 +1929,16 @@ pcie0: pcie@600000 { "cfg", "bus_master", "bus_slave"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie1: pcie@608000 { @@ -1982,6 +1992,16 @@ pcie1: pcie@608000 { "cfg", "bus_master", "bus_slave"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie2: pcie@610000 { @@ -2032,6 +2052,16 @@ pcie2: pcie@610000 { "cfg", "bus_master", "bus_slave"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; }; From patchwork Thu Mar 21 11:16:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 782081 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 E082E58AAB for ; Thu, 21 Mar 2024 11:48:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711021732; cv=none; b=Np+azyp767Zbj6uvOrIUXja2QLijr4lcBUxneDl6XomMTieSYZFr1yGktFMtml48la5pLTsDo5R967AC2VRsBIqBsYDY2aCR0Z9394pVVp89BmH+TGlYK0HHh18tI004JBK/ao7KezoeUnM44NLKtV47Cc9puvQ3Gn3mhpaIriI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711021732; c=relaxed/simple; bh=c14pcQ7llIjx8mdlZCcx/UxdVlyVw3faEieM5GK4g1Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dgwy94nP9p3V3kTAEnKsYYapG38muUmeBUeN5UIGDhvgrykNDUQOWDn1lHoTzvN4QZUM09rh3kYmSTB01cfqVNbCcU0zdibD7jUUsTNqW4tdixYpwW1M1LT+dS5tublQsKVWFITagZUe3K4/EbvJ4Lt15+ZQTVVVf8OHBcpHZf4= 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=c4phfgx6; arc=none smtp.client-ip=209.85.210.182 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="c4phfgx6" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6e6b6f86975so627005b3a.1 for ; Thu, 21 Mar 2024 04:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711021730; x=1711626530; 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=fieeCMbDbkwr4TB8UmD9bibJ0Comg/fOeaeZF9hfHUg=; b=c4phfgx6p0s78h38WbvAbpGNZ6pZ1VyMMRgU5wdm+07P2dQWQ6MS8PipDG3np3ouNq OiwGhsJpGlyhAH/DWwEY6RxedyPUuLoNYjkuyJU3ZA5ktmruTHeKy3Rq7GKFDULY89jx pnhxfP1V+9cEsa+A2k1TGIbHwxrxC7+hb7rEsesJWQQUNtV4wDl/Bz8bgTU7Kc5GYx9t 5PAh+rfgTsNzDb59wknODxd+hfiQx3dXjh+DtgbsOB49IqCoJX1XJzP8TQ9iF/LM8EpT ofLm1/xxMGOXHfeioW+rWyMx8tnUiQyOUhavGhG6F5jl7SmOECvHmYrjMbHWXiK4kpCI g1Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711021730; x=1711626530; 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=fieeCMbDbkwr4TB8UmD9bibJ0Comg/fOeaeZF9hfHUg=; b=iQryeLDGiIA3eOrJDmIQdbNhp3+v8smOiE2tB5eKXa8jUcmdg33/qqsUjVU/c6EE4D l3BBX86devUmQNkBZivUiVC3jwQaQL6zcZVcNJDBC2zKGNtftM9GpATHeZ/JNBsUBOjx zSE86hu+7keGWzS4vSUD+C1zc2BlsdwvQmkLnkDQqGq5yWGz2ODcQaEomIxIqkpMQJYf 7Ssz4n0I1Gbp6sCCvxnXLHCZdZStOZ3XSO5rAKeamaRXpBauq9dgaa0K6x+J6Cc0JEL+ +bZxchDmyZbAWtd/P7EvoyERVDqxBmUjN+efHCKyrhW/jpocS1Rfg2oFoobPiWmC6dC6 lvow== X-Gm-Message-State: AOJu0YwaBrrjmWxVDs0m9jcXuxbZWTs31DbldoVs+PldMEIwPyCp/Pvu 62sOZ3820zaFNM/k6oV5BenSaxzM0N00zEaJP4fwYe0YiF5bm19o+3NCevdmInpMOpREqxdzZ8w = X-Google-Smtp-Source: AGHT+IGxTbaq4S1vZ5iHJph2Vg3zsNE+Ti2W0flAfFr7/pds+Tq30rnkmP5QzSsgj0OPYqYEx+gS+A== X-Received: by 2002:a05:6a20:5481:b0:1a3:6faf:c0cc with SMTP id i1-20020a056a20548100b001a36fafc0ccmr1838079pzk.20.1711019861269; Thu, 21 Mar 2024 04:17:41 -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.17.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:40 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:35 +0530 Subject: [PATCH v2 15/21] arm64: dts: qcom: ipq8074: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-15-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=1264; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=c14pcQ7llIjx8mdlZCcx/UxdVlyVw3faEieM5GK4g1Y=; b=owGbwMvMwMUYOl/w2b+J574ynlZLYkj9I87juUeyJOlTUEpJ2ZUqi9jl6rdWZWyP8V9kE63Px Skob3ipk9GYhYGRi0FWTJElfamzVqPH6RtLItSnwwxiZQKZwsDFKQATObeL/TdrT9jLAs9LQkU8 GruFdRf9+5VT2W386Vrd3XO7XX/Ke8zrvsAdcmZLimi87sS5DGf+eU/bUJ7XwlanurrN+WCahZ2 eZx6PZdyak2+v/hdav9NSIPj47crN7Bt7eizvp2SE1zYsk5n7r+d08OtXWV+u5SvMMmwU0Vq/Zk mcWWmD++2MLPbk37dMZI7O2ioq6vajSDovTZol0U/bIe/m3eRV3yqDXRqD7X6nbcmZ0PlK8ZlQw DcL7iKxKZs9js068fMG/8nZbJrBlT80trZnZx2fLrqJO+y90aIVAW7V5+OnNr9Q9sty/Os7R1yB reOp7o3IaU5HU72dVXseHP9RUOYYXx76I3/xdY0LHIt6AQ== 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/ipq8074.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index e5b89753aa5c..12324841d1b0 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -864,6 +864,16 @@ IRQ_TYPE_LEVEL_HIGH>, /* int_c */ "ahb", "axi_m_sticky"; 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: pcie@20000000 { @@ -929,6 +939,16 @@ IRQ_TYPE_LEVEL_HIGH>, /* int_c */ "axi_m_sticky", "axi_s_sticky"; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; }; From patchwork Thu Mar 21 11:16:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 781645 Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) (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 4BEA760273 for ; Thu, 21 Mar 2024 11:17:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019867; cv=none; b=ZoL12///aU2WbEWdIFMT46JOi8hWDYYFSrenZqD6WLQcPk22mYBIZxATSBnuOE8/hOhQGMZmA9XqlwIodBpk4ow0AY88XI2LLsBYz8vdKTcfNlnxMWPHGDaMG6bOTkZXtrBPU6GkyWalTtr2VSC0ZyV2wIJRc7carv1PKjX602Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019867; c=relaxed/simple; bh=tlr2lasCyCa/zgi8oI+AluN7Tqvxvjw2NcUxkA1441s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UL+SwrBvJG3Ez+njWr9MXxNHULnQhwVjrh23azvx/Wivx55BhNO4us118RSWcLnBEpew3iWG+0pkKe8AOdBM+Y1Pb8rh5v2A08+/XN+uzSLgcMouqrM0yRfSXNr7CAvy13PYgiiYnZi+9T2u/SP2GusOhLiwf5nd4QBWNBFTRlQ= 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=Tw4kNxjj; arc=none smtp.client-ip=209.85.160.49 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Tw4kNxjj" Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-221e1910c3bso507749fac.1 for ; Thu, 21 Mar 2024 04:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019865; x=1711624665; 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=VOe6HqmwKhX/Vwx55bDROJwE9RkNEvw7W3i71rmfs1g=; b=Tw4kNxjjl8gBFIsboJX763cNRe003488TOIA93RB9UTWWtUVet2VpsKC1qpcsUu5KM IDVgh0VeFYXmKVPvP20ePirJNHg7kWJtiIW9/cc6O6a8FNKulwPhUaa8kcNgeZP7kLvn 0mbbD55GRdL2Kosca7ctII8CljgEFgiUw2SOKHK6xEdDlPBFjGsk+/42BBV3xfgt0oxX szDtWshIVWepuwYqEvDhaC10zfhtdx0smKgoEHFHtaBqaQ1QXUL3eb2dF47xh2PkXDrx wDs/Evut5VuAhDD6FWtc3sg4EA4S4FNpkGKFLt3VjjjlGpzPumtHc4FYR2/21RlrxCT6 cblQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019865; x=1711624665; 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=VOe6HqmwKhX/Vwx55bDROJwE9RkNEvw7W3i71rmfs1g=; b=AniXj9885ZOr2WEZy/7FW+tlVqN/3TNn0uP8p5ZfRK2g7iYySV4w5K6+sTL1s09yut 5Wa/NvhvSxXSii9Ewdn6tWlicNhscmue1PSEFpmfG7N8B5xCsyq/JvdFSAzlhmr1jG1S 2ljOJWGQaBrohi0Wk9BIL0GFdIi97D9iNoKsJVddRs33+5WQgnOIOUi3+7yFEQttnSff MMxPVniqO2jdu4UT/Nns7cKu66YXQPcuRP+npJIS7vT3txIA+dpwcDneIi17AObZHF5y ezx9GJG2JrCr4JjqCGTFp18/mUQLd+5nm8u3mD8+HqxmENqJFR8Mr++Go3+0/RZMqvAL PogQ== X-Gm-Message-State: AOJu0YwpWNIIZZZggMTSt8TM1SfQUoM/jBXHSZ7jEvpMN3vw9yrJKx+r ZZLBgP6rkAxr5mq0Ztz3JsIg4emCvq7csBJiRLxNoa1itFEGBxwmUr4jS7muMw== X-Google-Smtp-Source: AGHT+IGZRt3kuPCx1GFAQjbI+h6HVrlB16/h61EedVNecFTZDgQlCk7HjuITQyuYNMv1hHyWosn+xQ== X-Received: by 2002:a05:6871:d107:b0:229:929a:b127 with SMTP id pi7-20020a056871d10700b00229929ab127mr5284145oac.37.1711019865339; Thu, 21 Mar 2024 04:17:45 -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.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:45 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:36 +0530 Subject: [PATCH v2 16/21] arm64: dts: qcom: ipq6018: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-16-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=864; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=tlr2lasCyCa/zgi8oI+AluN7Tqvxvjw2NcUxkA1441s=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcNhJc1Bn8KeL49KiM2lfnVfLHkQjH4OTaM3 qMaeoeCuMGJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXDQAKCRBVnxHm/pHO 9a+4B/0cTPSBfqxceWlGyh67ruYuBrsLJPCj+ulDGCwQsWbAIQp+2OkA60/eCIy7fcaQT0QXwwV t7jXRsYHvJsac/43YiWJI2+egjtjSv/L1RES+ccosM37FMbSz09Wv+F06ak+d0K/5c+Ybt5/dge 2VvmDudjcJQhcllmEL5orREejaUuafroOyrk9ZYhbllgtX2duoA2cTH5iNpZFbWbogDfNLkmmnm B8UEKDeozQRMoPLbg9pPVjUdHfhe9SJL5d+OSwjJklPX/BlhR//H+3Odc85X/cbWWb7j5rdQ1IG L6CbZDfEGhSrSODEGNepktsTGATGcD27hxKzliMRDAaXACWQ 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/ipq6018.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 4e29adea570a..17ab6c475958 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -907,6 +907,16 @@ pcie0: pcie@20000000 { "axi_s_sticky"; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; }; From patchwork Thu Mar 21 11:16:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 782087 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 4BD2A604A5 for ; Thu, 21 Mar 2024 11:17:50 +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=1711019871; cv=none; b=j/zrga92sDzUgD8MVGKUr5sziJJCNwKoYMFJIb3DVwOsapXO2ke//VQ1n32Vfmaqom0MBsJ/AaNYWEVj6k1pnEbI4+UV+/gtEY2l7yNdudLckbgCTdpxpxRTRQgrhOmiglOG60WtLAx+qi2cDryezDhPtPWdGSMFR2WxC7vrllI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019871; c=relaxed/simple; bh=KjpPaq3Tdf3ZjRn5Po5VTwhcBTSqeOi7fK0s3Jjshf4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jlA4BemeECQOHwVHhx7U7knI5RLJcDbo8KOV191HzAVPlZxa9oEsU/OIahgPzumjUhDpv4kl2fDHs8ej86uhiM+rUx8u6YishLYU61WgEA98qM8NAvQ27kxq3fqIGaJX6dMtEtkE743QQcgOKWUPKCL69Wz27b5OqcuVqnBCWTM= 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=PehXj23H; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PehXj23H" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6e6082eab17so696407b3a.1 for ; Thu, 21 Mar 2024 04:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019869; x=1711624669; 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=my8DZiXu5s4dyrHMCCYGwXTqlVzaG+d45u4ZNS8yU/M=; b=PehXj23HaYYdd/NYwgGhlfcmfhsEw/Lx0Cti5Mh2vb5wRorqs4D3P/QUlGeWx+2RvE weUou7JtHaPl8+lDoiMKX3H++CCIgEKtukNygm3c+BIlQzlotIMCcoPu9BPw3Pf0g3NP TkKXGNHAYfFgj0b8FkkLK4Q/mPlAhJmUNjEPCNjx5ZIiYPkaHywv4ySD3ekPI2SfowSY pxe/V0Ably0rp+icKNXJfXyHH1WqtxZxA7xnmvmOoeVCm1yLlFKHnZlloAXlGf9fWOgW Yu5579F2LXy2qhxQknbgsRqje9r73nBsX/umQl+NDlEo2JMtXVAsmkdmNbCIymD3bk1e Tg5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019869; x=1711624669; 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=my8DZiXu5s4dyrHMCCYGwXTqlVzaG+d45u4ZNS8yU/M=; b=swQpIHylayww1Ys2djPvWT33ZLUaCfQ7Ecm5P7Nomm2Fzg/PAMlzE2Fo3bubDDYKr9 vdsKNkYetpv8C4toQdXLngZsmFakA1gIi32v4IfSu0gXbYmnqNf6dMlH83Mfo2EeuXTb XEUCLWBxa9q4X6qq8ZEk4DKROEhQCYErmJ4lc7O6SuJvWv2EoqIaqeGHVcDzNL4CX64U 1PAuFtTLBEkIFkvUHUdAdCh/QOsKIi4AikJyQ4VRJITLHxmekhz3u6P/d/EJEtuChRS8 DamldLmvyyNFarJfZ3e2paX62YOG1xT7GoEDUyN36h00VBb9Q7WEOxef4kL8IlyX5ilf rmmQ== X-Gm-Message-State: AOJu0YyHM9bdYDKqIbLqTW5F7S9l1mlFBFyvJlC28UPgkffJMJO6eN5t gJ55sI5jk4E3hy21OsoIMR+tlGCWzkwsnW6q59yvOLovlAIf0ApDYboupFbx6g== X-Google-Smtp-Source: AGHT+IGLqLpet8+ooQdKHsLib/gqP1ROWDAvkcK/wAAgdkKD1KhSiwuAZFhJf2G02D1Kp5Rbz+Y8LA== X-Received: by 2002:a05:6a00:a09:b0:6e7:936:117a with SMTP id p9-20020a056a000a0900b006e70936117amr17924945pfh.6.1711019869495; Thu, 21 Mar 2024 04:17:49 -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.17.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:49 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:37 +0530 Subject: [PATCH v2 17/21] ARM: dts: qcom: ipq8064: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-17-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=1664; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=KjpPaq3Tdf3ZjRn5Po5VTwhcBTSqeOi7fK0s3Jjshf4=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcNmMSToGQrBNnsBYz/3NjS5ZECR++qgaCku tTskx5Pk92JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXDQAKCRBVnxHm/pHO 9fEKB/9U+okU0KVTZFqjiG+rdwVIyTEjYZCjUIyS7ASChCL0M2A0NS7xTlPXD+lDeQIWbVXqgoK tzF+4skw8OdD5pnRqV0Xg5LicnD6ECRuQ5dwaztVcIKAxozaf3f1wAaPxUPDpzc9Eu9nO8rMmjQ HPlfun/n1D75HkSiguSe/oXuCpNa3mAlDh18a3gVJmvsAysaIUJU2JSSW0SMMldhjUPbQw8xWKs u2R/Hcqih8Gcj40eP36Sm5ije+h+D1OX2HbA85yyZ8BpaIpvGi+unuAXiddGI3JB48BmJXGetoC UpXRDlb1whuIxQLI/gqP2tPPoEBdg9hlVfmSEmpPynRf0ZnN 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/arm/boot/dts/qcom/qcom-ipq8064.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-ipq8064.dtsi index 2eb6758b6a3a..f128510d8445 100644 --- a/arch/arm/boot/dts/qcom/qcom-ipq8064.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-ipq8064.dtsi @@ -1121,6 +1121,16 @@ pcie0: pcie@1b500000 { status = "disabled"; perst-gpios = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie1: pcie@1b700000 { @@ -1172,6 +1182,16 @@ pcie1: pcie@1b700000 { status = "disabled"; perst-gpios = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie2: pcie@1b900000 { @@ -1223,6 +1243,16 @@ pcie2: pcie@1b900000 { status = "disabled"; perst-gpios = <&qcom_pinmux 63 GPIO_ACTIVE_LOW>; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; qsgmii_csr: syscon@1bb00000 { From patchwork Thu Mar 21 11:16:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 782082 Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com [209.85.219.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 E478F3FB2C for ; Thu, 21 Mar 2024 11:26:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020371; cv=none; b=gXEYwNq1R1oTzFKLahKYCoLLoTLWGmbqkDdJS2ZRpCA5IeosJZSANzRKEsP8K5y+OgbAEAuVOWc8DpHI4VwLIp/BCSrdfk8tp6SacnBiDyd01Lba5jw4UuTmmmAfsugzqwDPAZQ7Es3vH9bcXqsfZLQWwBY4I+czSLbkbJVSGVw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020371; c=relaxed/simple; bh=yWkuUR18jPMmj2reJbrWdgmyzSEUec2EHqek3B1pzRE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HTllrTTNBQf4xeZs6JsI/EBeM0ThLRbZE9Hhab/Reuvu6DjupfVmfwLFmfYszc91utrHdo6byUj94T69NbuMN3xAeOuimyZTcXeMu/2yluAvJXg7VJejI80nQlr7Klk/QcUmpcvq5iE1FKNnmUewI9/jhMaTvbVcIUz/eZHVrr0= 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=ItY9T3dk; arc=none smtp.client-ip=209.85.219.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ItY9T3dk" Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-dc6d8bd612dso757660276.1 for ; Thu, 21 Mar 2024 04:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711020369; x=1711625169; 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=h/SOi9VxHJtNBJHMJ34ByOBUF3g+OERNiKvM82IKoro=; b=ItY9T3dkPP2Xrjtbr7w1sRpYs5Yf/rgoiFnc30R3AnlpP4vxMbzpodanRBL1H0l4IM ocC1lWtwPrFov7ItMnmnFy8QjZ6CDbEvHKjWoOOI6S2Gk97vflnkY7tHehASS8Fy+Yz9 zl4ryXxvwM9O2e3zCcLv5HYUXwbVN2TlSmKOS5jFoKXx+f5Kd9y5a4qefZL82OeQLmgV xFedvdUIW4oByoA1IF3dCVHnOO51bO2x5ioL44yCrzYfIf2extAOK3aoA6g/MUHlJDVl 4jno04/velyQKA97VwmCIDAbEm80V+vQnHjLVc11mnRYRlWdMjgmmzOGnGqK9NVu1MH0 g+uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711020369; x=1711625169; 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=h/SOi9VxHJtNBJHMJ34ByOBUF3g+OERNiKvM82IKoro=; b=SNnqh8bP3dp+g7MBQsHTEaej4JQnKSPjFwI9rxQ2XbBQ+Oe5YXwVdaafBmtCmps8FJ eoElfOleIi7hvxl2mIGG5ChjlXQT2LI8z3M86laq0Hm0R8MkAmFsojlM58VdZ6P5oF9R +aAJIhvNtSJIgXO37uBFfWEqM0CpTmBG4s3WWTzfFTLvpLELwgEvuhNOrT1KNwTrZe/V DBx7+0ArWwbyTNVThKCLFyP1d4Rw5kgS0vzSvztthSs/gaoIhTyFV/K615bcfTVdDuOQ KUYQx377jj6hnM25HnBTzasdJT451hOJ4ReNSv3BjUy/jWuhgNKnMqVv6AENs5YXQK1t j28A== X-Gm-Message-State: AOJu0YwEnjeeBcLqs+RnapEugwmExWiIfhuaaEpyYfzLHMYJ25yuCEbo l7R3VbEfF0q5Ep6wxDH1K882I1lJJt5GbsBpUFGedGGDGdUXwIkm81iB9nXLVzk+eqceNe52yJk = X-Google-Smtp-Source: AGHT+IGy5wVwYOyJosO7SOl0XicomUu3UswJe58V9mcoFBn4JDeomKaOhMDqKzWMrI6apKRSWcaBVw== X-Received: by 2002:a05:6a20:b319:b0:1a3:3e4b:ccb4 with SMTP id ef25-20020a056a20b31900b001a33e4bccb4mr3664679pzb.62.1711019873618; Thu, 21 Mar 2024 04:17:53 -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.17.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:53 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:38 +0530 Subject: [PATCH v2 18/21] ARM: dts: qcom: ipq4019: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-18-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=907; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=yWkuUR18jPMmj2reJbrWdgmyzSEUec2EHqek3B1pzRE=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcNMBCAkRq//G1iDfV0LggacNdzW1RMW9BZA +2tMfhNK1KJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXDQAKCRBVnxHm/pHO 9TDCCACin93VyqWQgdOI9X+cDB33tWn9xCeLW1CUbpPuvh3DGm8/UDwh0TaQTU6OfvKjxnYZYMz 7UuQJgM7rb4L1l7iMYahEixO95jVIfy9xv5G91A9KJBrxDgbl+pH4asuA+yMghzQwz01fd6pe/Q iZSY8hUfvyyw/z+NwjVLW3DFGXcO+tjULJwjuyUM7V3yBhwvWr8+d22CglHhpwYkyC4GImV0Q8W dTCxMnKDuo9nDxgiegw7tNUQEVi2Ju3D3SwLObcxWg6lx9fjppwxsdgPkACZy6JKgsCV0aly8wD XaCV3+wWSy71VDLA8LeoYLRvXq2viXrpBt7bFYXs6KvOYlws 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/arm/boot/dts/qcom/qcom-ipq4019.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi index 681cb3fc8085..f09c123d9fa2 100644 --- a/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi @@ -470,6 +470,16 @@ pcie0: pcie@40000000 { "phy_ahb"; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; qpic_bam: dma-controller@7984000 { From patchwork Thu Mar 21 11:16:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 781644 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 7B4685FB81 for ; Thu, 21 Mar 2024 11:17:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019879; cv=none; b=VIY/675BEvFKYk7Ed8DSrwo63xNifoU3/dNj9GS0GmLb/7qEuFBpq5IOc39Ro9K8ISYpoULhf5vXyvpjUp8ueLQLLBrWUzlZZ7LMim1Hyw1475GbAkIO91f3NJ3tiQj+FXy/y9rBBC1DV9ekgjE9oiKe87MMXYABu7q/rcEEgSc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019879; c=relaxed/simple; bh=txKBxasirrzr4D0MifccwdFxGLZgzc3driHUspG/zXE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AtTmpPuJSTAlRSo+TcAnjxluX8VdUoRY16hRiuDOH4xs3L91ql0ipzAgtsdLfRA8f0YUgGSMa/Koqr6E2J3s1iK+EdP7Y8Nfi4GFgG2UtuFZGIEEET4SrkawlNpgYdziZo916TxgzfHMwEoJAaa6Caw9jnJlDsKvGY0b24PumCE= 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=sbqy8Mva; arc=none smtp.client-ip=209.85.210.182 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sbqy8Mva" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6e6cb0f782bso745386b3a.1 for ; Thu, 21 Mar 2024 04:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019878; x=1711624678; 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=CwWQb2wVJ/yqhRj+ZXhsK7LleZ0QdLeCzsPtWZNhY0I=; b=sbqy8MvaBAzfXNmkD3Qwab8XHLBDLz2LP8YSHnOfVswlipAQchmlxyrDA9RGKCqrEN YpYhlOV1PJTg8rF10PGEec+AAU2T5E8NY/BXA30jL453Qz0oTiure1Vum7kSgJPFOhOu abb3o8y+NQ5L+Ia8v4SYrsCgZwu6TEIBtsLpDWwTB3Rg0H4ak46EWIMDWpdyWAhO3gMk 6SlKiwCtwvKdNz9B4AcSCFPZObpcu428E2Ngs8HwPCqPYD665czwbe1IWnshe78xz93J 2anT8APkCcrdn2SG4jWflXPgquPd+FTYVk6PxGnslnDw93C0TlBoziCGWlf8riS5a2b5 a1cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019878; x=1711624678; 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=CwWQb2wVJ/yqhRj+ZXhsK7LleZ0QdLeCzsPtWZNhY0I=; b=hpKLDVaHg6sMta9N17xfDkoNvWsHb5ntbEicbnl7wdX7mK5Lbi+J99hEZkDLJDfT+b ljPyVLdCCtoo6I97DsYXb/cENms2RFDRFyjGmkLXq6G0VagUcofH0jGnPdSkUB0dpYYR Vmr6lVriIafEHZCHaVLua78WlWVwHbSjuAOgJkHTuf0O+AXxYjcYweaRekH+H3t6UK2S 5dG6XxqSeqeEek3AwLbQ6x+0AlKFF4olJvK+dnkuaX+YyxLDSVyKt7OFK5qDaEaJdLfJ Soem33K5r8g/63/nnoW0/XIOugrU52MXrByArSEp0NhsFAw4Kb6zczFcEEiNUqvYEZYp d+ow== X-Gm-Message-State: AOJu0YyCyCPnTZ+o55a3jI/02GSZuMaryV7u1xB4GuSxHMr6y+0VJ+Dw PGOZK3ROPMJ/NTvSHkqJ2milSGDExfG/Ak9lm0LaEmycvk5CwgMaT3Ib8E0VnGfQlmQVKKRi/oE = X-Google-Smtp-Source: AGHT+IFkiC8jFoHRqNloR/yzbipGq6Hi2spXDBAHQFM0t54XlfpF6Eenc4b6HhszrxEbJiCZ3my//Q== X-Received: by 2002:a05:6a00:8685:b0:6e8:5b99:8f64 with SMTP id hh5-20020a056a00868500b006e85b998f64mr3099663pfb.8.1711019877712; Thu, 21 Mar 2024 04:17:57 -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.17.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:57 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:39 +0530 Subject: [PATCH v2 19/21] ARM: dts: qcom: apq8064: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-19-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=955; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=txKBxasirrzr4D0MifccwdFxGLZgzc3driHUspG/zXE=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcNTKMazMiuUsD2/RfXWQCyqIAQ+vyqHa8/K veBvEwYid2JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXDQAKCRBVnxHm/pHO 9by1B/9W0lAn32YKBWoq2n81C3x/sYmpGXZ8X3TkQmijLwLztRg8NR+UcSAyvO4WKmb0hau72is UE+YeRoo99JTfgxs/vMohkKTbTzansYr2f0thOSaIcvDUECZnAwN2DA0YTrlRDPdww5mnW4PlyJ mSCrO1YmBWxlISUIZo5Nuvq94ianlpatjXxQdkPCMZCnO9Tiyks/SNUhG7kIIf1NoZOrIO1m07n LDpiPnW97kIwyTGRX6u1lrufcNnSgRstJJx5a5Y3P1BoJvEF4OxwQYcbxw/We2pqpwTp43Jju0P 6zm8hmI6UQ27REOlVGVOSW6+DdTTttegMwA6suiLrt0zbTE5 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/arm/boot/dts/qcom/qcom-apq8064.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi index 9a5ba978775a..dbe0ae2c8770 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi @@ -1334,6 +1334,16 @@ pcie: pcie@1b500000 { <&gcc PCIE_PHY_RESET>; reset-names = "axi", "ahb", "por", "pci", "phy"; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; hdmi: hdmi-tx@4a00000 { From patchwork Thu Mar 21 11:16:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 782086 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (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 C589758AC6 for ; Thu, 21 Mar 2024 11:18:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019885; cv=none; b=iXDlL48YxRS+dVXZ5FTKyTaF9apVFx8q4fgdGj/AWifZlnI6H+1k3XYe/ScVP9P93Rmz5RbD0Pv/Fe6jBQ4Mbth8G29SqicJHED3uZKJv8ZhQbzbYrUM/ZIinbMpd+915JZfESPB0bYO1ErPVE5CoVL5Ld3LeISAWhO8IwYSq2E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019885; c=relaxed/simple; bh=/iKUhklNtsVTlpdt2ueK7v2SeuxwCKURWlmh+eY9/Y4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bTfbSLQTMJglVckHFlrNSEuWkgfnyVtn0OLOHCdvtf44BabuBDfTO9bPnZPrXQo7uWK+Fx8EkuuTA4jWj2A4XcBQYXjBMWwIxD57m9VfmaiDb2+Qny22VeH52+XgKCg7LXFrsl7ehcJogm7IRgDUIonuu/4pBEFS5f7J/6LD+gU= 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=HwkfgSBu; arc=none smtp.client-ip=209.85.210.180 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HwkfgSBu" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6e6c0098328so645652b3a.3 for ; Thu, 21 Mar 2024 04:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019882; x=1711624682; 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=kDRo5ilU3ksVt+woAtfHQdXmIL+jybsRYN2ijwt9Zi8=; b=HwkfgSBu7qcX3w+Q9knUv8mKngcVaEk9lGT4lKMU7UWjat3to0ND9cRy8GnNIQbomV PwGAPu4YHhP+RaAONMJIUtGIMT03v+R3IoO65x+QJ6GOhKbCv8shsbNeM719FY6HjLk7 pnjK7RgmReZ0nn+envAqEorlBM6llZVei1MSqT0kvEw/JtwinuM/0t80sHlG2booQy/L eusVDqsBlbHA6zPz3lpCBF2D4omeosWAc/jWm9XA23rJMgvYcgaKG6lJChFJQ+KKzpUb SmN+UZbFxjnOadIRA2CRrCYjx9S/LhtKsrT+ugRB7ly2cXYwlJAXsZNqH24iEHt9Invb 0nOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019882; x=1711624682; 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=kDRo5ilU3ksVt+woAtfHQdXmIL+jybsRYN2ijwt9Zi8=; b=TYs2plbrG+qhgrcRiEUr+3gw1EAxDJt+NrtZqdTt2gTJpAxIkh418Ww0AElHl0PuPc a2LXz5MgdUBrXQUnyU6+8qSX4p36m6feZ39RiP8t3+iQ0EYwLFjfks8cfbB894iApmi4 drG/gV1Jr8T3pTNhkhMtmyxZTN6Jrd8FNhOnIV1FFUSOu29DhRiK5P+0XCMYRHJPpRDB UTNSHmcWdxtfW7UysjVmT7K/vcMlp5APxVOlICvTtD6r3z/W/HOR3BS8s2hS50fBScVf 8uoclvyNfZDJmtjrzQAbCK+Ji8mlTRQbEJ/++H7Q9jkJilknZRrT3MayYKzldd1y7/HB +6uA== X-Gm-Message-State: AOJu0YyEoj6BOYMQ37MGZhFxLUj/yVpROAOWD91MJoh4MaSLuPeCQJNH 6snA+sDfWRRtjOCiK0mybTB/xy3Ija5f1eWY+J6SjHnWnPYCXlOOF/NrU0IoVQ== X-Google-Smtp-Source: AGHT+IGjWkn+GHpVB3pgtGuA8ikgm8O+lkiGChIylc9BqxEHgXQ4RTyYJZaqu5CKJzpLBk5Hl+1m9g== X-Received: by 2002:a05:6a00:b95:b0:6e7:3204:d602 with SMTP id g21-20020a056a000b9500b006e73204d602mr5736965pfj.10.1711019881772; Thu, 21 Mar 2024 04:18:01 -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.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:18:01 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:40 +0530 Subject: [PATCH v2 20/21] ARM: dts: qcom: sdx55: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-20-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=895; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=/iKUhklNtsVTlpdt2ueK7v2SeuxwCKURWlmh+eY9/Y4=; b=owGbwMvMwMUYOl/w2b+J574ynlZLYkj9I84XKdR7q36j9NWwLy8PyrdPXPjFSOmp28aOq3feG 99IEI0w7mQ0ZmFg5GKQFVNkSV/qrNXocfrGkgj16TCDWJlApjBwcQrARMRt2f8KBMj826jtqfD8 vKVwrrCF3RbHqSVW4dvk/fZ9/j3hIduRV0aMx86FPl/yydhC1zplW0fWMsddvgr9c1SvFIY151+ L/deR0sL3dfHUB7b+Bzdfv/qc8dLRZya8SRyJu3m6e7z93W6k3Cn0YIp2qH3GI7/lltuytBifnF +BE/l8xJkFv3iyvzJTcek3v71qpeK1TV2CXN6vMpQ/NebtNRb101fcvIjVWGFtzV1BeSmZ/Uc6X qRe274s1r8qSXHX8+gwycLMORvit4gntbZUrJJ4FvGG1aN/1UzvpxcPcHyMk1B9bzNFedUOu0VM NiqmsgwSG1L2TeRkDoo27dIQz2Gu3LI9aW+6TKD241kvAQ== 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/arm/boot/dts/qcom/qcom-sdx55.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom/qcom-sdx55.dtsi index edc9aaf828c8..68fa5859d263 100644 --- a/arch/arm/boot/dts/qcom/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-sdx55.dtsi @@ -378,6 +378,16 @@ pcie_rc: 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; + }; }; pcie_ep: pcie-ep@1c00000 { From patchwork Thu Mar 21 11:16:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 781642 Received: from mail-il1-f174.google.com (mail-il1-f174.google.com [209.85.166.174]) (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 50D1958228 for ; Thu, 21 Mar 2024 11:23:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020232; cv=none; b=SLrTzq7h+l5H1gtNvd2CL502Rgiug7IF7wgnMr8Ou0Abvjtv/oxRR9H0rAY/rLgufip5D6mWBL7lAyHYooYbWjATDk7Yl1Yxe7FC7NabRfaogQ6jSrh0TTR/AdKj6sJwTMJAMYYOxR+9mi39l93aqffmcTjXuiuHUFXR5a6Ps7w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711020232; c=relaxed/simple; bh=KNeD+vKdGb0VsxLi94lHL3FMc2wc0erCYkHOY9W++kM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EfqWD4ZNQ+klr442I9HDo0WNokVAOpq0HCcAVyWCAzssggr5XIt+f1ONidZHHgRbqNvo7XlQbJh+IhAZjalfEqhr9UlWYeEUT32yoq+7Q0jXNmhbEsOvdMcAIFxQEj2UpIcv/DcCJaPqLG4FippDwjbtbkY29+COUJJXPsP7YSY= 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=IXganhnL; arc=none smtp.client-ip=209.85.166.174 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IXganhnL" Received: by mail-il1-f174.google.com with SMTP id e9e14a558f8ab-36699481c87so3063535ab.3 for ; Thu, 21 Mar 2024 04:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711020230; x=1711625030; 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=AdGCislf8Z9IpFRDf38hi8y6611+4ZWnhEYMybrgvL4=; b=IXganhnLioFSImkzhHL2n5o5jhoyDhu1KsWF9nc1E5Pu7wJ7YbcwuLG6XnJE7u6Tly 69HGO7B4VsnXL9LJPF0sjuIxhX6jw+Gueo3S31OH3BKa60WEw5I2hAIXWVwZ5exGBSqL jFHLFon/j7hefTqH3D2V2o+r7Z/5/g4A15EVwcX3TxnFepnufMfCY0kzc+502AabV8+y ASMz8aWug01xzrgeTfGNy0XrLX8DIuhZENKcl6jKZuG9NMiajD/QhM3v7xFAGiPyfIz5 s6436ky2TN3R5P8BiL4JO6fi2m5ggZfkwWzYmAnf9h4YXWpPGKa346Tco0gopAYrtBQG 3bkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711020230; x=1711625030; 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=AdGCislf8Z9IpFRDf38hi8y6611+4ZWnhEYMybrgvL4=; b=FRidbDa2ZoIGVevaGiVnL/SeVta11MQ1c0z8KFy1oZVUJNY3t5iLkdNhH6pkCbWAF5 IDohTa49Knmyu2To4NQUyGrSp8A5HYGWra5LIcw8hjPITSH5bgrsPTQXW5RUHIxGj+H/ Vw/em3y+BCQ0Hq8htjoE+lVqtmrLaOnFCHEAMO52ADqg9jG9+PufGMXAEyYKPShKuMBM wbmK5Wm1M4PxPgXbYGjpYe0rmcW5OoKDKmuZ14+B9IHjK5OX+5KjQO78UzmQYKWBEV0d OSazKapEjf0EX7Kpu+JXdO7FNnRsIOyudCMVZ9MVSVm1cdN8GdI61czuV4ef2yLWaKh7 oAuA== X-Gm-Message-State: AOJu0Yy51pJZX6OVdOm2neGekARGaR0QTuwwgc+yJSq4HE6S8GxOlw7j x3xGD/vJiX742IxyA1O7P3O49piF4fTghNuDxYjquGng/GzEr4We4n6dqvhsRmrqoBGn8nh+Ers = X-Google-Smtp-Source: AGHT+IF9qzDmCq6Cfjt+O35esUzJjLmKrVk8XAC3uDwrfhYsw0kCjKLisExS/p4pkJ+5NW88EKIt5g== X-Received: by 2002:a05:6a21:788b:b0:1a3:560c:15d8 with SMTP id bf11-20020a056a21788b00b001a3560c15d8mr10026041pzc.41.1711019885906; Thu, 21 Mar 2024 04:18:05 -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.18.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:18:05 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:41 +0530 Subject: [PATCH v2 21/21] arm64: dts: qcom: sm8650: Use "pcie" as the node name instead of "pci" Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-pcie-qcom-bridge-dts-v2-21-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=1097; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=KNeD+vKdGb0VsxLi94lHL3FMc2wc0erCYkHOY9W++kM=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcOt5g9OhdxNj7ZCCVnTArwicbr9rHOF6gMC qIo2lm7M7GJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXDgAKCRBVnxHm/pHO 9QmaB/0RLvPezplRmiQXA/s6eUVGa8xi/W+sbYaUbH4LZ7tzCSqnYcEF+3BQkLm7Y7NJkX5FHMX Va7jaGmDNdL9uVRyxOijf2BKPkQj3OpsKHK2G0NfnhGJd3xTUVw5xb2WYB9oHOtPua6RfcOP/1q bu3eywAhZH791vfGn7P78IoY23GhoJAO2GjVUGYiBMi/wK9VQehp+ydNZqYaUfLYXWJFvwNPV3c jCEzgpKyz8j41K8ymON5E2zX3YQKF6Co8cvd31rP2/R3LnLtalj/xVJvBOOS1JkfOGpughduZ8a 0blJ63nQSuQ4/5+jQQ+EH3kLp+GUlJjdK8kQ96ORUh3gMPti X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 Qcom SoCs doesn't support legacy PCI, but only PCIe. So use the correct node name for the controller instances. Reviewed-by: Konrad Dybcio Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8650.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi index 06d2b6432ab1..b25fefd6a786 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -2208,7 +2208,7 @@ rng: rng@10c3000 { reg = <0 0x010c3000 0 0x1000>; }; - pcie0: pci@1c00000 { + pcie0: pcie@1c00000 { device_type = "pci"; compatible = "qcom,pcie-sm8650", "qcom,pcie-sm8550"; reg = <0 0x01c00000 0 0x3000>, @@ -2337,7 +2337,7 @@ pcie0_phy: phy@1c06000 { status = "disabled"; }; - pcie1: pci@1c08000 { + pcie1: pcie@1c08000 { device_type = "pci"; compatible = "qcom,pcie-sm8650", "qcom,pcie-sm8550"; reg = <0 0x01c08000 0 0x3000>,