From patchwork Thu May 26 01:41:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 12861963 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E2EDC433EF for ; Thu, 26 May 2022 01:42:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=y9sazG+3JmwbA78olzlLqGXIybTTP6ym+DXf45asrlk=; b=I2Zk+qx72osUBo cF8SA/aiZ2PBGf0w4nns137yC9IBNwXnsoYQiRwB0iaN+S1rVscwO9P2dHZb1SIvUz/BXBW5utmjj DyO1Z3Z9exmCzQ74SGfCFDj4PYXF5Dh6AMnMWVwSiC0q8ArK2CeSY8emUJvCOXyLgysNBG4t3X4Q4 Ak1x9zt/tUA/XGPqnTq2NuPnrIzKscHGkS8b9p++6FJ+xp//FsRuqpsR4VCWPYIGeQ6RuUZp4uRDu yEVA1Fd3poEFQNdX9WjBPAJGg4HScQSBfT6V/pqVX4EtUmpgoxpDOSr3VRxHz8SJMsz6UkFeABIXJ w8pofmicSkuS6w4TwydA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nu2V4-00DC9L-Sl; Thu, 26 May 2022 01:41:18 +0000 Received: from mail-oi1-f175.google.com ([209.85.167.175]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nu2V2-00DC8b-3A for linux-arm-kernel@lists.infradead.org; Thu, 26 May 2022 01:41:17 +0000 Received: by mail-oi1-f175.google.com with SMTP id l84so607478oif.10 for ; Wed, 25 May 2022 18:41:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=A02iGMaf27yGbMZhMqSFpeR8OkXTiFFVWFYk5yTUzJA=; b=CmZ0AekZs5ZHPVvVx9FWBqpxbhD5A38p2K3HsqlvgCSd53Nfc2JBxmCMKza3dr3Fst ZR0/wXIDhIbiw9k+JvR8bsXXUJlj+vHA615thzVWKhaiKiFRCtPDyBFVPV2N/+1duYjD ZAq6lRl1QpkdH10f2SkekpDLNJJM5ZndDnH+PYsm2nRM/Tpt9A6YF0YPN5JixjTjnh5T AHFRrO+55lcBAE/8W1uUPgJSUc2d8pCK1/rH5uG7Qmp4VidX6ZrPhM953xsO5cZ1pFlC Gc98YVrjIkL2PzAG3dPOk9ZCBNlHRsVTtkwET5EBObn5Grd4qXeyLqUlQDHxtGKpN9mh MWYA== X-Gm-Message-State: AOAM531cbe+xzmIO/e0a8t8Lw0EojU/nXzBJzruyjlbr0STOlAjnLj2W dbwN7P24hP7C6eJ5MgJoVg== X-Google-Smtp-Source: ABdhPJwqP0nSidJzNOEimbuuMwlo1M2iEBuCWIWNKu0fH2zvvzUhieBuLGEupohAwEL96Kqe5qbOUw== X-Received: by 2002:a05:6808:10d6:b0:326:d4b2:83b with SMTP id s22-20020a05680810d600b00326d4b2083bmr11901ois.92.1653529274647; Wed, 25 May 2022 18:41:14 -0700 (PDT) Received: from xps15.. (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.googlemail.com with ESMTPSA id f21-20020a0568301c3500b0060adcc87e37sm96312ote.74.2022.05.25.18.41.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 May 2022 18:41:14 -0700 (PDT) From: Rob Herring To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Bjorn Helgaas , Krzysztof Kozlowski , Mark Kettenis Cc: linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: PCI: apple: Add missing 'power-domains' property Date: Wed, 25 May 2022 20:41:07 -0500 Message-Id: <20220526014107.2871787-1-robh@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220525_184116_174677_8E3ED6CD X-CRM114-Status: GOOD ( 10.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The 'unevaluatedProperties' schema checks is not fully working and doesn't catch some cases where there's a $ref to another schema. A fix is pending, but results in new warnings in examples. The Apple PCIe host has 3 power domains at least according to the example. Add the 'power-domains' property to the schema. Signed-off-by: Rob Herring --- Ideally, we'd define what each power domain is, but I don't know what they are. --- Documentation/devicetree/bindings/pci/apple,pcie.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/apple,pcie.yaml b/Documentation/devicetree/bindings/pci/apple,pcie.yaml index daf602ac0d0f..2cf6b4586071 100644 --- a/Documentation/devicetree/bindings/pci/apple,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/apple,pcie.yaml @@ -68,6 +68,9 @@ properties: iommu-map: true iommu-map-mask: true + power-domains: + maxItems: 3 + required: - compatible - reg