dt-bindings: PCI: brcm,iproc-pcie: Fix 'msi' child node schema
authorRob Herring <robh@kernel.org>
Tue, 26 Sep 2023 15:56:09 +0000 (10:56 -0500)
committerRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 18:54:14 +0000 (13:54 -0500)
commitd6e201f88ae0ebeae82e16a2775ca301e07560d9
tree34f464712f429bd55f4fc0445e341d5ffefa1e4b
parente2745e634c6506ba02ea219b3b1c70a5ebc2cfb0
dt-bindings: PCI: brcm,iproc-pcie: Fix 'msi' child node schema

The 'msi' child node schema is missing constraints on additional properties.
It turns out it is incomplete and properties for it are documented in the
parent node by mistake. Move the reference to msi-controller.yaml and
the custom properties to the 'msi' node. Adding 'unevaluatedProperties'
ensures all the properties in the 'msi' node are documented.

With the schema corrected, a minimal interrupt controller node is needed
to properly decode the interrupt properties since the example has
multiple interrupt parents.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Fixes: 905b986d099c ("dt-bindings: pci: Convert iProc PCIe to YAML")
Link: https://lore.kernel.org/r/20230926155613.33904-3-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/brcm,iproc-pcie.yaml