Skip to contentSkip to conversation

dt-bindings: PCI: brcmstb: compatible is required

PATCH Applied Florian Fainelli 3 participants 4 messages Dec 2, 2021 – Dec 8, 2021

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: PCI: brcmstb: compatible is required

The compatible property is required, make sure the binding documents it as such.

---
 Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml +1 -0
index 1fe102743f82..7c24d711b377 100644
@@ -76,6 +76,7 @@ properties:
       maxItems: 3
 
 required:
+  - compatible
   - reg
   - ranges
   - dma-ranges
Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · Florian Fainelli

The compatible property is required, make sure the binding documents it as such.

Yes, though if 'compatible' is not present and matching, the schema is never applied. I'll apply it later, but I wouldn't be too concerned fixing any others.

Quoted 20 lines
---
 Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml +1 -1
index 1fe102743f82..7c24d711b377 100644
@@ -76,6 +76,7 @@ properties:
       maxItems: 3
 
 required:
+  - compatible
   - reg
   - ranges
   - dma-ranges
--

2.25.1

#2 lore raw
Quoted 8 lines · Rob Herring
Quoted 3 lines · Florian Fainelli

The compatible property is required, make sure the binding documents it as such.

Yes, though if 'compatible' is not present and matching, the schema is never applied. I'll apply it later, but I wouldn't be too concerned fixing any others.

OK, just happened to run into that one by accident while converting the iProc PCIe binding to YAML.

Signature · 1 line
Florian