From patchwork Thu Mar 21 14:55:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 781555 Delivered-To: patch@linaro.org Received: by 2002:adf:cf01:0:b0:33e:7753:30bd with SMTP id o1csp872619wrj; Thu, 21 Mar 2024 07:56:46 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXaMGXzpMfnO97bJR9VANjBl1ZRdj+VCN51HJ4o5vtLLEbwLNreWpyP+cP3GdQ1YO889VyPa7142HszEcFc3VKA X-Google-Smtp-Source: AGHT+IGoCgyXbBVLldsREZdYue2VuOhARnv8hTrU+D4LT5APhLnzm1zcnL9QVjXR8Pi81MCWZE0h X-Received: by 2002:adf:e383:0:b0:33d:a2f7:ab33 with SMTP id e3-20020adfe383000000b0033da2f7ab33mr13832878wrm.55.1711033006519; Thu, 21 Mar 2024 07:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711033006; cv=none; d=google.com; s=arc-20160816; b=FuSB03qJU86XizqO5PvmjoJFBfq+GnCG8CiE/19o2ZOqaDGFgXa2dW2hQdJz+7pe99 zF2md6jChNqwixQg09ujC+7jwMhGQMhsfvHgsFtEprrE7yXubVcpv6AfiI9yGI21j728 8+Jz5t7bKpIhsP7tEI8lKdpaTMby2YIvLpf4+d6QC7sVg0OUrimSRHwptTWvSb2mFg3f rVSM9pB9zpm9ztbCdSme04dJ2slIOMEv1V0/qUUS8z6ZKGwPX1gFqH90R2n0+qL7v9GH dzMWC9Oe72CGKISJe1pvPZYGka4mjurhyPdqSCebxVPkKO1pLs0w5RMpyb4NQfdpf0kd plLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8wps8uv/k5UQVBa/I0VqzJT2tx2q5k9BLdfIs1HgCOM=; fh=WJZelecVwJYi3XoomUSIfm84sWVa8M+dwDiKdtbDIHo=; b=U7NyYYlM9cQZ+4TQEXd0DZSCHVj2ld6yHJEJhQ4Mc5GxtS9RWZlNOn7KzvAXBitiek SOcRoX8XBfCTW/oSAot+3EZx2KA7dCtjLGvkpoI1qa5TXIsZ4sHwGsBJm+CP4pPm9kz/ ktRtjVb2vs+a7wk1GRfVqUhR4XT8t9+luroeY1QTiM/l2VfhR0mWBrvVPUzm55vn8c5/ dvkFCKrb6w8283akuRQPqBEQp5WYhm6BFq7ce48cTg6coYlILkhzHjF0ucbwOxuwVqFf zjU3t/Ag6S2nVy7w6K7yP4XJTykKBmOr6GzvAuTQJaplEJgdaqwOYzPE1/Ffjs95tIt3 HIWA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XaS1nX8Z; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id i16-20020adffdd0000000b0033e7a7db4d7si8471899wrs.1047.2024.03.21.07.56.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 07:56:46 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XaS1nX8Z; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 00315880F8; Thu, 21 Mar 2024 15:56:18 +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="XaS1nX8Z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A9DB9880FC; Thu, 21 Mar 2024 15:56:17 +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,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (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 A6D7F880FE for ; Thu, 21 Mar 2024 15:56:14 +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=sumit.garg@linaro.org Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1e00b1c2684so8280855ad.0 for ; Thu, 21 Mar 2024 07:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711032973; x=1711637773; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8wps8uv/k5UQVBa/I0VqzJT2tx2q5k9BLdfIs1HgCOM=; b=XaS1nX8Zp4bHnKIx6V9c6Y6/2S4rspC4ePp4eGeuvxHOc/BPJe6EqylHtDsS1CSUXJ IzSB+whIGdK0FNUUCGnsHcUne9BF52QXCI6cKRgt4Rf6aQXUtbAlAgLu5LtekuzsTkrg kfzqInLIXHO7UUJh+IWb2UbAUdIPvW29zLVeOZ/F5MQb5Ay1MpRZCvWsgynmJE2JwthR wrVgRL9lgzGIEDb8cOmzBPxrC+y1kGIAM/sFBaZpA0D1eAKiKlAOgHRVlMx1aRlnEN1F fOVj4m0oYmxpByaeazEOoDSC6yFte47Dw8jYsraA8RRONdRG2wNDr06RVWMNVIlJ6IMp AisA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711032973; x=1711637773; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8wps8uv/k5UQVBa/I0VqzJT2tx2q5k9BLdfIs1HgCOM=; b=s3CybFHywxLbpmXcNp5RaXrfrRs1SYGleD0EmL6qST9UKnEluiB7TdMyI0ff+qpsqf zUyn2+6rIIhPVYSSdr3ItZWaVBonOouHQT1T10UGcR/N453Hlz8/cTxsanqGn6sPEvIq cFcd0l6AxZqzSUN23BQuWVTHcwFeRXHVtPWJoXD/5l0szz1XvciSTJC2Cn0/PsZseiLb r+esxfiE96Hebc0Lnj3Iq42FuUyRiaSe3NwghRoJpwjiTHcO8VSOTvy58y86BX0mc5rV 4jtbX8lhYsvqSEapOXL6J8vH7kWy29qNyvjD2GnivM+zJ93Yq+nxo0BdNecyvbmzYt67 43jg== X-Gm-Message-State: AOJu0YxDcb5Oyrusn5SJvxg/oOhM8lUcKsBuwSSzi1y1ENGjnSJ6RlF7 u5m5kWIeGF2YYve5mtarpOj0CrbH89ETAd5PAMog3lOuVaGZI5jvKV6c4Z1v2fohyIYDdOAmjLR F X-Received: by 2002:a17:902:a385:b0:1db:f910:98a9 with SMTP id x5-20020a170902a38500b001dbf91098a9mr21679003pla.56.1711032972974; Thu, 21 Mar 2024 07:56:12 -0700 (PDT) Received: from sumit-X1.. ([223.178.211.159]) by smtp.gmail.com with ESMTPSA id j9-20020a170902da8900b001dddb014624sm11751668plx.54.2024.03.21.07.56.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 07:56:12 -0700 (PDT) From: Sumit Garg To: u-boot@lists.denx.de Cc: trini@konsulko.com, tharvey@gateworks.com, marcel.ziswiler@toradex.com, francesco@dolcini.it, lukma@denx.de, seanga2@gmail.com, jh80.chung@samsung.com, sjg@chromium.org, festevam@denx.de, andrejs.cainikovs@toradex.com, peng.fan@nxp.com, aford173@gmail.com, marex@denx.de, ilias.apalodimas@linaro.org, sahaj.sarup@linaro.org, fathi.boudra@linaro.org, remi.duraffort@linaro.org, daniel.thompson@linaro.org, pbrobinson@gmail.com, Sumit Garg Subject: [PATCH v4 08/11] pcie_imx: Update header to describe it as a legacy driver Date: Thu, 21 Mar 2024 20:25:04 +0530 Message-Id: <20240321145507.619448-9-sumit.garg@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240321145507.619448-1-sumit.garg@linaro.org> References: <20240321145507.619448-1-sumit.garg@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Since now we have the modern pcie_dw_imx.c driver for iMX SoCs, encourage people to switch to that for any further new iMX SoC support or even for the older iMX6 SoCs too. Suggested-by: Peter Robinson Signed-off-by: Sumit Garg Reviewed-by: Marek Vasut --- drivers/pci/pcie_imx.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/pcie_imx.c index 4a18b0e0910..78f2c7d6bcd 100644 --- a/drivers/pci/pcie_imx.c +++ b/drivers/pci/pcie_imx.c @@ -7,6 +7,14 @@ * Based on upstream Linux kernel driver: * pci-imx6.c: Sean Cross * pcie-designware.c: Jingoo Han + * + * This is a legacy PCIe iMX driver kept to support older iMX6 SoCs. It is + * rather tied to quite old port of pcie-designware driver from Linux which + * suffices only iMX6 specific needs. But now we have modern PCIe iMX driver + * (drivers/pci/pcie_dw_imx.c) utilizing all the common DWC specific bits from + * (drivers/pci/pcie_dw_common.*). So you are encouraged to add any further iMX + * SoC support there or even better if you posses older iMX6 SoCs then switch + * those too in order to have a single modern PCIe iMX driver. */ #include