Skip to content

dt-bindings: Convert Cadence PCIe RC/EP to DT Schema

Kishon Vijay Abraham I linux-pci lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 1 replyIn review
  2. v44 patches 1 replySuperseded
  3. v34 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches5 repliesSuperseded
v12 patches2 repliesSuperseded

Changes in v5 from the cover letter

*) Deprecate "cdns,max-outbound-regions" only for host mode. For EP mode
this will be a mandatory property.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: PCI: Add PCI Endpoint Controller SchemaDocumentation/devicetree/bindings/pci/pci-ep.yaml+41 -00 replies
2/4dt-bindings: PCI: cadence: Add PCIe RC/EP DT schema for Cadence PCIeDocumentation/devicetree/bindings/pci/cdns-pcie-host.yaml Documentation/devicetree/bindings/pci/cdns-pcie.yaml+58 -00 replies
3/4dt-bindings: PCI: Convert PCIe Host/Endpoint in Cadence platform to DT schemaDocumentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.txt +2 more+126 -940 replies
4/4dt-bindings: PCI: cadence: Deprecate inbound/outbound specific bindingsDocumentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml +2 more+37 -110 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/4R-b
2/4R-b
3/4R-b
4/4

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

Read the v5 thread

Cover letter [PATCH v5 0/4] dt-bindings: Convert Cadence PCIe RC/EP to DT Schema

Cadence PCIe IP is used by multiple SoC vendors (e.g. TI). Cadence themselves have a validation platform for validating the PCIe IP which is already in the upstream kernel. Right now the binding only exists for Cadence platform and this will result in adding redundant binding schema for any platform using Cadence PCIe core.

This series:
1) Create cdns-pcie.yaml which includes properties that are applicable to both host mode and endpoint mode of Cadence PCIe core.
2) Create cdns-pcie-host.yaml to include properties that are specific to host mode of Cadence PCIe core. cdns-pcie-host.yaml will include cdns-pcie.yaml.
3) Create cdns-pcie-ep.yaml to include properties that are specific to endpoint mode of Cadence PCIe core. cdns-pcie-ep.yaml will include cdns-pcie.yaml.
4) Remove cdns,cdns-pcie-ep.txt and cdns,cdns-pcie-host.txt which had the binding for Cadence "platform" and add cdns,cdns-pcie-host.yaml and cdns,cdns-pcie-ep.yaml schema for Cadence Platform. The schema for Cadence platform then includes schema for Cadence PCIe core.

Changes from v4:
*) Deprecate "cdns,max-outbound-regions" only for host mode. For EP mode
this will be a mandatory property.

Changes from v3:
*) Add "Reviewed-by: Rob Herring <[email protected]>" *) Fix typo in SPDX header

Changes from v2:
*) Created "pci-ep.yaml" for common endpoint controller bindings *) Deprecate "cdns,max-outbound-regions" and "cdns,no-bar-match-nbits"
binding

Changes from v1:
*) Fix maximum values of num-lanes and cdns,no-bar-match-nbits *) Fix example DT node for PCIe Endpoint.

Ref: Patches to convert Cadence driver to library

     https://lkml.org/lkml/2019/11/11/317

Some of this was initially part of [1], but to accelerate it getting into upstream, sending this as a separate series.

[1] -> http://lore.kernel.org/r/[email protected]

Kishon Vijay Abraham I (4):
dt-bindings: PCI: Add PCI Endpoint Controller Schema
dt-bindings: PCI: cadence: Add PCIe RC/EP DT schema for Cadence PCIe
dt-bindings: PCI: Convert PCIe Host/Endpoint in Cadence platform to DT
schema
dt-bindings: PCI: cadence: Deprecate inbound/outbound specific
bindings

 .../bindings/pci/cdns,cdns-pcie-ep.txt        | 27 -------
 .../bindings/pci/cdns,cdns-pcie-ep.yaml       | 49 ++++++++++++
 .../bindings/pci/cdns,cdns-pcie-host.txt      | 66 ----------------
 .../bindings/pci/cdns,cdns-pcie-host.yaml     | 75 +++++++++++++++++++
 .../devicetree/bindings/pci/cdns-pcie-ep.yaml | 25 +++++++
 .../bindings/pci/cdns-pcie-host.yaml          | 37 +++++++++
 .../devicetree/bindings/pci/cdns-pcie.yaml    | 23 ++++++
 .../devicetree/bindings/pci/pci-ep.yaml       | 41 ++++++++++
 MAINTAINERS                                   |  2 +-
 9 files changed, 251 insertions(+), 94 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt
 create mode 100644 Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.yaml
 delete mode 100644 Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.txt
 create mode 100644 Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
 create mode 100644 Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
 create mode 100644 Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml
 create mode 100644 Documentation/devicetree/bindings/pci/cdns-pcie.yaml
 create mode 100644 Documentation/devicetree/bindings/pci/pci-ep.yaml
Signature · 1 line
2.17.1