[PATCH v4 0/3] Visconti: Add Toshiba Visconti PCIe host controller driver

From: Nobuhiro Iwamatsu
Date: Tue Jun 29 2021 - 19:50:58 EST


Hi,

This series is the PCIe driver for Toshiba's ARM SoC, Visconti[0].
This provides DT binding documentation, device driver, MAINTAINER files.
This patch series is v4, and the updating record of each file is below:

dt-bindings: pci: Add DT binding for Toshiba Visconti PCIe controller
v3 -> v4:
- Changed the redundant clock name.
v2 -> v3:
- No update.
v1 -> v2:
- Remove white space.
- Drop num-viewport and bus-range from required.
- Drop status line from example.
- Drop bus-range from required.
- Removed lines defined in pci-bus.yaml from required.

PCI: visconti: Add Toshiba Visconti PCIe host controller driver
v3 -> v4:
- Change variable from pci_addr to cpu_addr in visconti_pcie_cpu_addr_fixup().
- Change the calculation method of CPU addres from subtraction to mask, and
add comment.
- Drop dma_set_mask_and_coherent().
- Drop set MAX_MSI_IRQS.
- Drop dev_dbg for Link speed.
- Use use the dev_err_probe() to handle the devm_clk_get() failed.
- Changed the redundant clock name.
v2 -> v3:
- Update subject.
- Wrap description in 75 columns.
- Change config name to PCIE_VISCONTI_HOST.
- Update Kconfig text.
- Drop empty lines.
- Adjusted to 80 columns.
- Drop inline from functions for register access.
- Changed function name from visconti_pcie_check_link_status to
visconti_pcie_link_up.
- Update to using dw_pcie_host_init().
- Reorder these in the order of use in visconti_pcie_establish_link().
- Rewrite visconti_pcie_host_init() without dw_pcie_setup_rc().
- Change function name from visconti_device_turnon() to
visconti_pcie_power_on().
- Unify formats such as dev_err().
- Drop error label in visconti_add_pcie_port().
v1 -> v2:
- Fix typo in commit message.
- Drop "depends on OF && HAS_IOMEM" from Kconfig.
- Stop using the pointer of struct dw_pcie.
- Use _relaxed variant.
- Drop dw_pcie_wait_for_link.
- Drop dbi resource processing.
- Drop MSI IRQ initialization processing.

MAINTAINERS: Add entries for Toshiba Visconti PCIe controller
v3 -> v4:
- No update.
v2 -> v3:
- No update.
v1 -> v2:
- No update.

Best regards,
Nobuhiro

Nobuhiro Iwamatsu (3):
dt-bindings: pci: Add DT binding for Toshiba Visconti PCIe controller
PCI: visconti: Add Toshiba Visconti PCIe host controller driver
MAINTAINERS: Add entries for Toshiba Visconti PCIe controller

.../bindings/pci/toshiba,visconti-pcie.yaml | 110 ++++++
MAINTAINERS | 2 +
drivers/pci/controller/dwc/Kconfig | 9 +
drivers/pci/controller/dwc/Makefile | 1 +
drivers/pci/controller/dwc/pcie-visconti.c | 360 ++++++++++++++++++
5 files changed, 482 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pci/toshiba,visconti-pcie.yaml
create mode 100644 drivers/pci/controller/dwc/pcie-visconti.c

--
2.32.0