Message ID | 20241125-topic-pcie-controller-v1-0-45c20070dd53@linaro.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:688e:0:b0:382:43a8:7b94 with SMTP id h14csp1079885wru; Mon, 25 Nov 2024 01:46:23 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVPeY2STh7EMYj+C/a28gqonig7uSBt/U2GHV0ikCKkcMbETjgjjtU0hCxcuibR8kA7ZSp2Vw==@linaro.org X-Google-Smtp-Source: AGHT+IF19stwFI+mtaMjfOLZjMSG0xu/an6LmUzY48dxu8XjulMYzrUjbCMnfBX+HL61I1Qf5c0B X-Received: by 2002:a17:907:ab5:b0:a9e:b2da:b4a3 with SMTP id a640c23a62f3a-aa509bc13ffmr887255766b.42.1732527983268; Mon, 25 Nov 2024 01:46:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732527983; cv=none; d=google.com; s=arc-20240605; b=eHwT+n+tBoLZB6Owg2wmrxw3/KOkSKgTfQfLo1KMNQVbFflRacVoLh/JfWNsxQt6g2 hPv9YqkMHK819un7aVd8cIad7WaO3MGgpNa/mlVdhSIeQcP54z/GA7qTu0LJctG4jcdz Ww8PNLE2mhltRDhPO8PbbvEmlW6aD53a4Mz5B6V47uikw7sK1YCSKEDX6px+Sq87X4Gg 4QPHVbL0fdaKRZvDorEnWUaLZCQdU70+f/cndbJdU33qFrtEQeg2rnmcnDgS2SELX2N6 6BJr/XYXcUyTa5IlAWTcH+plmUZupQXOz8fmBQ5MSN9ctn1AjJTHIljBGv6iKS9zKlcH ifrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:content-transfer-encoding :mime-version:message-id:date:subject:from:dkim-signature; bh=JyKxS+hLgYzISS3761MGPAZ7z6zzltfIEZhEborCt3E=; fh=tE1xhi0v0yXDt7RqLFJ0/ni7IsIMNLpnCtLFnAnuM1I=; b=g4V0hkxZYAcMZ4+KwB2yjRn+BcfdqLI56xzhw72Y2BIM7gUSSAHtYrrpEX9EgJ9T2l w2QLhACwq+8skpT6Ek938aaotA1+LO4nXRcrsezPjz17Atjd9eYNYx9GCA55N+oeshra xAuUUi2saXQB99TcPyskd0PuLjLXAjzvDorb/yGWYxH26Pw/VLTnUFXOCLsnIuz+8hgK c+IifFzLnVSoLDDiRUbEnEOVsO7guTbpWDZP9KFJN/r4TICdpMP74oSqyxeB347q1Dxn dcsEAPGeabvnNjlL7p2tV+Jm4wt2nPt1JHf1tJqrIFHI4HrrDWXSjNVhXV0sliKClJQh PlUQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dJSQC/Tl"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id a640c23a62f3a-aa53d148a51si228366666b.380.2024.11.25.01.46.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2024 01:46:23 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dJSQC/Tl"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2521C89A0C; Mon, 25 Nov 2024 10:46:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="dJSQC/Tl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1C82289A17; Mon, 25 Nov 2024 10:46:21 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 174348965A for <u-boot@lists.denx.de>; Mon, 25 Nov 2024 10:46:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=neil.armstrong@linaro.org Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3823e45339bso3155132f8f.0 for <u-boot@lists.denx.de>; Mon, 25 Nov 2024 01:46:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732527978; x=1733132778; darn=lists.denx.de; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=JyKxS+hLgYzISS3761MGPAZ7z6zzltfIEZhEborCt3E=; b=dJSQC/Tl+hcTwQHeAdNPDSeMOMLpDMBVbbjrOc0LceaFCUV/ngKhOT8iTXFWBrCLYB pHM1/CdiU/pnE2cjV22v7w8RGDnFAZfakZwyGPMQrzDVlGsz1EOrQuvm+/iGUyoyrok1 EzNREkg+ovBnbpxc/e9slB/KEyWUoLesxBNtNVLvf6EjW2yme2zqbDRjIEbdhZsEkgMi vrhJk6oWw/odi11FV2o5bmDCkG9bnVUMO74X4aP3fHb6ENJJo735MYFERRFf9b4DW3fC WMKHlL94rb0QCBsFktk5nQ0SYGjos3w3/bLhEK8oeux5k3SiwUofNxY+xRRWwiEP0Iwq OFVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732527978; x=1733132778; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JyKxS+hLgYzISS3761MGPAZ7z6zzltfIEZhEborCt3E=; b=G4XiL+gZILWPAyuRlH1YCw8fQTHOCLx8EEz1MV4W4ruMxOMlm6EVojzE/gUmBKuxCj vaxi3MGy62v6fNu9nG2l8s7dusrVX9rVsLUtOent205wZMvYlsC8kl78awo1FJC5Pn5Y 7Sc+27nM+/lQ1vmP7hJMDR2/Tw4pQB70+YTs/hfba+EBlbkW2mNgdwJDQo0VyAfyGMTF GdxG8nMVTWUDK4vPuG9IBaCO/GE4bVplpmadQIqZXzepDSqTF29SOz26BudhbcSeLQkn XzCP79qPXTa5hcivVzMS34N/YukZ79YjnokyHKjwzbilWGc0SQGc28i2W4/RoVoQc2rF dUyg== X-Gm-Message-State: AOJu0YxzB6xlVOed7E0yZogbdAczhC+j4F/Oh5pKc9MhVHVegXLIyLLR pQoeQcHM+9Iw6iwWIgIIfzkAxE0Oy5g9iph8fhp17/3oG9Gg1YGOZZytkncYDBI= X-Gm-Gg: ASbGnctoApQFJYp5UiZOLVe4OOhT0mu2bSaoBRT32LSDD18iRna/2L3aucj5gZ5oyVh K4hLHQ5eg3bPCJphJzgHxdwUmElXbsBmD0nWcRKxOJJKKeqfK+QPri0dhoH8Bj8JMxkiguuPr1K q5EKYtVbnrlPM129WkBDPa+dkExl7DkzPO0fvG2KCpXqm1ODK7GNUVlwEhHJPA7BLSLKl7j0A5F m5O7CmB+CB7r+dxtaimp0+5GZZug2M8k7IpND7li1shzAa4rznNXmma8dBsY9w66YAGgeg= X-Received: by 2002:a5d:64e8:0:b0:382:3894:3479 with SMTP id ffacd0b85a97d-38260bcb9f3mr9805034f8f.41.1732527978581; Mon, 25 Nov 2024 01:46:18 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fb271ffsm9804590f8f.53.2024.11.25.01.46.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2024 01:46:18 -0800 (PST) From: Neil Armstrong <neil.armstrong@linaro.org> Subject: [PATCH 0/2] pci: Add support for Qualcomm PCIe controller Date: Mon, 25 Nov 2024 10:46:15 +0100 Message-Id: <20241125-topic-pcie-controller-v1-0-45c20070dd53@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAGdHRGcC/x2MQQqAMAzAviI9W9imXvyKeNDaaUG20Q0RxL87P IaQPJBZhTOMzQPKl2SJoYJtG6BjCTujbJXBGddb6wYsMQlhImGkGIrG82RF8lVas/ph7aC2Sdn L/X+n+X0/bj6mgmcAAAA= X-Change-ID: 20241125-topic-pcie-controller-cf11210bf5b3 To: Tom Rini <trini@konsulko.com>, Caleb Connolly <caleb.connolly@linaro.org>, Sumit Garg <sumit.garg@linaro.org> Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io, Neil Armstrong <neil.armstrong@linaro.org> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=883; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=Ms54ZhaKqTJn9UDj6cizrIZJTKnuVFsIYiXUp6/W3Vo=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBnREdoQDtzWGj4z1lXJzpVLVHJ9HooOKUdp7M837t7 /TaMj6KJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZ0RHaAAKCRB33NvayMhJ0TQdD/ 9vbZqm/rLsAQ0aVrr688vjnl8ZN6xY8tMbjfbYGSlRjXSvgH8nLYuVXmlgYfiRaGQ8vDz2Eo1N6gwG BLoHQUL3wCU9hhTVVCoKyg9uA6tCRWlElrhMYM6NW4wGzgmHYkPGchic2EoZ7OByDfIxK87KLEP5Rg lrcGuYIMyI7MnZJVekKPVOtbGPXF6OzxT7lcaNr5Qhx98VM1O+tBnOodHp/ygQl4y+ioxND0Y0oPLX SVwHfLhUhsRygzF/UztDu3bK91RoWHoxYuPl13T5nsmokjuCt62h6JOtjx4Hs1SrB711wyJe+ANTxX tV9a6iKfoEWr6MMrZN/xJudz+vxFY9I1FBRlLVcOJmaHMmCtpTuxF5qJTCqFy/ahzIAAfGy9juvDJJ b7B5fr9o7DyizHLObDp6BWQDcjDt5uEnyFl9nSAYBNVwrf8mQF3hqC7r0UZmI8cKHlYYS23FIPrw+y 2/ORjvEZ7QiPsVav72cbBptwIQ0w7kKpC4qRMVXyO/vtFIc+1mXJ3wtmxmw03Hz/7kfQPTX2pIDyTv F+4Q07FR9vgAin42fA0WNK5zpj1RBEnuGOEUHPJMaxoC8+RSBqvGi6d04N6RK0ETDUnzUu8E9nDdtr o0YRwwwaIJGanJrCaGCdRnmcba5tx2+Ueae5j4LRvIJ4s05RBUx5rucRLzUA== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
pci: Add support for Qualcomm PCIe controller
|
expand
|
Add support for the DWC PCIe controllers found on the Qualcomm SoCs, it requires introducing pcie_dw_find_capability() to properly configure the Host controller capabilities. Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> --- Neil Armstrong (2): pci: pcie_dw_common: introduce pcie_dw_find_capability() pci: Add support for Qualcomm PCIe controller drivers/pci/Kconfig | 8 + drivers/pci/Makefile | 1 + drivers/pci/pcie_dw_common.c | 42 ++++ drivers/pci/pcie_dw_common.h | 2 + drivers/pci/pcie_dw_qcom.c | 571 +++++++++++++++++++++++++++++++++++++++++++ include/pci.h | 4 + 6 files changed, 628 insertions(+) --- base-commit: 7fe55182d9263a62e18b450c97bdf0b8031e5667 change-id: 20241125-topic-pcie-controller-cf11210bf5b3 Best regards,