Skip to content

Commit

Permalink
dt-bindings: PCI: mediatek,mt7621: Add missing child node reg
Browse files Browse the repository at this point in the history
MT7621 PCI host bridge has children which are PCI root ports.  The
children have "reg" property, but do not explicitly define it.  Instead
they rely on pci-bus.yaml schema, but that one has "reg" without any
constraints.

Define the "reg" for the children, so the binding will be more specific
and later will allow dropping reference to deprecated pci-bus.yaml
schema.

Link: https://lore.kernel.org/linux-pci/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Acked-by: Rob Herring <[email protected]>
Acked-by: Sergio Paracuellos <[email protected]>
  • Loading branch information
krzk authored and kwilczynski committed May 15, 2024
1 parent 51ef053 commit 36fbed3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ patternProperties:
$ref: /schemas/pci/pci-bus.yaml#

properties:
reg:
maxItems: 1

resets:
maxItems: 1

Expand Down

0 comments on commit 36fbed3

Please sign in to comment.