OSDN Git Service

dt-bindings: PCI: intel,lgm-pcie: Fix matching on all snps,dw-pcie instances
authorRob Herring <robh@kernel.org>
Wed, 19 Aug 2020 17:58:16 +0000 (11:58 -0600)
committerRob Herring <robh@kernel.org>
Fri, 21 Aug 2020 21:51:01 +0000 (15:51 -0600)
The intel,lgm-pcie binding is matching on all snps,dw-pcie instances
which is wrong. Add a custom 'select' entry to fix this.

Fixes: e54ea45a4955 ("dt-bindings: PCI: intel: Add YAML schemas for the PCIe RC controller")
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org
Reviewed-by: Dilip Kota <eswara.kota@linux.intel.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml

index 64b2c64..a1e2be7 100644 (file)
@@ -9,6 +9,14 @@ title: PCIe RC controller on Intel Gateway SoCs
 maintainers:
   - Dilip Kota <eswara.kota@linux.intel.com>
 
+select:
+  properties:
+    compatible:
+      contains:
+        const: intel,lgm-pcie
+  required:
+    - compatible
+
 properties:
   compatible:
     items: