Re: [PATCH] dt-bindings: PCI: Remove obsolete .txt docs

From: Rob Herring
Date: Mon Apr 07 2025 - 13:04:11 EST


On Fri, Apr 4, 2025 at 6:21 PM Rob Herring (Arm) <robh@xxxxxxxxxx> wrote:
>
>
> On Fri, 04 Apr 2025 17:15:57 -0500, Rob Herring (Arm) wrote:
> > The content in these files has been moved to the schemas in dtschema.
> > pci.txt is covered by pci-bus-common.yaml and pci-host-bridge.yaml.
> > pci-iommu.txt is covered by pci-iommu.yaml. pci-msi.txt is covered in
> > msi-map property in pci-host-bridge.yaml.
> >
> > Cc: Frank Li <Frank.li@xxxxxxx>
> > Signed-off-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
> > ---
> > .../bindings/pci/nvidia,tegra194-pcie-ep.yaml | 2 +-
> > .../devicetree/bindings/pci/pci-iommu.txt | 171 --------------
> > .../devicetree/bindings/pci/pci-msi.txt | 220 ------------------
> > Documentation/devicetree/bindings/pci/pci.txt | 84 -------
> > 4 files changed, 1 insertion(+), 476 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/pci/pci-iommu.txt
> > delete mode 100644 Documentation/devicetree/bindings/pci/pci-msi.txt
> > delete mode 100644 Documentation/devicetree/bindings/pci/pci.txt
> >
>
> My bot found errors running 'make dt_binding_check' on your patch:
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
>
>
> doc reference errors (make refcheckdocs):
> Warning: Documentation/devicetree/bindings/virtio/pci-iommu.yaml references a file that doesn't exist: Documentation/devicetree/bindings/pci/pci.txt
> Documentation/devicetree/bindings/virtio/pci-iommu.yaml: Documentation/devicetree/bindings/pci/pci.txt

I've fixed this with this[1] patch.

Rob

[1] https://lore.kernel.org/r/20250407165341.2934499-1-robh@xxxxxxxxxx