Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp998431rwb; Thu, 11 Aug 2022 13:53:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR7bNYoigNqeivxQsPjXRcuVu4Nzr7TqKdguStdBkawIthuqK4iefpVmQ/gKx8v0gRXz9a3P X-Received: by 2002:a17:906:4795:b0:733:1d3:3d33 with SMTP id cw21-20020a170906479500b0073301d33d33mr603383ejc.200.1660251183381; Thu, 11 Aug 2022 13:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660251183; cv=none; d=google.com; s=arc-20160816; b=UYq5PCdpt13TR025nnDpzVoj5IYUkLRx+Q8srnwB77jLALeEnUOQbOW1+O5RDXwhmD ZQ9X4YMOik3XfwdFgn/J+a3dksd5iwbMhFNHtu7EmkTxkcsJ6uy1XOCAhCWnRowcCDpu Dj3BG/sd7K7pqg+m5ElIqC5UvCfB5AlGxTsCpnRLgls8dt8xIlrCwecRkeJRsLDAAC4e nbkGhATHaN0fySXNe7dCqvwPTdegaztipQjERufI8MRaM1gXaKQ7trA0q9rdP28GCZdq qpBo99pRxOTRf5UibJxMcRBaXrWUX8PK3mis10C14LjQMnc6XS4oCqrmunfHcL2GHoZS ps8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=44JZfQo8qBDZMgfCdrZJwZLuiR284QlmRSCfMxTvtpo=; b=V5WEu7DgchK3YpbTFov0djL+VrxWZb0ax7Siw9O/r7nlf7ykvXEMsuEixXl/zU68El CTz8e2sIrNGTchmpJTuKjfA1OeNsFXhXQNHMXGGAbkDkcwVH6drV9pMN6YaZwJIa74V0 1et8XwQI1vk+brWMrYLm0QzEU+OvGpRTy5e6Z9un0AsvZ+N2bOOoZK0vzd1+Wpl/nAAi YEUc2eA59YNQRTslZEcfnDygjpaEMJPdhRjTG2YndF7Htp3E9yLnsbwuDyT2QPjFvLXz fNxVWeFByf5X8KIuRTTqVnT42whhPcfHkWbjAxANrqUrZdWzPv9faugLCSkY7MT1BsEb TLnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=Rg+2K2aU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m10-20020a056402430a00b0043aa8412572si505661edc.257.2022.08.11.13.52.35; Thu, 11 Aug 2022 13:53:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=Rg+2K2aU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235962AbiHKUd1 (ORCPT + 99 others); Thu, 11 Aug 2022 16:33:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235754AbiHKUdX (ORCPT ); Thu, 11 Aug 2022 16:33:23 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68CCA9F0F7 for ; Thu, 11 Aug 2022 13:33:18 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 186-20020a1c02c3000000b003a34ac64bdfso3260321wmc.1 for ; Thu, 11 Aug 2022 13:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=44JZfQo8qBDZMgfCdrZJwZLuiR284QlmRSCfMxTvtpo=; b=Rg+2K2aUJR5EC4EzeEhjweVggh3LGAxXDW+n+myh6+YEfAOfixSRbOplNLuQc+hbCh k+KeOqNm6R7kogF4zChBu0vPRB6/t4pC7dpmsahLZa0MR1bkVO2XWKiYhLL+J8YqQUDk ZtKBGxLruXNAffh3BmuL+H6PQwULOjdofcVTtJDehPnCkEwCuYwFQvxMN+8on0EzLv0W 8hG4NzCnIC7nauXERnsjmeIsK9LpEBmZMluKZGrodeAYGFQJLpKQqnVMGITSegeShwjt CAS9qdr1VnbdcCuBIY3JiurrcquUlr5/UocbOVp2P97KWNRvHxATlrQBQ9jfvz51J/Lu zNfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=44JZfQo8qBDZMgfCdrZJwZLuiR284QlmRSCfMxTvtpo=; b=PqlewSXjYjwedEnYXlQAXiQlUWvjEEppjqAR9X3AdL3UMi6ckWOMcTQMzq69mavMYs DWxPMhYAQaXHtfR9Fb7/+qlAL6xyySWdapf8Fz0TYVUZaDAKtVr6FUPxdmp+MoeNDzIR ihJMoezmGCw7qIgdgBEfq0KV2qcWtFYT1BF07xCfOtT1Ne0QsAg6nclybFJh6csHt455 PP5WwoRvhmSfVPwOLnBdIrNZiN8/e7JTnehGLwOPw3m5qIuXVP+/3WNfPPpdi/FSJreH akMluAdaqaBqavNKIPh0soDuCfdUOmgzpaWko6H8BKLwuD6JtfjlVuVHVRcHM8HRsCCR dPEg== X-Gm-Message-State: ACgBeo33HPERPXJj2U33my0ftjUigGGYZgvfYdXn1/uHwOcO7jPO4JWv HUUCwxj0i+Ti+VTwxezS8Cx8WQ== X-Received: by 2002:a05:600c:3845:b0:3a3:19e8:829e with SMTP id s5-20020a05600c384500b003a319e8829emr6647580wmr.11.1660249996798; Thu, 11 Aug 2022 13:33:16 -0700 (PDT) Received: from henark71.. ([109.76.58.63]) by smtp.gmail.com with ESMTPSA id i12-20020adfefcc000000b0021f1ec8776fsm86643wrp.61.2022.08.11.13.33.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Aug 2022 13:33:16 -0700 (PDT) From: Conor Dooley To: Daire McNamara , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Greentime Hu , Palmer Dabbelt , Albert Ou , Lorenzo Pieralisi , Conor Dooley Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH 1/4] dt-bindings: PCI: fu740-pci: fix missing clock-names Date: Thu, 11 Aug 2022 21:33:04 +0100 Message-Id: <20220811203306.179744-2-mail@conchuod.ie> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220811203306.179744-1-mail@conchuod.ie> References: <20220811203306.179744-1-mail@conchuod.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Conor Dooley The commit in the fixes tag removed the clock-names property from the SiFive FU740 PCI Controller dt-binding, but it was already in the dts for the FU740. dtbs_check was not able to pick up on this at the time but v2022.08 of dt-schema now can: arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dtb: pcie@e00000000: Unevaluated properties are not allowed ('clock-names' was unexpected) From schema: linux/Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml The Linux driver does not use this property, but outside of the kernel this property may have users. Re-add the property and its "clocks" dependency. Fixes: b92225b034c0 ("dt-bindings: PCI: designware: Fix 'unevaluatedProperties' warnings") Signed-off-by: Conor Dooley --- I went back and forth on removing the property from the dts, but this seems like the change that is more conservative.. --- .../devicetree/bindings/pci/sifive,fu740-pcie.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml b/Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml index 195e6afeb169..c7a9a2dc0fa6 100644 --- a/Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/sifive,fu740-pcie.yaml @@ -51,6 +51,12 @@ properties: description: A phandle to the PCIe power up reset line. maxItems: 1 + clocks: + maxItems: 1 + + clock-names: + const: pcie_aux + pwren-gpios: description: Should specify the GPIO for controlling the PCI bus device power on. maxItems: 1 -- 2.37.1