Skip to content

PCI: microchip: support using either instance 1 or 2

Conor Dooley linux-devicetree linux-pci linux-riscv lkml 1 version In review

Get series with b4
b4 am 20240527-slather-backfire-db4605ae7cd7@wendy

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: PCI: microchip,pcie-host: fix reg propertiesDocumentation/devicetree/bindings/pci/microchip,pcie-host.yaml+6 -41 reply
2/2PCI: microchip: rework reg region handingdrivers/pci/controller/pcie-microchip-host.c+77 -823 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/2] PCI: microchip: support using either instance 1 or 2

The current driver and binding for PolarFire SoC's PCI controller assume that the root port instance in use is instance 1. The second reg property constitutes the region encompassing both "control" and "bridge" registers for both instances. In the driver, a fixed offset is applied to find the base addresses for instance 1's "control" and "bridge" registers. The BeagleV Fire uses root port instance 2, so something must be done so that software can differentiate. This series splits the second reg property in two, with dedicated "control" and "bridge" entries so that either instance can be used.

Cheers,
Conor.

CC Daire McNamara <[email protected]>
CC Lorenzo Pieralisi <[email protected]>
CC Krzysztof Wilczyński <[email protected]>
CC Rob Herring <[email protected]>
CC Bjorn Helgaas <[email protected]>
CC Krzysztof Kozlowski <[email protected]>
CC Conor Dooley <[email protected]>

Conor Dooley (2):
dt-bindings: PCI: microchip,pcie-host: fix reg properties
PCI: microchip: rework reg region handing

 .../bindings/pci/microchip,pcie-host.yaml     |  10 +-
 drivers/pci/controller/pcie-microchip-host.c  | 159 +++++++++---------
 2 files changed, 83 insertions(+), 86 deletions(-)
Signature · 1 line
2.43.2