Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3951874rwb; Tue, 16 Aug 2022 11:31:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR4JC9UV98hj554eUZim0/htSSz5CBs78Y5ejlKxuAAgBeeyUfNNEzoK8Ns/6XA/u36IVDJ2 X-Received: by 2002:a17:906:98d4:b0:730:b545:fb5d with SMTP id zd20-20020a17090698d400b00730b545fb5dmr13996848ejb.532.1660674709683; Tue, 16 Aug 2022 11:31:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660674709; cv=none; d=google.com; s=arc-20160816; b=ckEMuBuzTlSzZ31uvZEE5Kt0F2OWOVc9CnJYAft7/WbNoYDhwPYxjm4DFuf4EfkXwF YaarYXC77dl/LLLDy/hqdS6Paa6RGiDbG1h06DKMLhAjT+9r7V6zTITxudwB8mXAi7XN rncRLdYTYvvjBsZ3xJ0ynnIT/3MwZw5VTa4r83hWYHu7XIlAqsCJSeh/Dc9Os2yWa1Rr XQFd+IqsRagrUinL84H0D6pA1IQOoGRhwWvfijliHSXzvLBdjNsu+TN+1zvwVCiJMt16 ubW7Ia5vg3EDZfxsPsQWmvN51M8pmNrxVb046vfvf49rjyPHgTjMU6Qu9lnlFdzCSpve pEdw== 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=d9TppbXdiWPs+48x7U6F2RLRbtXIB7UvU4Wm4rVvtl0=; b=CaqhcUL5Jm1YBHIICNhieAwt4kTgu0tYDVS/h9ko3q3XoiMzz/b0q2L0f6VDkJO39h s5+Z8lxuw7tUSF3E8l2VdbnESUxlbdQV7ddUP/OoPVDpIM+FzerxPwsjET78eJm7lBmI NrQkqtV6IJ6zGPqufM2KG2UG4G1mjLinUgv3p0T2hPSdtJJVrvRVV/Ofm9zN2C+afSCR ri2oXKEC+g5C+3xhnYk+P1jIS0KiRW4nCibjRnHH4Kra/c+E/IMfrY55HpE1xiVGnoRg KBZL+TTMUUI2gG0zpcXd+tCQjA6Nt82tIH6HAuZJtIiw3xfxJB7w9k4gWm6CmeYIbbW1 LXHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=f2AlxGSc; 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 w5-20020a05640234c500b0043e39c683f9si11306894edc.556.2022.08.16.11.31.23; Tue, 16 Aug 2022 11:31:49 -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=f2AlxGSc; 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 S236044AbiHPS0N (ORCPT + 99 others); Tue, 16 Aug 2022 14:26:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236559AbiHPS0F (ORCPT ); Tue, 16 Aug 2022 14:26:05 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16871868B9 for ; Tue, 16 Aug 2022 11:25:58 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id n4so13574967wrp.10 for ; Tue, 16 Aug 2022 11:25:57 -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=d9TppbXdiWPs+48x7U6F2RLRbtXIB7UvU4Wm4rVvtl0=; b=f2AlxGScpJunozXwr3OLri+tVAp8DP91ryrotY2//J2fi1OUCt1LNagskuDqphhkZT YrquLa/5e3kZ0mNDTpe8BZPCqsenNm2Iz6veDpmpJ2eS1/XvlY9RG0X5z1/PE71xJM/z T89NIgNPpq6E+d39MQKxfD7TWO20cghUHmkysLjgO3lWV5s7Rl+R6uqjodyd8Uo9Phd8 3Jpqpdld6ng03AVC6cciJzWfKieF0XVANREG8RAcZlM+uEsFPf0miZbDNl9GDQcXyNWL 1Gy9OFXRx+voQGCrcVvklEEfQh2gOjJjjJeoID3OXAAvB/6mk0/QFGfKnDLEXI1kcD03 MiRw== 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=d9TppbXdiWPs+48x7U6F2RLRbtXIB7UvU4Wm4rVvtl0=; b=g4NsrOota8Bn580kkwVyYdh9n+n7v2tO8VGYcx+klllr7FCmQQ9eURakiiubjlCMIg Kacp1oT019Pf6VVNim6eplTuQJrc1jhgOrCq1lLa8VIY3R4o/LxkZOAn/sUPr1eaYCcL wyEnE4tdQUecU9K+oMx300sWmR2ylWndVs1GbKq++ojPeGQd8HSC8QGXxCU1m12ENGPv L43DxlPYTx8TxHb2ZPRfhQysJF1bW1OdZjNxSpleDv6d7zVkuxwqee2gn8CA+H+ieFVB oCz0mLfp00fxm+iWYS4GNpq3J61pN3MyV/hQ5EbJHWC/wK+TrmdfNNI0gd+e4wlCLryT eB+Q== X-Gm-Message-State: ACgBeo36Dgy2BaS5f/Rn1Rl8nB2dxvj+S+oR+iavp7utMY6vlwx7IFlU 91B/Ny1VGPpifVRKdZ0bIWBWUoRZn3ln+Iym X-Received: by 2002:a05:6000:1152:b0:220:6421:ccdc with SMTP id d18-20020a056000115200b002206421ccdcmr12322712wrx.61.1660674356514; Tue, 16 Aug 2022 11:25:56 -0700 (PDT) Received: from henark71.. ([109.76.58.63]) by smtp.gmail.com with ESMTPSA id s17-20020a1cf211000000b003a603fbad5bsm4015482wmc.45.2022.08.16.11.25.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 11:25:55 -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 v2 1/6] dt-bindings: PCI: fu740-pci: fix missing clock-names Date: Tue, 16 Aug 2022 19:25:43 +0100 Message-Id: <20220816182547.3454843-2-mail@conchuod.ie> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220816182547.3454843-1-mail@conchuod.ie> References: <20220816182547.3454843-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=unavailable 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 b92225b034c0 ("dt-bindings: PCI: designware: Fix 'unevaluatedProperties' warnings") removed the clock-names property as a requirement and from the example as it triggered unevaluatedProperty warnings. dtbs_check was not able to pick up on this at the time, but 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 property was already in use by the FU740 DTS and the clock must be enabled. 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") Fixes: 43cea116be0b ("dt-bindings: PCI: Add SiFive FU740 PCIe host controller") Signed-off-by: Conor Dooley --- v2022.08 of dt-schema is required. --- .../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