diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-04-13 17:16:15 +0200 |
---|---|---|
committer | Krzysztof Wilczyński <[email protected]> | 2024-05-15 14:44:47 +0000 |
commit | 36fbed38549c9f9b28f750323ede6bb87413af6e (patch) | |
tree | 56b4c91cd4ff1add030a73ecc2ca2d08eca5a923 | |
parent | 51ef0538d4e1ca959b8eb7e78376cab2e94021cb (diff) |
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]>
-rw-r--r-- | Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml b/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml index e63e6458cea8..61d027239910 100644 --- a/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml @@ -36,6 +36,9 @@ patternProperties: $ref: /schemas/pci/pci-bus.yaml# properties: + reg: + maxItems: 1 + resets: maxItems: 1 |