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/20240413151617.35630-2-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
1 parent 51ef053 commit 36fbed3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)