Re: [PATCH] dt-bindings: PCI: Fix 'unevaluatedProperties' warnings

From: Rob Herring
Date: Tue Dec 14 2021 - 17:16:12 EST


On Mon, 06 Dec 2021 13:44:05 -0600, Rob Herring wrote:
> With 'unevaluatedProperties' support implemented, there's several
> warnings due to undocumented properties:
>
> Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.example.dt.yaml: pcie@1e140000: pcie@0,0: Unevaluated properties are not allowed ('phy-names' was unexpected)
> Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.example.dt.yaml: pcie@1e140000: pcie@1,0: Unevaluated properties are not allowed ('phy-names' was unexpected)
> Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.example.dt.yaml: pcie@1e140000: pcie@2,0: Unevaluated properties are not allowed ('phy-names' was unexpected)
> Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.example.dt.yaml: pcie@11230000: Unevaluated properties are not allowed ('phy-names' was unexpected)
> Documentation/devicetree/bindings/pci/microchip,pcie-host.example.dt.yaml: pcie@2030000000: Unevaluated properties are not allowed ('interrupt-controller' was unexpected)
> Documentation/devicetree/bindings/pci/ti,am65-pci-ep.example.dt.yaml: pcie-ep@5500000: Unevaluated properties are not allowed ('num-ib-windows', 'num-ob-windows' were unexpected)
> Documentation/devicetree/bindings/pci/ti,am65-pci-host.example.dt.yaml: pcie@5500000: Unevaluated properties are not allowed ('num-viewport', 'interrupts' were unexpected)
> Documentation/devicetree/bindings/pci/ti,j721e-pci-host.example.dt.yaml: pcie@2900000: Unevaluated properties are not allowed ('dma-coherent' was unexpected)
>
> Add the necessary property definitions or remove the properties from the
> examples to fix these warnings.
>
> Cc: Ryder Lee <ryder.lee@xxxxxxxxxxxx>
> Cc: Jianjun Wang <jianjun.wang@xxxxxxxxxxxx>
> Cc: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx>
> Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> Cc: Matthias Brugger <matthias.bgg@xxxxxxxxx>
> Cc: Daire McNamara <daire.mcnamara@xxxxxxxxxxxxx>
> Cc: Abraham I <kishon@xxxxxx>
> Cc: linux-pci@xxxxxxxxxxxxxxx
> Cc: linux-mediatek@xxxxxxxxxxxxxxxxxxx
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> .../bindings/pci/mediatek,mt7621-pcie.yaml | 3 +++
> .../bindings/pci/mediatek-pcie-gen3.yaml | 4 ++++
> .../bindings/pci/microchip,pcie-host.yaml | 18 ++++++++++++++++++
> .../bindings/pci/ti,am65-pci-ep.yaml | 2 --
> .../bindings/pci/ti,am65-pci-host.yaml | 4 +++-
> .../bindings/pci/ti,j721e-pci-host.yaml | 2 ++
> 6 files changed, 30 insertions(+), 3 deletions(-)
>

Applied, thanks!