From patchwork Wed Aug 19 22:20:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 248000 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:522:0:0:0:0 with SMTP id h2csp832188ils; Wed, 19 Aug 2020 15:20:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRZQSUZwzwIxde31H593i0SOJby1ShKt68HONJp3VuhLL7+7RDkmzUl8Ca1zAQie7pNlTn X-Received: by 2002:a17:906:1b04:: with SMTP id o4mr492559ejg.332.1597875611626; Wed, 19 Aug 2020 15:20:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597875611; cv=none; d=google.com; s=arc-20160816; b=Il3tTCHDAjCvRN5UhUwbMa1ROHe5mkksiMIWYlx3P3MTPO7U3YaOH+Elk7HZ7hf05X SMash/sVtLqehiHMzJXSUbo6KX2w93MTUD8TC3AlL0U/MGP5megF0H9UyEgcPOGu3lZ/ 3TiOsG0ztq63lL3eUEDn7fqm1KSHtzao8eRXdE8X2yDX2lWHnLvXdpv7Dgfdto52jr6+ W5JIdIIpTgCs4yKXsts5yLba+r4q2UOWMi7Ni/MLVPBP+aFjpTqvHk9uPSXfQAxNlsm2 fb1y/UpVhFHXMwINtwcmp984pVa4SeSMEilw6lo6gwttbOkeJsPhY6JQvePrvlKt002Y uFNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=KogAhKQFuzVFR3hjho8v+uBbo1DBruDLjxQEcHZBLSM=; b=oukk16G7L0yE+aX7c0vuCOKZCI+WC5hb3MoaOcPl8vwx2HKYglWqACweFb6ER0OSD8 7syKajA867JOA9ASYVzSnjwX7sgWlMMOkYb7qMqF2n0bY/37+dKVlQAOQDgSbCSPIvxU DM0VwZsitH659FtfpOvm+7lXJk21nyHko5Y0eJFocVd6+/LLuSWbAHRemrfGoifv1O0P OW8qdmdFB2wYSb1VxpSrhbL94vEjdTKy0lztCg8TIsAmV1ihQxEq+rEWb/bPDlKRTO/X bJUTvTZ3JhfLOORHfyWwU/EzWPoPpmhSI6VNYPI7E5R6dyNStb6bj+Rv6oTwdo5mfS1w 2+kw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si180558edv.600.2020.08.19.15.20.11; Wed, 19 Aug 2020 15:20:11 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727808AbgHSWUH (ORCPT + 6 others); Wed, 19 Aug 2020 18:20:07 -0400 Received: from mail-il1-f195.google.com ([209.85.166.195]:42465 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726681AbgHSWUF (ORCPT ); Wed, 19 Aug 2020 18:20:05 -0400 Received: by mail-il1-f195.google.com with SMTP id t13so97779ile.9; Wed, 19 Aug 2020 15:20:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KogAhKQFuzVFR3hjho8v+uBbo1DBruDLjxQEcHZBLSM=; b=H0PpguvgMYN1A/usBybbdRMvuIqgo7qMQDjRUBH0qDUIT4nfven5xz05xKGP8akeMO LhrQjKxK5E6EJXxnZEzBsuA6OkzD/F73QZei2GlYFzLxofu76LAgeiSxFP/l239YLE4d XTL51zOD0sqDg0VyNYADgWSVFT0BRuERP9zdblAE/SQ4gImfMvVZsVk9ar4LcEqNVb93 TGDTg95qeJN9t/jzqM2ftcQ77Tc3TF/9YpjKrox8yWQZ7pGfxzfgueTmlRA8RxpiP8E1 AEtCqrcR6VXXn5u6GjSnsNXW5UPEPvxkFcFYol9uA0BIdsCrFv1lr00P2nGhblBuROch buFQ== X-Gm-Message-State: AOAM531yMlttCq0PUH5WovodU2T75wCXRPYn3jI4C66klpY9WSOKNTot opm67GpMC/TPh4binf6D99ig4yZyIg== X-Received: by 2002:a05:6e02:1088:: with SMTP id r8mr134585ilj.291.1597875604555; Wed, 19 Aug 2020 15:20:04 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.249]) by smtp.googlemail.com with ESMTPSA id s26sm11051ioc.13.2020.08.19.15.20.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Aug 2020 15:20:03 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Bjorn Helgaas , Dilip Kota , linux-pci@vger.kernel.org Subject: [PATCH] dt-bindings: PCI: intel, lgm-pcie: Fix matching on all snps, dw-pcie instances Date: Wed, 19 Aug 2020 16:20:02 -0600 Message-Id: <20200819222002.2059917-1-robh@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Cc: Dilip Kota Cc: linux-pci@vger.kernel.org Signed-off-by: Rob Herring --- I'll take this via the DT tree. Rob Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.25.1 Reviewed-by: Dilip Kota diff --git a/Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml b/Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml index 64b2c64ca806..a1e2be737eec 100644 --- a/Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml @@ -9,6 +9,14 @@ title: PCIe RC controller on Intel Gateway SoCs maintainers: - Dilip Kota +select: + properties: + compatible: + contains: + const: intel,lgm-pcie + required: + - compatible + properties: compatible: items: