diff mbox series

[v4,08/11] pcie_imx: Update header to describe it as a legacy driver

Message ID 20240321145507.619448-9-sumit.garg@linaro.org
State Accepted
Commit 4b73ac9674230598e716bdbfafa8b8fa00463e08
Headers show
Series imx8mp: Enable PCIe/NVMe support | expand

Commit Message

Sumit Garg March 21, 2024, 2:55 p.m. UTC
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 <pbrobinson@gmail.com>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
---
 drivers/pci/pcie_imx.c | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Marek Vasut March 21, 2024, 4:09 p.m. UTC | #1
On 3/21/24 3:55 PM, Sumit Garg wrote:
> 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 <pbrobinson@gmail.com>
> Signed-off-by: Sumit Garg <sumit.garg@linaro.org>

Reviewed-by: Marek Vasut <marex@denx.de>
diff mbox series

Patch

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 <xobs@kosagi.com>
  * pcie-designware.c:	Jingoo Han <jg1.han@samsung.com>
+ *
+ * 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 <common.h>