]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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: 8bcedfdd7c9b ("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 64b2c64ca806575bb0b6e35608dddaaff81648db..a1e2be737eec913f42b5bbcdd5a2c6fee88a8749 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: