Message ID | 20230610-purge-pretended-a0815886d300@spud |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1658615vqr; Sat, 10 Jun 2023 10:28:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7OHbDMp37SQ4duLg3yqmb57zIwSRHk6xe3/01FN4ycTWlZdaB1fO1ftHSMgV64Dgj784pZ X-Received: by 2002:a17:907:d24:b0:94e:e30e:7245 with SMTP id gn36-20020a1709070d2400b0094ee30e7245mr5874345ejc.8.1686418137371; Sat, 10 Jun 2023 10:28:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686418137; cv=none; d=google.com; s=arc-20160816; b=prIZaTR3Yr3uM/+PzLsCwaDIE5H61GroJXuBfar6xQvbNfx1mHllSs4dzgac6uagX5 zKr1sYEmickITkA6+WNaLSfVvPY38bMwAP0tE0BqMKe3xmfRA6x/iYe4WBLQBUvIpWgo 5+RBSRXA8b2C04CsT8B7dtEPOIw3l038rMXLYvG1kHdF7hxGLzzFL6r3u9fnsiksSUQQ ZYAmvbNLe9k1ZyFfI0shIyHUPyxKxEoKKFT5nKAWUsTt3s/UWV8uHBSkK2gi/i/Yx0YY V2TMX46+rRHxOfspsKUJfacIpY9x/1+xQV0DsJe+k82mkoBD2hL2+ODsFxWgWI9ECj/A dyDA== 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=pdXmFvbmdJhJcDOt6LHSMpH8j+yS+Nu6dufGvpp0sk4=; b=eshGMaZd2Cx/I1mjzCCCtJWN7zwWS5hm2Lfn5fONTRw79YIPDWdVukZIj2cks3L4li TiicqeYwJeub/bYGw2D2in8pA21sZRGxFCujTVJilu36FLDjwNwq7WE0ieE8/W2VE0R0 HOv2IiePzhOY1G5tPdIY01hHVnwhuAaQxpAA/ac8fWMrsLTm8awvQgXEbOKRPE31mHfw p+LLnqRJCB+tTFiKeUjX+egqgklrUtpcZ2VHATOkU1/D7fph+qX8JQPsdUflVWvI3pNJ rIScN3m0vW8SwyExcNYlRBzwySh3IG1RM5J5uoTG7yWwJgVPlbV8GrTPksfLIEX2MOlc 2+kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ErJlmji9; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c25-20020aa7df19000000b005167d749f22si1631654edy.519.2023.06.10.10.28.33; Sat, 10 Jun 2023 10:28:57 -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=@kernel.org header.s=k20201202 header.b=ErJlmji9; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230316AbjFJRZW (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Sat, 10 Jun 2023 13:25:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229897AbjFJRZP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 10 Jun 2023 13:25:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFBBB3590; Sat, 10 Jun 2023 10:25:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 85BAE6097A; Sat, 10 Jun 2023 17:25:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19A51C4339C; Sat, 10 Jun 2023 17:25:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686417914; bh=3wpZ8o+35iL6424lyV2DUmQ6SjU6/eZ7YzznRGiRZCs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ErJlmji9Custi1BOYzOMGjAI58K4rcxusnBFYJ+9i875fwP/pg5q/9okCyYp3egqx gq68ML+QfH7Uw96mEvB+u6912njCHEy9yoOJNy6CVS1jqX+v+I11NWJGvR+A+yWYZa arMCDeystOsRagfgbuiItdVZN/1vOeCLipkxlnHuoqjporSl+XhHNC44iFOo+ctUMz YrnrLsRkGQgDP4K/rI4A+X1voa2jTnWZGccQwIltHa+P068e19sZR8tz3Ts8GSGXGQ 4urtmB0yAqCIVmzZ6lIXDz3U+x/Zr2WzQuNXo50NWtgaJxIF1gFCSeafLdOxBMM/NH ulIy63uO1MWiQ== From: Conor Dooley <conor@kernel.org> To: palmer@dabbelt.com Cc: conor@kernel.org, Conor Dooley <conor.dooley@microchip.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Paul Walmsley <paul.walmsley@sifive.com>, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/6] dt-bindings: riscv: cpus: allow clocks property Date: Sat, 10 Jun 2023 18:24:49 +0100 Message-Id: <20230610-purge-pretended-a0815886d300@spud> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230610-snaking-version-81ae5abb7573@spud> References: <20230610-snaking-version-81ae5abb7573@spud> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=880; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=56khd3m28bySZd+RhG9G5vkREjzLjNJIdu3gjjupwM4=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCktGx9UJhbyHuKe7mvttKJwMtO1NM4DDMaCBrsTq4rsu BZkdod3lLIwiHEwyIopsiTe7muRWv/HZYdzz1uYOaxMIEMYuDgFYCIpuYwMHfcmPzA7naHwdvrP VT/POu8sjSs2PHN/4pKvjM9zL1RM3sXwv0Rr7mbOu2X+rrYHTy15/l027OB+w4VBHb8YnbxEDnz RZgIA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768337584816851293?= X-GMAIL-MSGID: =?utf-8?q?1768337584816851293?= |
Series |
dt-bindings: riscv: cpus: switch to unevaluatedProperties: false
|
|
Commit Message
Conor Dooley
June 10, 2023, 5:24 p.m. UTC
From: Conor Dooley <conor.dooley@microchip.com> Having disallowed additionalProperties, dtbs_check complains about unevaluated clocks properties. Permit a single clock, as that's all any current dts uses. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> --- Documentation/devicetree/bindings/riscv/cpus.yaml | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index e89a10d9c06b..3808a6703b2d 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -58,6 +58,9 @@ properties: Identifies that the hart uses the RISC-V instruction set and identifies the type of the hart. + clocks: + maxItems: 1 + mmu-type: description: Identifies the MMU address translation mode used on this