Skip to content

Commit 36fbed3

Browse files
krzkkwilczynski
authored andcommitted
dt-bindings: PCI: mediatek,mt7621: Add missing child node reg
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]>
1 parent 51ef053 commit 36fbed3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ patternProperties:
3636
$ref: /schemas/pci/pci-bus.yaml#
3737

3838
properties:
39+
reg:
40+
maxItems: 1
41+
3942
resets:
4043
maxItems: 1
4144

0 commit comments

Comments
 (0)