Skip to content

R-Car Gen2 PCIe host driver

Bjorn Helgaas linux-arm-kernel linux-devicetree linux-pci linux-sh 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest posting 2/20 of 3 patches 0 repliesNew
  2. v8 posting 1/20 of 3 patches 0 repliesSuperseded

Patches in v8 posting 2/2 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.

Read the v8 thread

Cover letter [PATCH v8 0/3] R-Car Gen2 PCIe host driver
Quoted 49 lines · Phil Edworthy

This is version 8 of a PCIe Host driver for the R-Car Gen2 devices, i.e. R-Car H2 (r8a7790) and R-Car M2 (r8a7791).

v8:
- Platform changes removed from this patch set
- Moved header file contents into c file
- Formatting cleaned up
- Remove bus/dev/func range checks for config access
- Add comment about config access serialization
- Made rcar_pcie_setup_window() return void as no errors possible
- Remove unused register definitions
- Removed __init markers to fix section mismatches
- Add explicit bus number range
- Get the root bus nr from config writes instead of sys->busnr
- Use PCI domains
- Removed unused variable in rcar_msi_free()
- Split interrupt bindings into separate cells

v7:
- Change binding description of clocks to 'clock specifiers'

v6:
- Correct DT bindings description for reg and clocks
- Split device and board DT changes
- Add shmobile to subject for shmobile DT patches
- Don't check MSI irq number is valid, as upper level checks this
- Change "Unexpected MSI" msg to debug level
- Reword "Unexpected MSI" comment so that it's one line
- Remove patch that adds HAVE_ARM_ARCH_TIMER to koelsch defconfig as not needed

v5:
- Use module_platform_driver instead of subsys_initcall
- Use the of_device_id data field for HW init function
- Init hw_pci struct in declaration
- Renesas SoC compatible string has peripheral before device name
- Add PCIe bus clock reference
- Use dma-ranges property to specify inbound memory regions
- Support multiple IO windows and correct resources
- Return IRQ_NONE from MSI isr when there is no pending MSI
- Add additional interrupt bindings

v4:
- Use runtime PM properly

Phil Edworthy (3):
PCI: host: rcar: Add Renesas R-Car PCIe driver
PCI: host: rcar: Add MSI support
dt-bindings: pci: rcar pcie device tree bindings

Quoted 7 lines
 Documentation/devicetree/bindings/pci/rcar-pci.txt |   47 +
 drivers/pci/host/Kconfig                           |    6 +
 drivers/pci/host/Makefile                          |    1 +
 drivers/pci/host/pcie-rcar.c                       | 1008 ++++++++++++++++++++
 4 files changed, 1062 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pci/rcar-pci.txt
 create mode 100644 drivers/pci/host/pcie-rcar.c

Applied with Simon's ack to pci/host-rcar for v3.16, thanks!

Bjorn