[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250829082021.49-1-zhangsenchuan@eswincomputing.com>
Date: Fri, 29 Aug 2025 16:20:21 +0800
From: zhangsenchuan@...incomputing.com
To: bhelgaas@...gle.com,
lpieralisi@...nel.org,
kwilczynski@...nel.org,
mani@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
linux-pci@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
p.zabel@...gutronix.de,
johan+linaro@...nel.org,
quic_schintav@...cinc.com,
shradha.t@...sung.com,
cassel@...nel.org,
thippeswamy.havalige@....com,
mayank.rana@....qualcomm.com,
inochiama@...il.com
Cc: ningyu@...incomputing.com,
linmin@...incomputing.com,
pinkesh.vaghela@...fochips.com,
Senchuan Zhang <zhangsenchuan@...incomputing.com>
Subject: [PATCH v2 0/2] Add driver support for Eswin EIC7700 SoC PCIe controller
From: Senchuan Zhang <zhangsenchuan@...incomputing.com>
This series depends on the vendor prefix [1] and config option patch [2].
[1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20250825&id=ac29e4487aa20a21b7c3facbd1f14f5093835dc9
[2] https://lore.kernel.org/all/20250825132427.1618089-3-pinkesh.vaghela@einfochips.com/
Changes in v2:
- Updates: eswin,eic7700-pcie.yaml
- Optimize the naming of "clock-names" and "reset-names".
- Add a reference to "$ref: /schemas/pci/pci-host-bridge.yaml#".
(The name of the reset attribute in the "snps,dw-pcie-common.yaml"
file is different from our reset attribute and "snps,dw-pcie.yaml"
file cannot be directly referenced)
- Follow DTS coding style to optimize yaml attributes.
- Remove status = "disabled" from yaml.
- Updates: pcie-eic7700.c
- Remove unnecessary imported header files.
- Use dev_err instead of pr_err and remove the WARN_ON function.
- The eswin_evb_socket_power_on function is removed and not supported.
- The eswin_pcie_remove function is placed after the probe function.
- Optimize function alignment.
- Manage the clock using the devm_clk_bulk_get_all_enabled function.
- Handle the release of resources after the dw_pcie_host_init function
call fails.
- Remove the dev_dbg function and remove __exit_p.
- Add support for the system pm function.
- Link to V1: https://lore.kernel.org/all/20250516094057.1300-1-zhangsenchuan@eswincomputing.com/
Senchuan Zhang (2):
dt-bindings: PCI: eic7700: Add Eswin eic7700 PCIe host controller
PCI: eic7700: Add Eswin eic7700 PCIe host controller driver
.../bindings/pci/eswin,eic7700-pcie.yaml | 142 +++++++
drivers/pci/controller/dwc/Kconfig | 12 +
drivers/pci/controller/dwc/Makefile | 1 +
drivers/pci/controller/dwc/pcie-eic7700.c | 350 ++++++++++++++++++
4 files changed, 505 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pci/eswin,eic7700-pcie.yaml
create mode 100644 drivers/pci/controller/dwc/pcie-eic7700.c
--
2.25.1
Powered by blists - more mailing lists