From mboxrd@z Thu Jan 1 00:00:00 1970 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 A53DBC433EF for ; Tue, 31 May 2022 21:59:45 +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=ktZ1TNdt1xQudEBqyBO5qle9M15gp6A07l0j8m6saj0=; b=cbZ6jQj6Y1wf+h OhvxoR+OOug+qZPoHDMLcq8zo2MkCzvs9vpqh9uDnJyZfIoOHpmOZAdyFBiNJY6xbnJQvZ5i6hD95 saHIypB1YYd+g73X4GZ4RoL1KIygCQFw/3AJixvsDOkiSQ4Fq4RYH7Q6cipDc+/GTIvHM2WBMa1Az Ye89cDSTLxW2/cYfAeG892HHXwBYTgi3+E/+vCX96otqWs3U5HA2xMrpEnC2TPBUKMNPuGEBirRU7 8K9CvKUZsWlLNcMoaAqCZXct2g99342Ii5uHvPeQSMuQ4rOQLK8+tEQ4Yzo8AiDaXpACRcCHk3CIo Q7Ei05ri9m4c32DjvxDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nw9sg-00Cmuo-8Y; Tue, 31 May 2022 21:58:26 +0000 Received: from mail-ot1-f42.google.com ([209.85.210.42]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nw9sc-00Cmu8-UY for linux-arm-kernel@lists.infradead.org; Tue, 31 May 2022 21:58:24 +0000 Received: by mail-ot1-f42.google.com with SMTP id w19-20020a9d6393000000b0060aeb359ca8so10501874otk.6 for ; Tue, 31 May 2022 14:58:22 -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=1/Zs+8PIbCd/OMJutphmUsMKeeLJ1n44XiDHBlBx9SE=; b=N5+FVzNYfWVRj6CXNcEKHJtKU5+DibaKAEj+4rH9Fx3DF50P5CQ4eiKtoqTKoEA62w wVZdOl+MRE7sdsUCSQ7ACodXvjBmoxJFkXDkrQ1ajhjnxnzZ4OF3kJCSZvsCs0fGiuX5 G1qd5QlV/jzba+8N20WsCPjj8SARGF1R5xCuzfhU+xQyNc3/VWOnXl2UVQ24gKIWqgxh 3PCCFvWalTWQppjARWnEpTDsBzVG105+kelPoErTTIO5y2PvwYvzVu3DnENEy1qlcRAt 0pmryWuYJuGcWDvgapZYBJqZrx2/TkiuDCqJjwco44FPvNFYMCg9ItRWk/hi0ExwBuFM Cy8Q== X-Gm-Message-State: AOAM533Idy6jvb7fwcnyFjBuXXIIjra7td8bUS+uGpWhZgSEolyCRk78 DlNLOoJJkrBDQ1UNB8LMHg== X-Google-Smtp-Source: ABdhPJxyeE7fGrYd+mpu5nb8RXc+XXbSg7BvgtMO8yEOeQgTDcq7iq1QrsdD1Vs9boKb23ES8TGGxw== X-Received: by 2002:a9d:7093:0:b0:60b:6e32:d13a with SMTP id l19-20020a9d7093000000b0060b6e32d13amr6522046otj.85.1654034301727; Tue, 31 May 2022 14:58:21 -0700 (PDT) Received: from xps15.. (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.googlemail.com with ESMTPSA id nx18-20020a056870be9200b000f2455e26acsm4029369oab.48.2022.05.31.14.58.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 May 2022 14:58:21 -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 v2] dt-bindings: PCI: apple: Add missing 'power-domains' property Date: Tue, 31 May 2022 16:58:14 -0500 Message-Id: <20220531215815.2408477-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-20220531_145823_023060_AF6BC353 X-CRM114-Status: GOOD ( 13.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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 schema is missing 'power-domains' in the schema. The example has 3 power domains. However, this is wrong too as actual dts files have a single power domain and Sven confirmed 1 is correct. Cc: Sven Peter Signed-off-by: Rob Herring --- v2: - Correct the power-domains to be 1 and update the example --- Documentation/devicetree/bindings/pci/apple,pcie.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pci/apple,pcie.yaml b/Documentation/devicetree/bindings/pci/apple,pcie.yaml index daf602ac0d0f..aa38680aaaca 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: 1 + required: - compatible - reg @@ -134,7 +137,7 @@ examples: ranges = <0x43000000 0x6 0xa0000000 0x6 0xa0000000 0x0 0x20000000>, <0x02000000 0x0 0xc0000000 0x6 0xc0000000 0x0 0x40000000>; - power-domains = <&ps_apcie>, <&ps_apcie_gp>, <&ps_pcie_ref>; + power-domains = <&ps_apcie_gp>; pinctrl-0 = <&pcie_pins>; pinctrl-names = "default"; -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel