[PATCH 00/10] Add PCIe support for Tesla FSD SoC

Shradha Todi shradha.t at samsung.com
Sun May 18 12:31:42 PDT 2025


FSD platform has three instances of DesignWare based PCIe IP,
one is in FSYS0 block and other two in FSYS1 block.
This patch series add required DT binding, DT file modifications,
Controller driver support and PHY driver support for the same.

To keep single PCIe controller driver for all Samsung
manufactured SoC, we have made changes to Exynos file to extend
support for FSD platform and other Samsung manufactured SoCs which
shall be upstreamed soon.

First a v1 version was posted as a separate driver file:
https://lore.kernel.org/lkml/20221121105210.68596-1-shradha.t@samsung.com/
This was rejected and request was made to add the support in exynos file
itself.

Then another patchset was posted to refactor existing exynos file:
https://lore.kernel.org/lkml/649a8d88-0504-5aa9-d167-d25d394f3f26@linaro.org/T/
This requested some major changes

Taking both these reviews into consideration, I have posted a fresh
patchset where both changes to exynos framework and addition of new FSD
support is present. This is why not considering it to be v2 of either
patchset.

Currently the DT node is not added in this patchset and will send it
in the devicetree mailing list post this.

Shradha Todi (10):
  PCI: exynos: Change macro names to exynos specific
  PCI: exynos: Remove unused MACROs in exynos PCI file
  PCI: exynos: Reorder MACROs to maintain consistency
  PCI: exynos: Add platform device private data
  PCI: exynos: Add structure to hold resource operations
  dt-bindings: PCI: Add bindings support for Tesla FSD SoC
  dt-bindings: phy: Add PHY bindings support for FSD SoC
  phy: exynos: Add PCIe PHY support for FSD SoC
  PCI: exynos: Add support for Tesla FSD SoC
  misc: pci_endpoint_test: Add driver data for FSD PCIe controllers

 .../bindings/pci/samsung,exynos-pcie-ep.yaml  |  66 ++
 .../bindings/pci/samsung,exynos-pcie.yaml     | 199 +++---
 .../bindings/phy/samsung,exynos-pcie-phy.yaml |   8 +-
 drivers/misc/pci_endpoint_test.c              |   3 +
 drivers/pci/controller/dwc/pci-exynos.c       | 569 +++++++++++++++---
 drivers/phy/samsung/phy-exynos-pcie.c         | 357 ++++++++++-
 include/linux/pci_ids.h                       |   2 +
 7 files changed, 1043 insertions(+), 161 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pci/samsung,exynos-pcie-ep.yaml

-- 
2.49.0




More information about the linux-arm-kernel mailing list