From patchwork Sat Jun 10 17:24:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 691258 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4735CC87FDD for ; Sat, 10 Jun 2023 17:25:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230041AbjFJRZW (ORCPT ); Sat, 10 Jun 2023 13:25:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230026AbjFJRZR (ORCPT ); Sat, 10 Jun 2023 13:25:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 399113598; Sat, 10 Jun 2023 10:25:17 -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 CB1CB611A5; Sat, 10 Jun 2023 17:25:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6377EC4339E; Sat, 10 Jun 2023 17:25:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686417916; bh=v1UrSNfLWrNGAmPVc1KJdoO4pG/6O2Mh0GZGIPz0/A4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ORGAxlFHkQ3ZHHANOC+UtsEuLI10MLZoN3T99DVNonN7otkMYIeJ44lVXOemdQsyL 6ZoeJemcCEjkZptDvm5nsAQorTHdZ0ysKFPuSo0Y/u83RC3mE7EZyUOW1/IDfPswyt ZqcZOru4TLVacbE3pYEpCzNJuqvRYVRLUgI0rqLR0C8U15VzEGA+XrgLL6Z8/YGuPp Em72uhsR9xWc0iVxtDb5evaBcDfhkSUr4AMWU+3Y3+7tUYb5F0sTqUcz6kkOChD3PE exJeMReWwrUmAD319dGgOXtqQy6J3TPRtd6PCBoYCJfKyjkmmf9i1RPhaIuZC7sN+G kmkh71DajuYig== From: Conor Dooley To: palmer@dabbelt.com Cc: conor@kernel.org, Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/6] dt-bindings: riscv: cpus: add a ref to thermal-cooling-cells Date: Sat, 10 Jun 2023 18:24:50 +0100 Message-Id: <20230610-antiques-provoking-f58da8e39262@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=810; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=X44cJQynNyxLh/lbSBWZ7y3BLAT7CFQ+L40vuT60PNk=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCktGx8qCVzRUiqUtpi0QbWzUzFQYdEurTsR2o0zLj2Kf 9TIz2XeUcrCIMbBICumyJJ4u69Fav0flx3OPW9h5rAygQxh4OIUgIm4b2Vk2C6ztf3XTmPzUo0f oQ8/N867LCZ+qKmRPyZBtvT92ZXqFowM+zkFpp++bHgsqDOSqS9dz7Slfsq5pV1c2+oSutfq3r7 EDgA= X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Conor Dooley With "additionalProperties: true" removed from cpus.yaml, dtbs_check complains that #cooling-cells is a disallowed property. Add a ref to the binding in which it is defined to satisfy the checks. Signed-off-by: Conor Dooley --- Documentation/devicetree/bindings/riscv/cpus.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index 3808a6703b2d..9bf2b72a9460 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -25,6 +25,7 @@ description: | allOf: - $ref: /schemas/cpu.yaml# + - $ref: /schemas/thermal/thermal-cooling-devices.yaml# properties: compatible: From patchwork Sat Jun 10 17:24:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 691257 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE4B8C87FE2 for ; Sat, 10 Jun 2023 17:25:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229897AbjFJRZY (ORCPT ); Sat, 10 Jun 2023 13:25:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbjFJRZU (ORCPT ); Sat, 10 Jun 2023 13:25:20 -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 9E5D73590; Sat, 10 Jun 2023 10:25:19 -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 1DD34611A5; Sat, 10 Jun 2023 17:25:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6A38C433EF; Sat, 10 Jun 2023 17:25:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686417918; bh=/RSEb/8qn2JLiYhnJeSUa2LgkGU8ITV00j06razkRQE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MKz//IfoXGIJk1GU06Ba9/I9/7ZmNONwLt8CzK8x+IPV1H2itwjKDt/WpAXMZ/Amc AqN5ATQtQql23Uq/mZ6VIOLcHi1v4bAfwmLIDT9Z1TgnrhgYZ/zF1qEnl7pk4f7xGx iCU/r7kifl4RxHD9wz6lp431152q8xA2CN27MgZe9++mn1A2Tatx7W/5L9vLw5F64I 3FUcPpMi13EQiAFRr05KldhNeCp21j/bA/c2XJ0CYklvOzNpbh+xWdq19ZvEFl6Jp6 qP0eQbxQ+6lC5KDwZ1MIPk5i0VK6BskVlgbGkYroaqAbpCJenkD4wLo72Udl7cHzfN FekWYHTiBr7Aw== From: Conor Dooley To: palmer@dabbelt.com Cc: conor@kernel.org, Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 4/6] dt-bindings: riscv: cpus: permit operating-points-v2 Date: Sat, 10 Jun 2023 18:24:51 +0100 Message-Id: <20230610-jacket-king-486b50a4e01d@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=888; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=ZN0D8JIh0ZTCyrgQ1QBX5wAql6+LOTcbl870BurJKZA=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCktGx/mXXoWcv3avliRBZZNMf9TLI7OKN/09sEutSJJ7 Q153Jted5SyMIhxMMiKKbIk3u5rkVr/x2WHc89bmDmsTCBDGLg4BWAivssY/ie6r/idKv/Wdo+z 08cdf0xZKwLWv9qWEJJ0/aDLc0u3/yGMDOfu8/z7eebuqzD7pZlX1Tezb5mWH/+Z8dTfhz0v5ty oe8kFAA== X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Conor Dooley To allow setting "unevaluatedProperties: false" for cpus.yaml, permit the operating points property for RISC-V cpu nodes. Signed-off-by: Conor Dooley --- Documentation/devicetree/bindings/riscv/cpus.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index 9bf2b72a9460..00d1e273f1a9 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -108,6 +108,7 @@ properties: # RISC-V has multiple properties for cache op block sizes as the sizes # differ between individual CBO extensions cache-op-block-size: false + operating-points-v2: true # RISC-V requires 'timebase-frequency' in /cpus, so disallow it here timebase-frequency: false From patchwork Sat Jun 10 17:24:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 691256 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6AA2C7EE2F for ; Sat, 10 Jun 2023 17:25:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229530AbjFJRZa (ORCPT ); Sat, 10 Jun 2023 13:25:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbjFJRZY (ORCPT ); Sat, 10 Jun 2023 13:25:24 -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 2655E3588; Sat, 10 Jun 2023 10:25:24 -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 B068B61564; Sat, 10 Jun 2023 17:25:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46019C4339C; Sat, 10 Jun 2023 17:25:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686417923; bh=tuqTKew1pmcWljWXjwIE2elKVYInmZpla1AX7Tht4Qg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oXBwE1ORTw48+VW7+mlJJrrhcA7HLqhUB+nf5HY9Xlztjidq61XVGXytcYEQ27ptM oPpZIvwcgdui/Bsiuj8ikSTclKZmSBL0Fpw8tEMETxt9E4ldi1j6ZR5+z1dle3spBL wcjZDQsaZ0pTRoJHgtkRSyjxxVFsNFVzxLFcAHHtoA7qmFzNxAQH0zSEjXpcave89b HhrC0EUXy6Q9al2iAxrIrirv5TcOfu18jvi1jYhVb1c3ven+s2sJbBZ2fgkM0Tjg8P 0WlQ4UueYqc89YpUZ0NtyDYHSsZn5kOaAvC3ElstCieo4nOwZ3wBXAXqK9hm3FEWsa c6qqVxvh9NPsg== From: Conor Dooley To: palmer@dabbelt.com Cc: conor@kernel.org, Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 6/6] dt-bindings: riscv: cpus: switch to unevaluatedProperties: false Date: Sat, 10 Jun 2023 18:24:53 +0100 Message-Id: <20230610-koala-bronze-3592637a5d1f@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=729; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=vzC5e7CTr+OJcy6GMX4g4oH7k/Hrsknp/1aNi4L7f2Y=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCktGx+emDH74qOflh+v/bC2/ByocltEcKedr2dId+3rg y9OGvwV6ShlYRDjYJAVU2RJvN3XIrX+j8sO5563MHNYmUCGMHBxCsBEslkZGRa+n5rY6vD+zadV fzef3sXSf+O60tuuSwaS0Y+3dfZrOUQy/BVsc8h4+GVB96vqpUc45tqt/jN/+kOpuoft/5cVu56 uCOUEAA== X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Conor Dooley To permit validation of cpu nodes, swap "additionalProperties: true" out for "unevaluatedProperties: false". Signed-off-by: Conor Dooley --- Documentation/devicetree/bindings/riscv/cpus.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index 5e2db35411f1..d82d5c872a0e 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -152,7 +152,7 @@ required: - riscv,isa - interrupt-controller -additionalProperties: true +unevaluatedProperties: false examples: - |