From patchwork Sun Nov 5 18:41:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 161754 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2259171vqu; Sun, 5 Nov 2023 10:42:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdW9nMH8gFiqf1VyTkFnjr7jRqa4O5M7wv4D8uOevjcWc0CHXmUW6L3DARqiOfAkOGBicM X-Received: by 2002:a05:6a20:938c:b0:138:2fb8:6a14 with SMTP id x12-20020a056a20938c00b001382fb86a14mr33118507pzh.3.1699209744665; Sun, 05 Nov 2023 10:42:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699209744; cv=none; d=google.com; s=arc-20160816; b=eGcJMDcTjVil1QejB0UHZ8ypDf5R3MwhKYF5Iw4fafq8J+VKKbUTlbbPAWQJKH3pzW CuqBclIrG2qPGMjkqj2gsz/YxWiWiMwfns4mJ4pB0cFnAgXsE24dCN2i5GlX9EmjOGl2 3/sbtx9VuZsh0f3lhnqU+7Yccy0iWMGAIKXMrK0nTR4ozguqTN5eJ0UcL8BRZkB+iaT7 jfTW/BHfOD8khslGCIWKYpRqLnkStifSy/T3DRu+F05/EA6SPr/6xJcmtmZChZALugca RyAHGyGO0NRyF2fSwSRpKPzwSYf2XPT0ei73TPXhcpRyDmtvsHXTuOICOl9PsAIvyXSX 0g1w== 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:dkim-signature; bh=s6FXMyoR2RkXPnTlL3+97juQKdzA3iKTZ459azEjBsw=; fh=aQuMtR7fQ8vZV5uabmYxSJByhWn9oLJL2KYETGqRLXg=; b=RPKBnuwCcOE4D9Y81AYFbWG0oO0N+ZfJnrNub6wZa1YFtrNFSSZ5/44saAePgz4DOp P9uFgeNYJrRhDRjhZn48JhtyPrOQ2Q9UMmE7EeXma/cwA8W6q84d2JkJSCkOoXu2fNFU 8GY5QtCt3SoM3whr8rboVajQsNC7n93qohtLWBX5TCoPnJaLrXWelXh0qBGwkmUsbfAx LyOjrLn/pOmHqqokxsJARHS7XRzrKErh31yt7mxaCeGR4RsvSEnE1jdxvmQKzi//U/Hx CZWMzYUSGwBWLS/JWXNsZoMfIePU7XViXuxlCnb2z7dHRuIP5Mfm9V94i83G0sS5PgTo NSng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="F/uCba3N"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id bx8-20020a056a02050800b005bcfc4fffe4si6559483pgb.187.2023.11.05.10.42.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 10:42:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="F/uCba3N"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 9264D8063BF9; Sun, 5 Nov 2023 10:42:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229489AbjKESmF (ORCPT + 34 others); Sun, 5 Nov 2023 13:42:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjKESmF (ORCPT ); Sun, 5 Nov 2023 13:42:05 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CF38C0 for ; Sun, 5 Nov 2023 10:42:01 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-32deb2809daso2234988f8f.3 for ; Sun, 05 Nov 2023 10:42:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699209720; x=1699814520; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=s6FXMyoR2RkXPnTlL3+97juQKdzA3iKTZ459azEjBsw=; b=F/uCba3NEC5bzb8IP/RynFGDf+Cka/YY/OydrpQTAEApzF3epbVmB3d2ZH9MeOf5qP jpKUdFV/Z+NOp7gzdrnCTjZ12bGC0sxIf82WnGsKFB+jlO7N+HTKYCNP88gPM0qPf2Yj e+6Gv3e4yzswfOp9HCGUoDVQyMDvVazOG2jntteZYhSfV27LHnYaZDz4+lrjJYReTZoK 2I4305hbNGu/zD+pMhv5S57025OINFnVgFWKebnO8H28rvOQ2wFqsfyHFSRwAXsKKXYY 68Omun9f+cTg0sEUWwQH+Jlul0OfE8ep6eem7Qbey7ptcgmpttDFnfUgXXtjHPbpr+m9 jqYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699209720; x=1699814520; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=s6FXMyoR2RkXPnTlL3+97juQKdzA3iKTZ459azEjBsw=; b=cm64bFyWcinfZ2pFluTdiSP33SN9AEwLMSYcMIh8SXCfDEWHRdcU6IXGhsC55WazGr 1Z+EAy4Gj2MeLWxhUU/ceEvhAzFw5QM0Rt+sFMLko1XFZOs2vaIrfNztUG4CTsp3g4Mv nmYVuQ60T2kqYQb5M14WOkjfXH8saBFwMAioHDkO1LeRjWJyX5pdSVXWdsc9mhtk+olo y9q7R5r1aUesQTCjeKC/8NIWX4UATBDXoejIgDETuLmYUM7AuTghNrRh01FIqwSKap+/ qncCW61sYSlI9k57PZNJrho3nQNyhq2emz9aRheb+iMS9uvLPU+Z4teK1P8GjUF+bzb2 CdBA== X-Gm-Message-State: AOJu0YyUvm3Vf8gX7mJWsXnXv7oN1diWdhg8j5nl3IarIALPpgaEbw3J GY9k1CpVt4rNMnFb7fH/Q7ERsw== X-Received: by 2002:adf:f605:0:b0:32d:89b5:7fd9 with SMTP id t5-20020adff605000000b0032d89b57fd9mr19790945wrp.56.1699209719987; Sun, 05 Nov 2023 10:41:59 -0800 (PST) Received: from krzk-bin.. ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id z17-20020a5d44d1000000b00326b8a0e817sm7370111wrr.84.2023.11.05.10.41.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 10:41:59 -0800 (PST) From: Krzysztof Kozlowski To: =?unknown-8bit?q?Wim_Van_Sebroeck_=3Cwim=40linux-watchdog=2Eorg=3E=2C_Gu?= =?unknown-8bit?q?enter_Roeck_=3Clinux=40roeck-us=2Enet=3E=2C_Rob_Herring_?= =?unknown-8bit?q?=3Crobh+dt=40kernel=2Eorg=3E=2C_Krzysztof_Kozlowski_=3Ckrz?= =?unknown-8bit?q?ysztof=2Ekozlowski+dt=40linaro=2Eorg=3E=2C_Conor_Dooley_?= =?unknown-8bit?q?=3Cconor+dt=40kernel=2Eorg=3E=2C_Chen-Yu_Tsai_=3Cwens=40cs?= =?unknown-8bit?q?ie=2Eorg=3E=2C_Jernej_Skrabec_=3Cjernej=2Eskrabec=40gmail?= =?unknown-8bit?q?=2Ecom=3E=2C_Samuel_Holland_=3Csamuel=40sholland=2Eorg=3E?= =?unknown-8bit?q?=2C_Hector_Martin_=3Cmarcan=40marcan=2Est=3E=2C_Sven_Peter?= =?unknown-8bit?q?_=3Csven=40svenpeter=2Edev=3E=2C_Alyssa_Rosenzweig_=3Calys?= =?unknown-8bit?q?sa=40rosenzweig=2Eio=3E=2C_Julius_Werner_=3Cjwerner=40chro?= =?unknown-8bit?q?mium=2Eorg=3E=2C_Evan_Benn_=3Cevanbenn=40chromium=2Eorg=3E?= =?unknown-8bit?q?=2C_Florian_Fainelli_=3Cflorian=2Efainelli=40broadcom=2Eco?= =?unknown-8bit?q?m=3E=2C_Broadcom_internal_kernel_review_list_=3Cbcm-kernel?= =?unknown-8bit?q?-feedback-list=40broadcom=2Ecom=3E=2C_Maxime_Ripard_=3Cmri?= =?unknown-8bit?q?pard=40kernel=2Eorg=3E=2C_Oleksij_Rempel_=3Clinux=40rempel?= =?unknown-8bit?q?-privat=2Ede=3E=2C_Justin_Chen_=3Cjustinpopo6=40gmail=2Eco?= =?unknown-8bit?q?m=3E=2C_=82ecki__=3Crafal=40milecki=2Epl=3E=2C_Baruch_Siac?= =?unknown-8bit?q?h_=3Cbaruch=40tkos=2Eco=2Eil=3E=2C_Ahmad_Zainie_=3Cwan=2Ea?= =?unknown-8bit?q?hmad=2Ezainie=2Ewan=2Emohamad=40intel=2Ecom=3E=2C_Marc_Zyn?= =?unknown-8bit?q?gier_=3Cmaz=40kernel=2Eorg=3E=2C_Linus_Walleij_=3Clinus=2E?= =?unknown-8bit?q?walleij=40linaro=2Eorg=3E=2C_Jamie_Iles_=3Cjamie=40jamieil?= =?unknown-8bit?q?es=2Ecom=3E=2C_linux-watchdog=40vger=2Ekernel=2Eorg=2C_dev?= =?unknown-8bit?q?icetree=40vger=2Ekernel=2Eorg=2C_linux-arm-kernel=40lists?= =?unknown-8bit?q?=2Einfradead=2Eorg=2C_linux-sunxi=40lists=2Elinux=2Edev=2C?= =?unknown-8bit?q?_linux-kernel=40vger=2Ekernel=2Eorg=2C_asahi=40lists=2Elin?= =?unknown-8bit?q?ux=2Edev?= Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] dt-bindings: watchdog: re-order entries to match coding convention Date: Sun, 5 Nov 2023 19:41:53 +0100 Message-Id: <20231105184154.43700-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sun, 05 Nov 2023 10:42:19 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781750557425962032 X-GMAIL-MSGID: 1781750557425962032 The Devicetree bindings coding convention, as used in most of the files and expressed in Documentation/devicetree/bindings/example-schema.yaml, expects: 1. "allOf:" block just before "properties:" (or after "required:" for more complex cases), 2. additionalProperties/unevaluatedProperties at the end of the file, just before the examples section. Re-order few schemas to match the convention to avoid repeating review comments for new patches using existing code as template. No functional changes. Signed-off-by: Krzysztof Kozlowski Acked-by: Guenter Roeck Acked-by: Rob Herring --- .../bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 6 +++--- .../bindings/watchdog/alphascale,asm9260-wdt.yaml | 6 +++--- .../devicetree/bindings/watchdog/apple,wdt.yaml | 6 +++--- .../devicetree/bindings/watchdog/arm-smc-wdt.yaml | 6 +++--- .../devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml | 10 +++++----- .../devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml | 6 +++--- .../devicetree/bindings/watchdog/maxim,max63xx.yaml | 8 ++++---- .../devicetree/bindings/watchdog/snps,dw-wdt.yaml | 10 +++++----- 8 files changed, 29 insertions(+), 29 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml index 274519fc24fd..64c8f7393809 100644 --- a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml @@ -6,13 +6,13 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Allwinner A10 Watchdog -allOf: - - $ref: watchdog.yaml# - maintainers: - Chen-Yu Tsai - Maxime Ripard +allOf: + - $ref: watchdog.yaml# + properties: compatible: oneOf: diff --git a/Documentation/devicetree/bindings/watchdog/alphascale,asm9260-wdt.yaml b/Documentation/devicetree/bindings/watchdog/alphascale,asm9260-wdt.yaml index fea84f5b7e6d..6425fe51d20c 100644 --- a/Documentation/devicetree/bindings/watchdog/alphascale,asm9260-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/alphascale,asm9260-wdt.yaml @@ -6,12 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Alphascale asm9260 Watchdog timer -allOf: - - $ref: watchdog.yaml# - maintainers: - Oleksij Rempel +allOf: + - $ref: watchdog.yaml# + properties: compatible: const: alphascale,asm9260-wdt diff --git a/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml b/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml index 929681127df0..21872e15916c 100644 --- a/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml @@ -6,12 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Apple SoC Watchdog -allOf: - - $ref: watchdog.yaml# - maintainers: - Sven Peter +allOf: + - $ref: watchdog.yaml# + properties: compatible: items: diff --git a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml index b5573852ef5a..8e9d0b7e8244 100644 --- a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml @@ -6,12 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: ARM Secure Monitor Call based watchdog -allOf: - - $ref: watchdog.yaml# - maintainers: - Julius Werner +allOf: + - $ref: watchdog.yaml# + properties: compatible: enum: diff --git a/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml b/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml index 526ff908d134..e898167ef628 100644 --- a/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml @@ -6,14 +6,14 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: BCM63xx and BCM7038 watchdog timer -allOf: - - $ref: watchdog.yaml# - maintainers: - Florian Fainelli - Justin Chen - Rafał Miłecki +allOf: + - $ref: watchdog.yaml# + properties: compatible: enum: @@ -29,11 +29,11 @@ properties: The clock running the watchdog. If no clock is found the driver will default to 27000000 Hz. -unevaluatedProperties: false - required: - reg +unevaluatedProperties: false + examples: - | watchdog@f040a7e8 { diff --git a/Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml b/Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml index 1844d7e026fe..13236ee61f6f 100644 --- a/Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml @@ -12,12 +12,12 @@ description: | timer counters. The first timer (called "Timer A") is the only one that can be used as watchdog. -allOf: - - $ref: watchdog.yaml# - maintainers: - Baruch Siach +allOf: + - $ref: watchdog.yaml# + properties: compatible: const: cnxt,cx92755-wdt diff --git a/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml b/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml index 1a6490c43d89..442c21f12a3b 100644 --- a/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml +++ b/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml @@ -6,14 +6,14 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Maxim 63xx Watchdog Timers -allOf: - - $ref: watchdog.yaml# - - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# - maintainers: - Marc Zyngier - Linus Walleij +allOf: + - $ref: watchdog.yaml# + - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# + properties: compatible: enum: diff --git a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml index 76eceeddd150..c7aab0418a32 100644 --- a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml @@ -6,12 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Synopsys Designware Watchdog Timer -allOf: - - $ref: watchdog.yaml# - maintainers: - Jamie Iles +allOf: + - $ref: watchdog.yaml# + properties: compatible: oneOf: @@ -73,13 +73,13 @@ properties: minItems: 16 maxItems: 16 -unevaluatedProperties: false - required: - compatible - reg - clocks +unevaluatedProperties: false + examples: - | watchdog@ffd02000 {