Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp284522pxj; Thu, 10 Jun 2021 00:11:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzF/vF0N5rH48hVfipeGEYbtkMse9ZfBEILymbKS6YRgU6qB+kqc6TkhdRBTwXChqNyGXFQ X-Received: by 2002:a50:9fe5:: with SMTP id c92mr3289652edf.93.1623309103784; Thu, 10 Jun 2021 00:11:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623309103; cv=none; d=google.com; s=arc-20160816; b=eL+vRBqAvPbsPCgOiWgpMzdrVMjKcHyYJrGNRPARK/xerrDes+in4GA9pFF2q1N61z 4q33Y6bdD4x5V0vesjvGvrJYNsd633lwjw/Jd2aCOIJGIQQ9OjTieP8kyCvadVoUnpmD J4sryZm6j29fw8Iu6N4RmaaAedePHi8Ig6u0hbzAJITrM+DLGEBVa27azD7ZXST4JAvh Ez8ATYtcERhsISd1LEMAFePi1t0246rhqxYg7KpsKWOC0jq+UctT4DSNKZ7W7vMesMYO QuQcJ+Hx4mgUxqfRYKrqp+aPvQTloavzrmvj36FKZ2fwt6prWwE/7YdqCgSKcFwjuJuH eovg== 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 :message-id:date:subject:cc:to:from; bh=yldIeKJ5hycWV2Kax3E3k+4M7RlPAJSqw+MR94pgf1g=; b=PPhBzTayyCzi+ZEJeYCEZEaUwPwV08aXrtyBoQxgP0RofPrtd0wOMZV9KJQxER9IZb dkFfFUzJ7D2PuTBlZhlge6M5VPFIR7WCoTT/skwpiyjmzCF6LmB6ny88US52b6ArRta9 zyxVDBNTkjqDhenWgUegzTZ158o3U506njgYzNzpuFORNfn98grToK8lJSpPKN2bPGIT cYpPyHqLM9Qj98NgMHrOMOgdf3vciROPg7ZPTOsdOj5QmfEh7gcHlKqItkn1WZPHEy3O M6x/TIkPX2FBYgybD0x9HrwnoWaoqa+JyQLMwCbqvqbHNgEPPkEPamcVvhZa4nT2Is6G L1AA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si1808692ejd.575.2021.06.10.00.11.20; Thu, 10 Jun 2021 00:11:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229705AbhFJHLq (ORCPT + 99 others); Thu, 10 Jun 2021 03:11:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229990AbhFJHLp (ORCPT ); Thu, 10 Jun 2021 03:11:45 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30946C061760 for ; Thu, 10 Jun 2021 00:09:49 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:a946:bccb:b1a1:3055]) by albert.telenet-ops.be with bizsmtp id FK9j250030wnyou06K9jcq; Thu, 10 Jun 2021 09:09:44 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lrEow-00FAQa-Le; Thu, 10 Jun 2021 09:09:42 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1lrEow-00B8dc-5T; Thu, 10 Jun 2021 09:09:42 +0200 From: Geert Uytterhoeven To: Luca Ceresoli , Michael Turquette , Stephen Boyd , Rob Herring Cc: Adam Ford , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Rob Herring Subject: [PATCH v6] dt-bindings: clk: versaclock5: Miscellaneous fixes and improvements: Date: Thu, 10 Jun 2021 09:09:40 +0200 Message-Id: <46310530171886c6ccf4046518e07510274a506c.1623308843.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - Add missing "additionalProperties: false" for subnodes, to catch typos in properties, - Fix property names in example. Fixes: 45c940184b501fc6 ("dt-bindings: clk: versaclock5: convert to yaml") Signed-off-by: Geert Uytterhoeven Reviewed-by: Luca Ceresoli Reviewed-by: Rob Herring Acked-by: Stephen Boyd --- This depends on dt-schema v2021.2.1. v6: - Rebase on top of commit c17611592d9635c4 ("dt-bindings: More removals of type references on common properties"), which already removed unneeded references for "idt,xtal-load-femtofarads" and "idt,slew-percent", v5: - Drop reference for "idt,xtal-load-femtofarads", v4: - Add Reviewed-by, Acked-by, v3: - Drop references for "idt,voltage-microvolt" and "idt,slew-percent", v2: - Settle on "idt,voltage-microvolt", cfr. commit 4b003f5fcadfa2d0 ('clk: vc5: Use "idt,voltage-microvolt" instead of "idt,voltage-microvolts"'), - Drop reference to clock.yaml, which is already applied unconditionally, - Drop removal of allOf around if condition, as it is unnecessary churn. --- .../devicetree/bindings/clock/idt,versaclock5.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml index 28675b0b80f1ba53..434212320c9aa7ab 100644 --- a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml +++ b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml @@ -85,6 +85,8 @@ patternProperties: description: The Slew rate control for CMOS single-ended. enum: [ 80, 85, 90, 100 ] + additionalProperties: false + required: - compatible - reg @@ -139,13 +141,13 @@ examples: clock-names = "xin"; OUT1 { - idt,drive-mode = ; - idt,voltage-microvolts = <1800000>; + idt,mode = ; + idt,voltage-microvolt = <1800000>; idt,slew-percent = <80>; }; OUT4 { - idt,drive-mode = ; + idt,mode = ; }; }; }; -- 2.25.1