From patchwork Sat Apr 15 09:51:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 674484 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 427F5C77B71 for ; Sat, 15 Apr 2023 09:58:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229890AbjDOJ6R (ORCPT ); Sat, 15 Apr 2023 05:58:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjDOJ6Q (ORCPT ); Sat, 15 Apr 2023 05:58:16 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4718C40D4 for ; Sat, 15 Apr 2023 02:58:14 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id dm2so51805619ejc.8 for ; Sat, 15 Apr 2023 02:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681552693; x=1684144693; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qBW7voqUuCZ1/G9Ruo0KBFBVOsPyocZSL7gk/zrdikA=; b=vV0UVC8YX5hmGr0O97HyyHm2Xo8rJmT7MUThJiturG/vbsOZEQRCW+4Z0YLug1TOuA 9Fl8JfgAPV0dxpjL6yz1awbckIWcCiv4Hd8gj0dA972smjEZDmZv4JjOqq7iZVpBW1sY mF5wUG94gjCJkPbW3xKn1lVAPzwYVtZa1qeOWVyYbG8fUaE7YKWfd8oS2zh10JImfbRT O8lCVvmjaHsSea0ZY/SQAum9EPpDkCtdmnt2u3aFbMLw2G9sg2x+R/EdSXH/RcSPmxwH Iu3rdR7zRs4CK/5xpJtAtfDsmNTydHU8iff+2leZXDusAHTEaDLK7m0Ywax1Mb5TkID/ qMrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681552693; x=1684144693; 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=qBW7voqUuCZ1/G9Ruo0KBFBVOsPyocZSL7gk/zrdikA=; b=KJcMvAALs1MNSbml+fB9VzCJ2i/SdVv9kSZTce04GuTH7kXRf84gNwmrfi4A/xOkuO 2BIQjchTrWy61/FW7mo6jENEaeoLcs4kiosH1J5z3E43kai64eis/GAIuGtw567buAgM gELcmQGg6GPSXf02qan01wuh+eQj3Cpdz1YBBqY4qtGepGmBGWZbpLP4ZNhJU7RH2Tqh HvUwefdyaKMzCgqSCbNMWjtvvG40QR3eyrLzOBMvoDzdeoDfMUupGkkPfXG8BpedbQk0 SGloaOIk/m6T6I82i4svI7M+EpL9bhyEBKvD1OpQb2YW39YzdBBgpgzAy1cBetI0/MeF tecQ== X-Gm-Message-State: AAQBX9f4OOKaASIsI5FhTQ1uq1PDLqpSlgUCDSAaDnqhYK/5UyWqAulo HTeO1TRiRLKZ7ZUom3B31xkpXQ== X-Google-Smtp-Source: AKy350ZYKRSYuyMEh5n5Qwf2//t0LPyGrPZqab6XuiqTfYLkjAF0dCA9it0pvgVfMz92eYuf6M/tYA== X-Received: by 2002:a17:907:1245:b0:94e:6294:9d23 with SMTP id wc5-20020a170907124500b0094e62949d23mr1342399ejb.26.1681552692687; Sat, 15 Apr 2023 02:58:12 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:a3bf:4ed:6c53:2a36]) by smtp.gmail.com with ESMTPSA id gn23-20020a1709070d1700b009373f1b5c4esm3594248ejc.161.2023.04.15.02.58.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 02:58:12 -0700 (PDT) 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_Neil_Armstrong_?= =?unknown-8bit?q?=3Cneil=2Earmstrong=40linaro=2Eorg=3E=2C_Kevin_Hilman_=3Ck?= =?unknown-8bit?q?hilman=40baylibre=2Ecom=3E=2C_Jerome_Brunet_=3Cjbrunet=40b?= =?unknown-8bit?q?aylibre=2Ecom=3E=2C_Martin_Blumenstingl_=3Cmartin=2Eblumen?= =?unknown-8bit?q?stingl=40googlemail=2Ecom=3E=2C_Julius_Werner_=3Cjwerner?= =?unknown-8bit?q?=40chromium=2Eorg=3E=2C_Evan_Benn_=3Cevanbenn=40chromium?= =?unknown-8bit?q?=2Eorg=3E=2C_Nicolas_Ferre_=3Cnicolas=2Eferre=40microchip?= =?unknown-8bit?q?=2Ecom=3E=2C_Alexandre_Belloni_=3Calexandre=2Ebelloni=40bo?= =?unknown-8bit?q?otlin=2Ecom=3E=2C_Claudiu_Beznea_=3Cclaudiu=2Ebeznea=40mic?= =?unknown-8bit?q?rochip=2Ecom=3E=2C_Florian_Fainelli_=3Cf=2Efainelli=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_Broadcom_internal_kernel_review_list__=3Cbcm?= =?unknown-8bit?q?-kernel-feedback-list=40broadcom=2Ecom=3E=2C_Shawn_Guo_=3C?= =?unknown-8bit?q?shawnguo=40kernel=2Eorg=3E=2C_Sascha_Hauer_=3Cs=2Ehauer=40?= =?unknown-8bit?q?pengutronix=2Ede=3E=2C_Pengutronix_Kernel_Team_=3Ckernel?= =?unknown-8bit?q?=40pengutronix=2Ede=3E=2C_Fabio_Estevam_=3Cfestevam=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_NXP_Linux_Team_=3Clinux-imx=40nxp=2Ecom=3E?= =?unknown-8bit?q?=2C_Matthias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_AngeloGioacchino_Del_Regno__=3Cangelogioacchino=2Edelregn?= =?unknown-8bit?q?o=40collabora=2Ecom=3E=2C_Andy_Gross_=3Cagross=40kernel=2E?= =?unknown-8bit?q?org=3E=2C_Bjorn_Andersson_=3Candersson=40kernel=2Eorg=3E?= =?unknown-8bit?q?=2C_Konrad_Dybcio_=3Ckonrad=2Edybcio=40linaro=2Eorg=3E=2C_?= =?unknown-8bit?q?Sander_Vanheule_=3Csander=40svanheule=2Enet=3E=2C_Maxime_C?= =?unknown-8bit?q?oquelin_=3Cmcoquelin=2Estm32=40gmail=2Ecom=3E=2C_Alexandre?= =?unknown-8bit?q?_Torgue_=3Calexandre=2Etorgue=40foss=2Est=2Ecom=3E=2C_Nobu?= =?unknown-8bit?q?hiro_Iwamatsu_=3Cnobuhiro1=2Eiwamatsu=40toshiba=2Eco=2Ejp?= =?unknown-8bit?q?=3E=2C_Geert_Uytterhoeven_=3Cgeert+renesas=40glider=2Ebe?= =?unknown-8bit?q?=3E=2C_Magnus_Damm_=3Cmagnus=2Edamm=40gmail=2Ecom=3E=2C_Fu?= =?unknown-8bit?q?_Wei_=3Cfu=2Ewei=40linaro=2Eorg=3E=2C_Viresh_Kumar_=3Cvire?= =?unknown-8bit?q?shk=40kernel=2Eorg=3E=2C_Eugen_Hristev_=3Ceugen=2Ehristev?= =?unknown-8bit?q?=40collabora=2Ecom=3E=2C_Justin_Chen_=3Cjustinpopo6=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_=82ecki__=3Crafal=40milecki=2Epl=3E=2C_Linus?= =?unknown-8bit?q?_Walleij_=3Clinus=2Ewalleij=40linaro=2Eorg=3E=2C_Corentin_?= =?unknown-8bit?q?Labbe_=3Cclabbe=40baylibre=2Ecom=3E=2C_Anson_Huang_=3CAnso?= =?unknown-8bit?q?n=2EHuang=40nxp=2Ecom=3E=2C_Robert_Marko_=3Crobert=2Emarko?= =?unknown-8bit?q?=40sartura=2Ehr=3E=2C_Sergio_Paracuellos_=3Csergio=2Eparac?= =?unknown-8bit?q?uellos=40gmail=2Ecom=3E=2C_Sai_Prakash_Ranjan_=3Cquic=5Fsa?= =?unknown-8bit?q?ipraka=40quicinc=2Ecom=3E=2C_Wolfram_Sang_=3Cwsa+renesas?= =?unknown-8bit?q?=40sang-engineering=2Ecom=3E=2C_Jamie_Iles_=3Cjamie=40jami?= =?unknown-8bit?q?eiles=2Ecom=3E=2C_Yannick_Fertre_=3Cyannick=2Efertre=40fos?= =?unknown-8bit?q?s=2Est=2Ecom=3E=2C_Christophe_Roullier_=3Cchristophe=2Erou?= =?unknown-8bit?q?llier=40foss=2Est=2Ecom=3E=2C_Shubhrajyoti_Datta_=3Cshubhr?= =?unknown-8bit?q?ajyoti=2Edatta=40xilinx=2Ecom=3E=2C_Srinivas_Neeli_=3Csrin?= =?unknown-8bit?q?ivas=2Eneeli=40xilinx=2Ecom=3E=2C_linux-watchdog=40vger=2E?= =?unknown-8bit?q?kernel=2Eorg=2C_devicetree=40vger=2Ekernel=2Eorg=2C_linux-?= =?unknown-8bit?q?arm-kernel=40lists=2Einfradead=2Eorg=2C_linux-amlogic=40li?= =?unknown-8bit?q?sts=2Einfradead=2Eorg=2C_linux-kernel=40vger=2Ekernel=2Eor?= =?unknown-8bit?q?g=2C_linux-mediatek=40lists=2Einfradead=2Eorg=2C_linux-arm?= =?unknown-8bit?q?-msm=40vger=2Ekernel=2Eorg=2C_linux-stm32=40st-md-mailman?= =?unknown-8bit?q?=2Estormreply=2Ecom=2C_linux-renesas-soc=40vger=2Ekernel?= =?unknown-8bit?q?=2Eorg?= Cc: Krzysztof Kozlowski Subject: [PATCH 1/6] dt-bindings: watchdog: drop duplicated GPIO watchdog bindings Date: Sat, 15 Apr 2023 11:51:07 +0200 Message-Id: <20230415095112.51257-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Two conversions to DT schema of GPIO watchdog binding happened and came through different trees. Merge them into one: 1. Combine maintainers, 2. Use more descriptive property descriptions and constraints from gpio-wdt.yaml, 3. Switch to unevaluatedProperties:false, to allow generic watchdog properties. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/watchdog/gpio-wdt.yaml | 55 ------------------- .../bindings/watchdog/linux,wdt-gpio.yaml | 17 +++++- 2 files changed, 15 insertions(+), 57 deletions(-) delete mode 100644 Documentation/devicetree/bindings/watchdog/gpio-wdt.yaml diff --git a/Documentation/devicetree/bindings/watchdog/gpio-wdt.yaml b/Documentation/devicetree/bindings/watchdog/gpio-wdt.yaml deleted file mode 100644 index 155dc7965e9b..000000000000 --- a/Documentation/devicetree/bindings/watchdog/gpio-wdt.yaml +++ /dev/null @@ -1,55 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/gpio-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GPIO controlled watchdog - -maintainers: - - Robert Marko - -properties: - compatible: - const: linux,wdt-gpio - - gpios: - maxItems: 1 - description: GPIO connected to the WDT reset pin - - hw_algo: - $ref: /schemas/types.yaml#/definitions/string - description: Algorithm used by the driver - oneOf: - - description: - Either a high-to-low or a low-to-high transition clears the WDT counter. - The watchdog timer is disabled when GPIO is left floating or connected - to a three-state buffer. - const: toggle - - description: - Low or high level starts counting WDT timeout, the opposite level - disables the WDT. - Active level is determined by the GPIO flags. - const: level - - hw_margin_ms: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Maximum time to reset watchdog circuit (in milliseconds) - minimum: 2 - maximum: 65535 - - always-running: - type: boolean - description: - If the watchdog timer cannot be disabled, add this flag to have the driver - keep toggling the signal without a client. - It will only cease to toggle the signal when the device is open and the - timeout elapsed. - -required: - - compatible - - gpios - - hw_algo - - hw_margin_ms - -unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/watchdog/linux,wdt-gpio.yaml b/Documentation/devicetree/bindings/watchdog/linux,wdt-gpio.yaml index 50af79af6416..499f1b7e03f9 100644 --- a/Documentation/devicetree/bindings/watchdog/linux,wdt-gpio.yaml +++ b/Documentation/devicetree/bindings/watchdog/linux,wdt-gpio.yaml @@ -8,6 +8,7 @@ title: GPIO-controlled Watchdog maintainers: - Guenter Roeck + - Robert Marko properties: compatible: @@ -19,11 +20,23 @@ properties: hw_algo: description: The algorithm used by the driver. - enum: [ level, toggle ] + oneOf: + - description: + Either a high-to-low or a low-to-high transition clears the WDT counter. + The watchdog timer is disabled when GPIO is left floating or connected + to a three-state buffer. + const: toggle + - description: + Low or high level starts counting WDT timeout, the opposite level + disables the WDT. + Active level is determined by the GPIO flags. + const: level hw_margin_ms: description: Maximum time to reset watchdog circuit (milliseconds). $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 2 + maximum: 65535 always-running: type: boolean @@ -42,7 +55,7 @@ required: allOf: - $ref: watchdog.yaml# -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Sat Apr 15 09:51:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 673589 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 04345C77B71 for ; Sat, 15 Apr 2023 09:58:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230091AbjDOJ6W (ORCPT ); Sat, 15 Apr 2023 05:58:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230036AbjDOJ6U (ORCPT ); Sat, 15 Apr 2023 05:58:20 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B14E549EF for ; Sat, 15 Apr 2023 02:58:16 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id qb20so51294067ejc.6 for ; Sat, 15 Apr 2023 02:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681552695; x=1684144695; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CmxkZcjuc9h3zUcXWa8XXrQDCIFUkDmlnhNQOMaskCY=; b=veMCUgsXeYcj50yeemx75bwT83FvJTk2oUF3q/Hp8U00+ppyS8TnLbjyVfkFLybTnB iAT+SvYZo2Ul7VmEb6ROQpTUYbdR7wg/zM+IC1QoeS4ZMVJewIZkRoiYIxiCEcgz1pnk Ia8kDjXb7ooOzWk+BgKaiVVzk5u8WOCQyOZ3zGrCenLxHTLB30YgQd33EHQpqEeWNN/h RiFnz+kdbeIQs7Nqn+y3t70aa9dK38iqjkx4u2S3ts1vEajN5Jvk8vg88xt2qW7OHNnD gwLZwCg6DhRMY1YJ6ajHQQvpXxaSJ6QEp7nqwtiTC/jHo7RtaaUzxaULAbm7jgIGDSpD FKiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681552695; x=1684144695; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CmxkZcjuc9h3zUcXWa8XXrQDCIFUkDmlnhNQOMaskCY=; b=LIHPfXYtj9QaeTf4zpm59wrgl5FmnqtgdvbVsskeLvCpGXiErlBnfzzYEPOG7U3cKQ 3GEdCv5XKMIL8sctiU4OyW/7FBPnv9xtlSYZEOo6bcvBHTeWvQMFTCCaiJlOaWzuAvvt RntSkuQ1ZUQ6ZrM86L7FbYRHD97boh15j6KuHeyj6xN/h/VlDqxbiOga72lIR1l85kii 2cayJAebADSBbRC+txfyNzNJMqwXhkyX/Y2N+V0R4Nr9dfu3dih2EQcaZ0Y+TfnrUh/b zJvLNzqNN25LKeZDd8EYc4w2HlHhXLrY5QlsH7MNVgatU8hQzDXzSkbZ1s8wvZOUJIUu andA== X-Gm-Message-State: AAQBX9cPxGyJ3xyiKt+0UYDE2qAvDdrQuvYtmZeFXcqCzyOFwT5utshj cUPx0nQG/8aXAOt4z3kbBdXPAA== X-Google-Smtp-Source: AKy350bO9nbXwbWqp+m9c6xd/y0XxBKrHf9YMvk/RebBUko3pSASrl/8sZ/3IvcoHy11DMakiSbHAg== X-Received: by 2002:a17:907:210e:b0:879:ab3:93cd with SMTP id qn14-20020a170907210e00b008790ab393cdmr1497819ejb.46.1681552695051; Sat, 15 Apr 2023 02:58:15 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:a3bf:4ed:6c53:2a36]) by smtp.gmail.com with ESMTPSA id gn23-20020a1709070d1700b009373f1b5c4esm3594248ejc.161.2023.04.15.02.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 02:58:14 -0700 (PDT) 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_Neil_Armstrong_?= =?unknown-8bit?q?=3Cneil=2Earmstrong=40linaro=2Eorg=3E=2C_Kevin_Hilman_=3Ck?= =?unknown-8bit?q?hilman=40baylibre=2Ecom=3E=2C_Jerome_Brunet_=3Cjbrunet=40b?= =?unknown-8bit?q?aylibre=2Ecom=3E=2C_Martin_Blumenstingl_=3Cmartin=2Eblumen?= =?unknown-8bit?q?stingl=40googlemail=2Ecom=3E=2C_Julius_Werner_=3Cjwerner?= =?unknown-8bit?q?=40chromium=2Eorg=3E=2C_Evan_Benn_=3Cevanbenn=40chromium?= =?unknown-8bit?q?=2Eorg=3E=2C_Nicolas_Ferre_=3Cnicolas=2Eferre=40microchip?= =?unknown-8bit?q?=2Ecom=3E=2C_Alexandre_Belloni_=3Calexandre=2Ebelloni=40bo?= =?unknown-8bit?q?otlin=2Ecom=3E=2C_Claudiu_Beznea_=3Cclaudiu=2Ebeznea=40mic?= =?unknown-8bit?q?rochip=2Ecom=3E=2C_Florian_Fainelli_=3Cf=2Efainelli=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_Broadcom_internal_kernel_review_list__=3Cbcm?= =?unknown-8bit?q?-kernel-feedback-list=40broadcom=2Ecom=3E=2C_Shawn_Guo_=3C?= =?unknown-8bit?q?shawnguo=40kernel=2Eorg=3E=2C_Sascha_Hauer_=3Cs=2Ehauer=40?= =?unknown-8bit?q?pengutronix=2Ede=3E=2C_Pengutronix_Kernel_Team_=3Ckernel?= =?unknown-8bit?q?=40pengutronix=2Ede=3E=2C_Fabio_Estevam_=3Cfestevam=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_NXP_Linux_Team_=3Clinux-imx=40nxp=2Ecom=3E?= =?unknown-8bit?q?=2C_Matthias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_AngeloGioacchino_Del_Regno__=3Cangelogioacchino=2Edelregn?= =?unknown-8bit?q?o=40collabora=2Ecom=3E=2C_Andy_Gross_=3Cagross=40kernel=2E?= =?unknown-8bit?q?org=3E=2C_Bjorn_Andersson_=3Candersson=40kernel=2Eorg=3E?= =?unknown-8bit?q?=2C_Konrad_Dybcio_=3Ckonrad=2Edybcio=40linaro=2Eorg=3E=2C_?= =?unknown-8bit?q?Sander_Vanheule_=3Csander=40svanheule=2Enet=3E=2C_Maxime_C?= =?unknown-8bit?q?oquelin_=3Cmcoquelin=2Estm32=40gmail=2Ecom=3E=2C_Alexandre?= =?unknown-8bit?q?_Torgue_=3Calexandre=2Etorgue=40foss=2Est=2Ecom=3E=2C_Nobu?= =?unknown-8bit?q?hiro_Iwamatsu_=3Cnobuhiro1=2Eiwamatsu=40toshiba=2Eco=2Ejp?= =?unknown-8bit?q?=3E=2C_Geert_Uytterhoeven_=3Cgeert+renesas=40glider=2Ebe?= =?unknown-8bit?q?=3E=2C_Magnus_Damm_=3Cmagnus=2Edamm=40gmail=2Ecom=3E=2C_Fu?= =?unknown-8bit?q?_Wei_=3Cfu=2Ewei=40linaro=2Eorg=3E=2C_Viresh_Kumar_=3Cvire?= =?unknown-8bit?q?shk=40kernel=2Eorg=3E=2C_Eugen_Hristev_=3Ceugen=2Ehristev?= =?unknown-8bit?q?=40collabora=2Ecom=3E=2C_Justin_Chen_=3Cjustinpopo6=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_=82ecki__=3Crafal=40milecki=2Epl=3E=2C_Linus?= =?unknown-8bit?q?_Walleij_=3Clinus=2Ewalleij=40linaro=2Eorg=3E=2C_Corentin_?= =?unknown-8bit?q?Labbe_=3Cclabbe=40baylibre=2Ecom=3E=2C_Anson_Huang_=3CAnso?= =?unknown-8bit?q?n=2EHuang=40nxp=2Ecom=3E=2C_Robert_Marko_=3Crobert=2Emarko?= =?unknown-8bit?q?=40sartura=2Ehr=3E=2C_Sergio_Paracuellos_=3Csergio=2Eparac?= =?unknown-8bit?q?uellos=40gmail=2Ecom=3E=2C_Sai_Prakash_Ranjan_=3Cquic=5Fsa?= =?unknown-8bit?q?ipraka=40quicinc=2Ecom=3E=2C_Wolfram_Sang_=3Cwsa+renesas?= =?unknown-8bit?q?=40sang-engineering=2Ecom=3E=2C_Jamie_Iles_=3Cjamie=40jami?= =?unknown-8bit?q?eiles=2Ecom=3E=2C_Yannick_Fertre_=3Cyannick=2Efertre=40fos?= =?unknown-8bit?q?s=2Est=2Ecom=3E=2C_Christophe_Roullier_=3Cchristophe=2Erou?= =?unknown-8bit?q?llier=40foss=2Est=2Ecom=3E=2C_Shubhrajyoti_Datta_=3Cshubhr?= =?unknown-8bit?q?ajyoti=2Edatta=40xilinx=2Ecom=3E=2C_Srinivas_Neeli_=3Csrin?= =?unknown-8bit?q?ivas=2Eneeli=40xilinx=2Ecom=3E=2C_linux-watchdog=40vger=2E?= =?unknown-8bit?q?kernel=2Eorg=2C_devicetree=40vger=2Ekernel=2Eorg=2C_linux-?= =?unknown-8bit?q?arm-kernel=40lists=2Einfradead=2Eorg=2C_linux-amlogic=40li?= =?unknown-8bit?q?sts=2Einfradead=2Eorg=2C_linux-kernel=40vger=2Ekernel=2Eor?= =?unknown-8bit?q?g=2C_linux-mediatek=40lists=2Einfradead=2Eorg=2C_linux-arm?= =?unknown-8bit?q?-msm=40vger=2Ekernel=2Eorg=2C_linux-stm32=40st-md-mailman?= =?unknown-8bit?q?=2Estormreply=2Ecom=2C_linux-renesas-soc=40vger=2Ekernel?= =?unknown-8bit?q?=2Eorg?= Cc: Krzysztof Kozlowski Subject: [PATCH 2/6] dt-bindings: watchdog: indentation, quotes and white-space cleanup Date: Sat, 15 Apr 2023 11:51:08 +0200 Message-Id: <20230415095112.51257-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230415095112.51257-1-krzysztof.kozlowski@linaro.org> References: <20230415095112.51257-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Minor cleanup without functional impact: 1. Indent DTS examples to preferred four-spaces (more readable for DTS), 2. Drop unneeded quotes, 3. Add/drop blank lines to make the code readable. Signed-off-by: Krzysztof Kozlowski Acked-by: Sergio Paracuellos Acked-by: Justin Chen Reviewed-by: Wolfram Sang # for Renesas WDT Acked-by: Neil Armstrong Reviewed-by: Geert Uytterhoeven --- .../watchdog/amlogic,meson-gxbb-wdt.yaml | 10 +++--- .../bindings/watchdog/arm,sbsa-gwdt.yaml | 1 - .../bindings/watchdog/arm,twd-wdt.yaml | 6 ++-- .../bindings/watchdog/arm-smc-wdt.yaml | 7 ++-- .../bindings/watchdog/atmel,sama5d4-wdt.yaml | 14 ++++---- .../bindings/watchdog/brcm,bcm7038-wdt.yaml | 6 ++-- .../bindings/watchdog/faraday,ftwdt010.yaml | 16 +++++----- .../watchdog/mediatek,mt7621-wdt.yaml | 6 ++-- .../bindings/watchdog/qcom-wdt.yaml | 32 +++++++++---------- .../bindings/watchdog/renesas,wdt.yaml | 14 ++++---- .../bindings/watchdog/snps,dw-wdt.yaml | 32 +++++++++---------- .../bindings/watchdog/st,stm32-iwdg.yaml | 10 +++--- .../watchdog/xlnx,xps-timebase-wdt.yaml | 12 +++---- 13 files changed, 83 insertions(+), 83 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml index 497d60408ea0..f5cc7aa1b93b 100644 --- a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml @@ -2,8 +2,8 @@ # Copyright 2019 BayLibre, SAS %YAML 1.2 --- -$id: "http://devicetree.org/schemas/watchdog/amlogic,meson-gxbb-wdt.yaml#" -$schema: "http://devicetree.org/meta-schemas/core.yaml#" +$id: http://devicetree.org/schemas/watchdog/amlogic,meson-gxbb-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# title: Meson GXBB SoCs Watchdog timer @@ -36,7 +36,7 @@ unevaluatedProperties: false examples: - | watchdog@98d0 { - compatible = "amlogic,meson-gxbb-wdt"; - reg = <0x98d0 0x10>; - clocks = <&xtal>; + compatible = "amlogic,meson-gxbb-wdt"; + reg = <0x98d0 0x10>; + clocks = <&xtal>; }; diff --git a/Documentation/devicetree/bindings/watchdog/arm,sbsa-gwdt.yaml b/Documentation/devicetree/bindings/watchdog/arm,sbsa-gwdt.yaml index 6bfa46353c4e..aa804f96acba 100644 --- a/Documentation/devicetree/bindings/watchdog/arm,sbsa-gwdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/arm,sbsa-gwdt.yaml @@ -40,7 +40,6 @@ unevaluatedProperties: false examples: - | - watchdog@2a440000 { compatible = "arm,sbsa-gwdt"; reg = <0x2a440000 0x1000>, diff --git a/Documentation/devicetree/bindings/watchdog/arm,twd-wdt.yaml b/Documentation/devicetree/bindings/watchdog/arm,twd-wdt.yaml index bb8901854222..9646ac72051e 100644 --- a/Documentation/devicetree/bindings/watchdog/arm,twd-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/arm,twd-wdt.yaml @@ -44,7 +44,7 @@ examples: #include watchdog@2c000620 { - compatible = "arm,arm11mp-twd-wdt"; - reg = <0x2c000620 0x20>; - interrupts = ; + compatible = "arm,arm11mp-twd-wdt"; + reg = <0x2c000620 0x20>; + interrupts = ; }; diff --git a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml index fa05d6252982..b5573852ef5a 100644 --- a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml @@ -16,6 +16,7 @@ properties: compatible: enum: - arm,smc-wdt + arm,smc-id: $ref: /schemas/types.yaml#/definitions/uint32 description: | @@ -30,9 +31,9 @@ unevaluatedProperties: false examples: - | watchdog { - compatible = "arm,smc-wdt"; - arm,smc-id = <0x82003D06>; - timeout-sec = <15>; + compatible = "arm,smc-wdt"; + arm,smc-id = <0x82003D06>; + timeout-sec = <15>; }; ... diff --git a/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml b/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml index b28f7b57c36b..816f85ee2c77 100644 --- a/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml @@ -65,13 +65,13 @@ examples: #include watchdog@fc068640 { - compatible = "atmel,sama5d4-wdt"; - reg = <0xfc068640 0x10>; - interrupts = <4 IRQ_TYPE_LEVEL_HIGH 5>; - timeout-sec = <10>; - atmel,watchdog-type = "hardware"; - atmel,dbg-halt; - atmel,idle-halt; + compatible = "atmel,sama5d4-wdt"; + reg = <0xfc068640 0x10>; + interrupts = <4 IRQ_TYPE_LEVEL_HIGH 5>; + timeout-sec = <10>; + atmel,watchdog-type = "hardware"; + atmel,dbg-halt; + atmel,idle-halt; }; ... diff --git a/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml b/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml index 428004e7f0c3..526ff908d134 100644 --- a/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml @@ -37,7 +37,7 @@ required: examples: - | watchdog@f040a7e8 { - compatible = "brcm,bcm7038-wdt"; - reg = <0xf040a7e8 0x16>; - clocks = <&upg_fixed>; + compatible = "brcm,bcm7038-wdt"; + reg = <0xf040a7e8 0x16>; + clocks = <&upg_fixed>; }; diff --git a/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml b/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml index 6e135f48b3ba..726dc872ad02 100644 --- a/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml +++ b/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml @@ -52,16 +52,16 @@ examples: - | #include watchdog@41000000 { - compatible = "faraday,ftwdt010"; - reg = <0x41000000 0x1000>; - interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; - timeout-sec = <5>; + compatible = "faraday,ftwdt010"; + reg = <0x41000000 0x1000>; + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; + timeout-sec = <5>; }; - | watchdog: watchdog@98500000 { - compatible = "moxa,moxart-watchdog", "faraday,ftwdt010"; - reg = <0x98500000 0x10>; - clocks = <&clk_apb>; - clock-names = "PCLK"; + compatible = "moxa,moxart-watchdog", "faraday,ftwdt010"; + reg = <0x98500000 0x10>; + clocks = <&clk_apb>; + clock-names = "PCLK"; }; ... diff --git a/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml index a668d0c2f14b..18160869c378 100644 --- a/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml @@ -34,7 +34,7 @@ additionalProperties: false examples: - | watchdog@100 { - compatible = "mediatek,mt7621-wdt"; - reg = <0x100 0x100>; - mediatek,sysctl = <&sysc>; + compatible = "mediatek,mt7621-wdt"; + reg = <0x100 0x100>; + mediatek,sysctl = <&sysc>; }; diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml index 6448b633c970..eccfd23c50f4 100644 --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml @@ -113,26 +113,26 @@ examples: #include watchdog@17c10000 { - compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt"; - reg = <0x17c10000 0x1000>; - clocks = <&sleep_clk>; - interrupts = ; - timeout-sec = <10>; + compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt"; + reg = <0x17c10000 0x1000>; + clocks = <&sleep_clk>; + interrupts = ; + timeout-sec = <10>; }; - | #include watchdog@200a000 { - compatible = "qcom,kpss-wdt-ipq8064", "qcom,kpss-timer", "qcom,msm-timer"; - interrupts = , - , - , - , - ; - reg = <0x0200a000 0x100>; - clock-frequency = <25000000>; - clocks = <&sleep_clk>; - clock-names = "sleep"; - cpu-offset = <0x80000>; + compatible = "qcom,kpss-wdt-ipq8064", "qcom,kpss-timer", "qcom,msm-timer"; + interrupts = , + , + , + , + ; + reg = <0x0200a000 0x100>; + clock-frequency = <25000000>; + clocks = <&sleep_clk>; + clock-names = "sleep"; + cpu-offset = <0x80000>; }; diff --git a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml index 50c5c48ee6fb..951a7d54135a 100644 --- a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml @@ -177,11 +177,11 @@ examples: #include #include wdt0: watchdog@e6020000 { - compatible = "renesas,r8a7795-wdt", "renesas,rcar-gen3-wdt"; - reg = <0xe6020000 0x0c>; - interrupts = ; - clocks = <&cpg CPG_MOD 402>; - power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; - resets = <&cpg 402>; - timeout-sec = <60>; + compatible = "renesas,r8a7795-wdt", "renesas,rcar-gen3-wdt"; + reg = <0xe6020000 0x0c>; + interrupts = ; + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 402>; + timeout-sec = <60>; }; diff --git a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml index 39139586611b..76eceeddd150 100644 --- a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml @@ -83,25 +83,25 @@ required: examples: - | watchdog@ffd02000 { - compatible = "snps,dw-wdt"; - reg = <0xffd02000 0x1000>; - interrupts = <0 171 4>; - clocks = <&per_base_clk>; - resets = <&wdt_rst>; + compatible = "snps,dw-wdt"; + reg = <0xffd02000 0x1000>; + interrupts = <0 171 4>; + clocks = <&per_base_clk>; + resets = <&wdt_rst>; }; - | watchdog@ffd02000 { - compatible = "snps,dw-wdt"; - reg = <0xffd02000 0x1000>; - interrupts = <0 171 4>; - clocks = <&per_base_clk>; - clock-names = "tclk"; - snps,watchdog-tops = <0x000000FF 0x000001FF 0x000003FF - 0x000007FF 0x0000FFFF 0x0001FFFF - 0x0003FFFF 0x0007FFFF 0x000FFFFF - 0x001FFFFF 0x003FFFFF 0x007FFFFF - 0x00FFFFFF 0x01FFFFFF 0x03FFFFFF - 0x07FFFFFF>; + compatible = "snps,dw-wdt"; + reg = <0xffd02000 0x1000>; + interrupts = <0 171 4>; + clocks = <&per_base_clk>; + clock-names = "tclk"; + snps,watchdog-tops = <0x000000FF 0x000001FF 0x000003FF + 0x000007FF 0x0000FFFF 0x0001FFFF + 0x0003FFFF 0x0007FFFF 0x000FFFFF + 0x001FFFFF 0x003FFFFF 0x007FFFFF + 0x00FFFFFF 0x01FFFFFF 0x03FFFFFF + 0x07FFFFFF>; }; ... diff --git a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml index 2cb1a2ed0f7b..6b13bfc11e11 100644 --- a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml +++ b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml @@ -48,11 +48,11 @@ examples: - | #include watchdog@5a002000 { - compatible = "st,stm32mp1-iwdg"; - reg = <0x5a002000 0x400>; - clocks = <&rcc IWDG2>, <&rcc CK_LSI>; - clock-names = "pclk", "lsi"; - timeout-sec = <32>; + compatible = "st,stm32mp1-iwdg"; + reg = <0x5a002000 0x400>; + clocks = <&rcc IWDG2>, <&rcc CK_LSI>; + clock-names = "pclk", "lsi"; + timeout-sec = <32>; }; ... diff --git a/Documentation/devicetree/bindings/watchdog/xlnx,xps-timebase-wdt.yaml b/Documentation/devicetree/bindings/watchdog/xlnx,xps-timebase-wdt.yaml index 493a1c954707..8444c56dd602 100644 --- a/Documentation/devicetree/bindings/watchdog/xlnx,xps-timebase-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/xlnx,xps-timebase-wdt.yaml @@ -58,11 +58,11 @@ unevaluatedProperties: false examples: - | watchdog@40100000 { - compatible = "xlnx,xps-timebase-wdt-1.00.a"; - reg = <0x40100000 0x1000>; - clock-frequency = <50000000>; - clocks = <&clkc 15>; - xlnx,wdt-enable-once = <0x0>; - xlnx,wdt-interval = <0x1b>; + compatible = "xlnx,xps-timebase-wdt-1.00.a"; + reg = <0x40100000 0x1000>; + clock-frequency = <50000000>; + clocks = <&clkc 15>; + xlnx,wdt-enable-once = <0x0>; + xlnx,wdt-interval = <0x1b>; }; ... From patchwork Sat Apr 15 09:51:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 674483 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 525C7C77B79 for ; Sat, 15 Apr 2023 09:58:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230036AbjDOJ6X (ORCPT ); Sat, 15 Apr 2023 05:58:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230083AbjDOJ6V (ORCPT ); Sat, 15 Apr 2023 05:58:21 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E45274C2B for ; Sat, 15 Apr 2023 02:58:19 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id ud9so51490413ejc.7 for ; Sat, 15 Apr 2023 02:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681552698; x=1684144698; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hT0dzvsXvb7f698PuX8ThKiPZDrN3+S4Z3pmgV6QSpo=; b=bTJHqYbGlp4UGrO9oKw8Bghu6wDHkK/qnJECB0OENhFCw2eZ/EZszvWSjj70/YPJYt e+SbWG3F0D4EqrDyxt6GxI8XihIfzTdjOTHapVRqqT6cKzhUCJtTQ3r0G4h44nzNLWWQ ux2Kjc8ytqLSZQAEKogyli0FMWqt/vZNMr9SEyUA2YTNUpD7/nItuVCDjwdg+MiJuJW1 vANBOgpdSnvkdN9ZVr1N13DrgR+Gp4mx0gNHxIXIeJLfdX7IeqmgcSTF9N/UZTh/L0Ry wxJlWA70/mXfUjCxjF7exBcKLFTWKawIgeepbswAsogQGBefk2Bd6BbI99WZQHoonpcn J1uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681552698; x=1684144698; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hT0dzvsXvb7f698PuX8ThKiPZDrN3+S4Z3pmgV6QSpo=; b=OAtUdmQ72r+Y8SdYfrHOxnVFaNR9/Ttc/62Dg4sTscyNVYd0f7hvIA3KmGzBd7T6Iu vnUuiAfLXYf89a3nDF5ShgMoU2+JMs/H8dVGw9ZPMqDxiZ6pceoL6u8Ba/fxYYYtFu9v WyUMdPPCNoCDCmc98Vfal/KTkW+lZET2Ebt+3J2KUIpqNXgh3Lx5xkWNpAt5GhIuWmqd srWFiE5mjfLTWHckGkU6gI6gGgak9nsf/2LZUFpyXj0gZGTXgqLK30AgrvUlL29XF1w7 hsMXgAAloP6y7NeHNqbzJNmNdRdTevKd0XrmhprpJuUOmFgw9ucntLT3a5IpLG6btvI2 DAbg== X-Gm-Message-State: AAQBX9djuHX1onogkJuf4LJS+Er3l6qvH1hMGWWmMhkuOQGfXqQ8PC7k yPgC7X1wYBgmbG+VsmcOuQIWXA== X-Google-Smtp-Source: AKy350aa/SbsRtF67gLeFejSr20s5v+RMrFrIbspoXpE7GmfmW1U/LDuriV5iYIvkKV83gJzv44SFQ== X-Received: by 2002:a17:907:77cc:b0:94e:e30e:7245 with SMTP id kz12-20020a17090777cc00b0094ee30e7245mr1380769ejc.8.1681552698443; Sat, 15 Apr 2023 02:58:18 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:a3bf:4ed:6c53:2a36]) by smtp.gmail.com with ESMTPSA id gn23-20020a1709070d1700b009373f1b5c4esm3594248ejc.161.2023.04.15.02.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 02:58:17 -0700 (PDT) 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_Neil_Armstrong_?= =?unknown-8bit?q?=3Cneil=2Earmstrong=40linaro=2Eorg=3E=2C_Kevin_Hilman_=3Ck?= =?unknown-8bit?q?hilman=40baylibre=2Ecom=3E=2C_Jerome_Brunet_=3Cjbrunet=40b?= =?unknown-8bit?q?aylibre=2Ecom=3E=2C_Martin_Blumenstingl_=3Cmartin=2Eblumen?= =?unknown-8bit?q?stingl=40googlemail=2Ecom=3E=2C_Julius_Werner_=3Cjwerner?= =?unknown-8bit?q?=40chromium=2Eorg=3E=2C_Evan_Benn_=3Cevanbenn=40chromium?= =?unknown-8bit?q?=2Eorg=3E=2C_Nicolas_Ferre_=3Cnicolas=2Eferre=40microchip?= =?unknown-8bit?q?=2Ecom=3E=2C_Alexandre_Belloni_=3Calexandre=2Ebelloni=40bo?= =?unknown-8bit?q?otlin=2Ecom=3E=2C_Claudiu_Beznea_=3Cclaudiu=2Ebeznea=40mic?= =?unknown-8bit?q?rochip=2Ecom=3E=2C_Florian_Fainelli_=3Cf=2Efainelli=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_Broadcom_internal_kernel_review_list__=3Cbcm?= =?unknown-8bit?q?-kernel-feedback-list=40broadcom=2Ecom=3E=2C_Shawn_Guo_=3C?= =?unknown-8bit?q?shawnguo=40kernel=2Eorg=3E=2C_Sascha_Hauer_=3Cs=2Ehauer=40?= =?unknown-8bit?q?pengutronix=2Ede=3E=2C_Pengutronix_Kernel_Team_=3Ckernel?= =?unknown-8bit?q?=40pengutronix=2Ede=3E=2C_Fabio_Estevam_=3Cfestevam=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_NXP_Linux_Team_=3Clinux-imx=40nxp=2Ecom=3E?= =?unknown-8bit?q?=2C_Matthias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_AngeloGioacchino_Del_Regno__=3Cangelogioacchino=2Edelregn?= =?unknown-8bit?q?o=40collabora=2Ecom=3E=2C_Andy_Gross_=3Cagross=40kernel=2E?= =?unknown-8bit?q?org=3E=2C_Bjorn_Andersson_=3Candersson=40kernel=2Eorg=3E?= =?unknown-8bit?q?=2C_Konrad_Dybcio_=3Ckonrad=2Edybcio=40linaro=2Eorg=3E=2C_?= =?unknown-8bit?q?Sander_Vanheule_=3Csander=40svanheule=2Enet=3E=2C_Maxime_C?= =?unknown-8bit?q?oquelin_=3Cmcoquelin=2Estm32=40gmail=2Ecom=3E=2C_Alexandre?= =?unknown-8bit?q?_Torgue_=3Calexandre=2Etorgue=40foss=2Est=2Ecom=3E=2C_Nobu?= =?unknown-8bit?q?hiro_Iwamatsu_=3Cnobuhiro1=2Eiwamatsu=40toshiba=2Eco=2Ejp?= =?unknown-8bit?q?=3E=2C_Geert_Uytterhoeven_=3Cgeert+renesas=40glider=2Ebe?= =?unknown-8bit?q?=3E=2C_Magnus_Damm_=3Cmagnus=2Edamm=40gmail=2Ecom=3E=2C_Fu?= =?unknown-8bit?q?_Wei_=3Cfu=2Ewei=40linaro=2Eorg=3E=2C_Viresh_Kumar_=3Cvire?= =?unknown-8bit?q?shk=40kernel=2Eorg=3E=2C_Eugen_Hristev_=3Ceugen=2Ehristev?= =?unknown-8bit?q?=40collabora=2Ecom=3E=2C_Justin_Chen_=3Cjustinpopo6=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_=82ecki__=3Crafal=40milecki=2Epl=3E=2C_Linus?= =?unknown-8bit?q?_Walleij_=3Clinus=2Ewalleij=40linaro=2Eorg=3E=2C_Corentin_?= =?unknown-8bit?q?Labbe_=3Cclabbe=40baylibre=2Ecom=3E=2C_Anson_Huang_=3CAnso?= =?unknown-8bit?q?n=2EHuang=40nxp=2Ecom=3E=2C_Robert_Marko_=3Crobert=2Emarko?= =?unknown-8bit?q?=40sartura=2Ehr=3E=2C_Sergio_Paracuellos_=3Csergio=2Eparac?= =?unknown-8bit?q?uellos=40gmail=2Ecom=3E=2C_Sai_Prakash_Ranjan_=3Cquic=5Fsa?= =?unknown-8bit?q?ipraka=40quicinc=2Ecom=3E=2C_Wolfram_Sang_=3Cwsa+renesas?= =?unknown-8bit?q?=40sang-engineering=2Ecom=3E=2C_Jamie_Iles_=3Cjamie=40jami?= =?unknown-8bit?q?eiles=2Ecom=3E=2C_Yannick_Fertre_=3Cyannick=2Efertre=40fos?= =?unknown-8bit?q?s=2Est=2Ecom=3E=2C_Christophe_Roullier_=3Cchristophe=2Erou?= =?unknown-8bit?q?llier=40foss=2Est=2Ecom=3E=2C_Shubhrajyoti_Datta_=3Cshubhr?= =?unknown-8bit?q?ajyoti=2Edatta=40xilinx=2Ecom=3E=2C_Srinivas_Neeli_=3Csrin?= =?unknown-8bit?q?ivas=2Eneeli=40xilinx=2Ecom=3E=2C_linux-watchdog=40vger=2E?= =?unknown-8bit?q?kernel=2Eorg=2C_devicetree=40vger=2Ekernel=2Eorg=2C_linux-?= =?unknown-8bit?q?arm-kernel=40lists=2Einfradead=2Eorg=2C_linux-amlogic=40li?= =?unknown-8bit?q?sts=2Einfradead=2Eorg=2C_linux-kernel=40vger=2Ekernel=2Eor?= =?unknown-8bit?q?g=2C_linux-mediatek=40lists=2Einfradead=2Eorg=2C_linux-arm?= =?unknown-8bit?q?-msm=40vger=2Ekernel=2Eorg=2C_linux-stm32=40st-md-mailman?= =?unknown-8bit?q?=2Estormreply=2Ecom=2C_linux-renesas-soc=40vger=2Ekernel?= =?unknown-8bit?q?=2Eorg?= Cc: Krzysztof Kozlowski Subject: [PATCH 3/6] dt-bindings: watchdog: arm,sp805: drop unneeded minItems Date: Sat, 15 Apr 2023 11:51:09 +0200 Message-Id: <20230415095112.51257-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230415095112.51257-1-krzysztof.kozlowski@linaro.org> References: <20230415095112.51257-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org There is no need to specify minItems when they are equal to maxItems, because it is implied by maxItems. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/watchdog/arm,sp805.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml b/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml index a69cac8ec208..7aea255b301b 100644 --- a/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml +++ b/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml @@ -43,7 +43,6 @@ properties: Clocks driving the watchdog timer hardware. The first clock is used for the actual watchdog counter. The second clock drives the register interface. - minItems: 2 maxItems: 2 clock-names: From patchwork Sat Apr 15 09:51:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 673588 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 ADCACC77B73 for ; Sat, 15 Apr 2023 09:58:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229994AbjDOJ6h (ORCPT ); Sat, 15 Apr 2023 05:58:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230126AbjDOJ6Y (ORCPT ); Sat, 15 Apr 2023 05:58:24 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E24FE4692 for ; Sat, 15 Apr 2023 02:58:22 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id dx24so7653321ejb.11 for ; Sat, 15 Apr 2023 02:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681552701; x=1684144701; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=X++FhK1t/fMQBncyu3FeTc1IPRncKd5sGne3lbXD1HA=; b=ElHS0DixfV4Wx0/NRCOiZ3tsYfPcSyO/g1j7g/FJw5/YfXipUfJBvmFPzXl13E2Tvf SlSdK+EcP2/VLC4TtP1izTSZh2TYXhQwqrEHTP4zmLknPDHuF6W0Ez3oOwri2AO4Ln8J DKM/IsZIxge+Q36axXN56jyjNpGR6y1DekpVmrGRzkbCcPf8lzZTffR5fyyV3yf3kqgU XY3Jr5gNhHwtScMoax+woXvPJV+LbcS1d3mQ8aHbvrtS9cqK7eNuaskGH+C3p4x28hPk gE0r2qXpKKwQao2swDA6m552WDpf1EkvhZhgjtn7/+5P2CZIcSXmPfyymhrvI2osVwKR mSyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681552701; x=1684144701; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X++FhK1t/fMQBncyu3FeTc1IPRncKd5sGne3lbXD1HA=; b=PGuUd28Ol/VLDdSGkY+xw8oCRPUuk7wTg4aG/CZgZ7f2B8iTZGrImXcV9Ak05TW2Lo u/WTqI1EIx97c35NIFbdmkmQsnRBd4NTE39mBAqUBtf4UGeZJ2zbYugF4BeCJk+jxXHY EylVZqFOLZOvCU3Khc2Rjhrnv1ytSy8iPD3KjPDJs5QrKMEs3dVlGZ73QR93+dcFUFMO vFnteu2UhjHLS6FReiTN1oTrXPoAKnu5sF94xxnjM+8rPF91sWMOpXiELw+C1Htaxfgk CtQY1sF/lRzLd+AnNw97+xIQQjO4NLyPHs+deXlsmkgw/cdlzeM4fxnwHu8UQQzHQU3J jGdA== X-Gm-Message-State: AAQBX9d07eXe8IYAXP9kPS/g/hVqBQCaBM9jAGhaoGnbj7o/jvH383Ox RuOSK2gfHDx0CIKlloNgqFyh0w== X-Google-Smtp-Source: AKy350Yav0SQe0tEvR6ZtIMRzAj9K6H8406yqb7Hzclv9sLARZM1w9Vr1g/iMuC5RnPGGtv3bjO69Q== X-Received: by 2002:a17:906:149b:b0:948:b9ea:3302 with SMTP id x27-20020a170906149b00b00948b9ea3302mr1901974ejc.1.1681552700850; Sat, 15 Apr 2023 02:58:20 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:a3bf:4ed:6c53:2a36]) by smtp.gmail.com with ESMTPSA id gn23-20020a1709070d1700b009373f1b5c4esm3594248ejc.161.2023.04.15.02.58.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 02:58:20 -0700 (PDT) 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_Neil_Armstrong_?= =?unknown-8bit?q?=3Cneil=2Earmstrong=40linaro=2Eorg=3E=2C_Kevin_Hilman_=3Ck?= =?unknown-8bit?q?hilman=40baylibre=2Ecom=3E=2C_Jerome_Brunet_=3Cjbrunet=40b?= =?unknown-8bit?q?aylibre=2Ecom=3E=2C_Martin_Blumenstingl_=3Cmartin=2Eblumen?= =?unknown-8bit?q?stingl=40googlemail=2Ecom=3E=2C_Julius_Werner_=3Cjwerner?= =?unknown-8bit?q?=40chromium=2Eorg=3E=2C_Evan_Benn_=3Cevanbenn=40chromium?= =?unknown-8bit?q?=2Eorg=3E=2C_Nicolas_Ferre_=3Cnicolas=2Eferre=40microchip?= =?unknown-8bit?q?=2Ecom=3E=2C_Alexandre_Belloni_=3Calexandre=2Ebelloni=40bo?= =?unknown-8bit?q?otlin=2Ecom=3E=2C_Claudiu_Beznea_=3Cclaudiu=2Ebeznea=40mic?= =?unknown-8bit?q?rochip=2Ecom=3E=2C_Florian_Fainelli_=3Cf=2Efainelli=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_Broadcom_internal_kernel_review_list__=3Cbcm?= =?unknown-8bit?q?-kernel-feedback-list=40broadcom=2Ecom=3E=2C_Shawn_Guo_=3C?= =?unknown-8bit?q?shawnguo=40kernel=2Eorg=3E=2C_Sascha_Hauer_=3Cs=2Ehauer=40?= =?unknown-8bit?q?pengutronix=2Ede=3E=2C_Pengutronix_Kernel_Team_=3Ckernel?= =?unknown-8bit?q?=40pengutronix=2Ede=3E=2C_Fabio_Estevam_=3Cfestevam=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_NXP_Linux_Team_=3Clinux-imx=40nxp=2Ecom=3E?= =?unknown-8bit?q?=2C_Matthias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_AngeloGioacchino_Del_Regno__=3Cangelogioacchino=2Edelregn?= =?unknown-8bit?q?o=40collabora=2Ecom=3E=2C_Andy_Gross_=3Cagross=40kernel=2E?= =?unknown-8bit?q?org=3E=2C_Bjorn_Andersson_=3Candersson=40kernel=2Eorg=3E?= =?unknown-8bit?q?=2C_Konrad_Dybcio_=3Ckonrad=2Edybcio=40linaro=2Eorg=3E=2C_?= =?unknown-8bit?q?Sander_Vanheule_=3Csander=40svanheule=2Enet=3E=2C_Maxime_C?= =?unknown-8bit?q?oquelin_=3Cmcoquelin=2Estm32=40gmail=2Ecom=3E=2C_Alexandre?= =?unknown-8bit?q?_Torgue_=3Calexandre=2Etorgue=40foss=2Est=2Ecom=3E=2C_Nobu?= =?unknown-8bit?q?hiro_Iwamatsu_=3Cnobuhiro1=2Eiwamatsu=40toshiba=2Eco=2Ejp?= =?unknown-8bit?q?=3E=2C_Geert_Uytterhoeven_=3Cgeert+renesas=40glider=2Ebe?= =?unknown-8bit?q?=3E=2C_Magnus_Damm_=3Cmagnus=2Edamm=40gmail=2Ecom=3E=2C_Fu?= =?unknown-8bit?q?_Wei_=3Cfu=2Ewei=40linaro=2Eorg=3E=2C_Viresh_Kumar_=3Cvire?= =?unknown-8bit?q?shk=40kernel=2Eorg=3E=2C_Eugen_Hristev_=3Ceugen=2Ehristev?= =?unknown-8bit?q?=40collabora=2Ecom=3E=2C_Justin_Chen_=3Cjustinpopo6=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_=82ecki__=3Crafal=40milecki=2Epl=3E=2C_Linus?= =?unknown-8bit?q?_Walleij_=3Clinus=2Ewalleij=40linaro=2Eorg=3E=2C_Corentin_?= =?unknown-8bit?q?Labbe_=3Cclabbe=40baylibre=2Ecom=3E=2C_Anson_Huang_=3CAnso?= =?unknown-8bit?q?n=2EHuang=40nxp=2Ecom=3E=2C_Robert_Marko_=3Crobert=2Emarko?= =?unknown-8bit?q?=40sartura=2Ehr=3E=2C_Sergio_Paracuellos_=3Csergio=2Eparac?= =?unknown-8bit?q?uellos=40gmail=2Ecom=3E=2C_Sai_Prakash_Ranjan_=3Cquic=5Fsa?= =?unknown-8bit?q?ipraka=40quicinc=2Ecom=3E=2C_Wolfram_Sang_=3Cwsa+renesas?= =?unknown-8bit?q?=40sang-engineering=2Ecom=3E=2C_Jamie_Iles_=3Cjamie=40jami?= =?unknown-8bit?q?eiles=2Ecom=3E=2C_Yannick_Fertre_=3Cyannick=2Efertre=40fos?= =?unknown-8bit?q?s=2Est=2Ecom=3E=2C_Christophe_Roullier_=3Cchristophe=2Erou?= =?unknown-8bit?q?llier=40foss=2Est=2Ecom=3E=2C_Shubhrajyoti_Datta_=3Cshubhr?= =?unknown-8bit?q?ajyoti=2Edatta=40xilinx=2Ecom=3E=2C_Srinivas_Neeli_=3Csrin?= =?unknown-8bit?q?ivas=2Eneeli=40xilinx=2Ecom=3E=2C_linux-watchdog=40vger=2E?= =?unknown-8bit?q?kernel=2Eorg=2C_devicetree=40vger=2Ekernel=2Eorg=2C_linux-?= =?unknown-8bit?q?arm-kernel=40lists=2Einfradead=2Eorg=2C_linux-amlogic=40li?= =?unknown-8bit?q?sts=2Einfradead=2Eorg=2C_linux-kernel=40vger=2Ekernel=2Eor?= =?unknown-8bit?q?g=2C_linux-mediatek=40lists=2Einfradead=2Eorg=2C_linux-arm?= =?unknown-8bit?q?-msm=40vger=2Ekernel=2Eorg=2C_linux-stm32=40st-md-mailman?= =?unknown-8bit?q?=2Estormreply=2Ecom=2C_linux-renesas-soc=40vger=2Ekernel?= =?unknown-8bit?q?=2Eorg?= Cc: Krzysztof Kozlowski Subject: [PATCH 4/6] dt-bindings: watchdog: fsl-imx7ulp-wdt: simplify with unevaluatedProperties Date: Sat, 15 Apr 2023 11:51:10 +0200 Message-Id: <20230415095112.51257-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230415095112.51257-1-krzysztof.kozlowski@linaro.org> References: <20230415095112.51257-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Allow generic watchdog properties by using unevaluatedProperties: false. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml index d3790f1a96a2..4b7ed1355701 100644 --- a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml @@ -30,15 +30,13 @@ properties: clocks: maxItems: 1 - timeout-sec: true - required: - compatible - interrupts - reg - clocks -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Sat Apr 15 09:51:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 674482 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 07070C77B71 for ; Sat, 15 Apr 2023 09:58:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230179AbjDOJ6o (ORCPT ); Sat, 15 Apr 2023 05:58:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229911AbjDOJ60 (ORCPT ); Sat, 15 Apr 2023 05:58:26 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBFD993D3 for ; Sat, 15 Apr 2023 02:58:23 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id c9so12832682ejz.1 for ; Sat, 15 Apr 2023 02:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681552703; x=1684144703; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mICjLWmF/LNoSL6NvsOb+8lhWw0UJh5jOmm9qwOxptg=; b=F+IR/off6Tme4IZyE6DN1+wfs9kbpla6jlIL3VVwih9UcpOCWzUJ71w7RdKLDqiLoQ 2kGpTLz3bjJtdYCshc4S/lDbmWsST2QG/9tjtRhQGt/Om7N3ANXxHCn+JpA6njFeqswV ZoJjNJktUl6tcrtSFp/+9Cp1jM0AJW73F/y9ecu8nljzuHhEqC5t/MRjOCXv8ISYWK0B THmdrRsv8fLjkOn+vhU+597RuD21pqBJUgn9aXHwOIavjJdzf6TD+iDJJN2DmtQsEm4u 3f2eRGld4bEiRAsq4kqLoMy1WMV1vpixqzacgCMOsrAJCL0QOGMRibGUQQAqrXhA5Ydf YFgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681552703; x=1684144703; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mICjLWmF/LNoSL6NvsOb+8lhWw0UJh5jOmm9qwOxptg=; b=eFA7AVNO5YLHa69Z4oej+q6ywagbsTXvXPiO2/kc9Vw6bs/HGK7B1RJnoBZYhTryt+ m9kBC1OK1cECOtWvB4i3mGUG9DfopSVbhx5nGtMs2jUSNHO2+hnzTLqzXiDoCy9av6d9 Fz+k9u/PrafJ0Z3K5V194XEhJKl+UTwurcgs5DEvp7VZn8zNK6mbCdsoXnG8JwXyFGIe I8CqveS8GxZg+St4q8DoX9uLyChBzo4enVSJ51IW4uGnoOZbBRPuV4NQRq9Tp7npn5+k br+55/faawfft1kaVf8PDoZmfkFTQVTU1Wwmc3IT46XdTSgyrVuy1i9sDFuAdyoUVk3S nhsg== X-Gm-Message-State: AAQBX9cfTS+TPL59sJAJ6aj8WXKetkAC3/v4e/4NqM/7Zs7gkDrGyk67 sSfTwIJptclTlHHkxhR8WVoetg== X-Google-Smtp-Source: AKy350Yl7r7VuDqDzLWQRNAgcjR0HSlTkvOCXUrie3RgrYqoOlXErvIpYyC3N6eYoIbrvn50xJkc1Q== X-Received: by 2002:a17:906:824e:b0:94f:31da:8c38 with SMTP id f14-20020a170906824e00b0094f31da8c38mr195996ejx.24.1681552703329; Sat, 15 Apr 2023 02:58:23 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:a3bf:4ed:6c53:2a36]) by smtp.gmail.com with ESMTPSA id gn23-20020a1709070d1700b009373f1b5c4esm3594248ejc.161.2023.04.15.02.58.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 02:58:22 -0700 (PDT) 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_Neil_Armstrong_?= =?unknown-8bit?q?=3Cneil=2Earmstrong=40linaro=2Eorg=3E=2C_Kevin_Hilman_=3Ck?= =?unknown-8bit?q?hilman=40baylibre=2Ecom=3E=2C_Jerome_Brunet_=3Cjbrunet=40b?= =?unknown-8bit?q?aylibre=2Ecom=3E=2C_Martin_Blumenstingl_=3Cmartin=2Eblumen?= =?unknown-8bit?q?stingl=40googlemail=2Ecom=3E=2C_Julius_Werner_=3Cjwerner?= =?unknown-8bit?q?=40chromium=2Eorg=3E=2C_Evan_Benn_=3Cevanbenn=40chromium?= =?unknown-8bit?q?=2Eorg=3E=2C_Nicolas_Ferre_=3Cnicolas=2Eferre=40microchip?= =?unknown-8bit?q?=2Ecom=3E=2C_Alexandre_Belloni_=3Calexandre=2Ebelloni=40bo?= =?unknown-8bit?q?otlin=2Ecom=3E=2C_Claudiu_Beznea_=3Cclaudiu=2Ebeznea=40mic?= =?unknown-8bit?q?rochip=2Ecom=3E=2C_Florian_Fainelli_=3Cf=2Efainelli=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_Broadcom_internal_kernel_review_list__=3Cbcm?= =?unknown-8bit?q?-kernel-feedback-list=40broadcom=2Ecom=3E=2C_Shawn_Guo_=3C?= =?unknown-8bit?q?shawnguo=40kernel=2Eorg=3E=2C_Sascha_Hauer_=3Cs=2Ehauer=40?= =?unknown-8bit?q?pengutronix=2Ede=3E=2C_Pengutronix_Kernel_Team_=3Ckernel?= =?unknown-8bit?q?=40pengutronix=2Ede=3E=2C_Fabio_Estevam_=3Cfestevam=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_NXP_Linux_Team_=3Clinux-imx=40nxp=2Ecom=3E?= =?unknown-8bit?q?=2C_Matthias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_AngeloGioacchino_Del_Regno__=3Cangelogioacchino=2Edelregn?= =?unknown-8bit?q?o=40collabora=2Ecom=3E=2C_Andy_Gross_=3Cagross=40kernel=2E?= =?unknown-8bit?q?org=3E=2C_Bjorn_Andersson_=3Candersson=40kernel=2Eorg=3E?= =?unknown-8bit?q?=2C_Konrad_Dybcio_=3Ckonrad=2Edybcio=40linaro=2Eorg=3E=2C_?= =?unknown-8bit?q?Sander_Vanheule_=3Csander=40svanheule=2Enet=3E=2C_Maxime_C?= =?unknown-8bit?q?oquelin_=3Cmcoquelin=2Estm32=40gmail=2Ecom=3E=2C_Alexandre?= =?unknown-8bit?q?_Torgue_=3Calexandre=2Etorgue=40foss=2Est=2Ecom=3E=2C_Nobu?= =?unknown-8bit?q?hiro_Iwamatsu_=3Cnobuhiro1=2Eiwamatsu=40toshiba=2Eco=2Ejp?= =?unknown-8bit?q?=3E=2C_Geert_Uytterhoeven_=3Cgeert+renesas=40glider=2Ebe?= =?unknown-8bit?q?=3E=2C_Magnus_Damm_=3Cmagnus=2Edamm=40gmail=2Ecom=3E=2C_Fu?= =?unknown-8bit?q?_Wei_=3Cfu=2Ewei=40linaro=2Eorg=3E=2C_Viresh_Kumar_=3Cvire?= =?unknown-8bit?q?shk=40kernel=2Eorg=3E=2C_Eugen_Hristev_=3Ceugen=2Ehristev?= =?unknown-8bit?q?=40collabora=2Ecom=3E=2C_Justin_Chen_=3Cjustinpopo6=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_=82ecki__=3Crafal=40milecki=2Epl=3E=2C_Linus?= =?unknown-8bit?q?_Walleij_=3Clinus=2Ewalleij=40linaro=2Eorg=3E=2C_Corentin_?= =?unknown-8bit?q?Labbe_=3Cclabbe=40baylibre=2Ecom=3E=2C_Anson_Huang_=3CAnso?= =?unknown-8bit?q?n=2EHuang=40nxp=2Ecom=3E=2C_Robert_Marko_=3Crobert=2Emarko?= =?unknown-8bit?q?=40sartura=2Ehr=3E=2C_Sergio_Paracuellos_=3Csergio=2Eparac?= =?unknown-8bit?q?uellos=40gmail=2Ecom=3E=2C_Sai_Prakash_Ranjan_=3Cquic=5Fsa?= =?unknown-8bit?q?ipraka=40quicinc=2Ecom=3E=2C_Wolfram_Sang_=3Cwsa+renesas?= =?unknown-8bit?q?=40sang-engineering=2Ecom=3E=2C_Jamie_Iles_=3Cjamie=40jami?= =?unknown-8bit?q?eiles=2Ecom=3E=2C_Yannick_Fertre_=3Cyannick=2Efertre=40fos?= =?unknown-8bit?q?s=2Est=2Ecom=3E=2C_Christophe_Roullier_=3Cchristophe=2Erou?= =?unknown-8bit?q?llier=40foss=2Est=2Ecom=3E=2C_Shubhrajyoti_Datta_=3Cshubhr?= =?unknown-8bit?q?ajyoti=2Edatta=40xilinx=2Ecom=3E=2C_Srinivas_Neeli_=3Csrin?= =?unknown-8bit?q?ivas=2Eneeli=40xilinx=2Ecom=3E=2C_linux-watchdog=40vger=2E?= =?unknown-8bit?q?kernel=2Eorg=2C_devicetree=40vger=2Ekernel=2Eorg=2C_linux-?= =?unknown-8bit?q?arm-kernel=40lists=2Einfradead=2Eorg=2C_linux-amlogic=40li?= =?unknown-8bit?q?sts=2Einfradead=2Eorg=2C_linux-kernel=40vger=2Ekernel=2Eor?= =?unknown-8bit?q?g=2C_linux-mediatek=40lists=2Einfradead=2Eorg=2C_linux-arm?= =?unknown-8bit?q?-msm=40vger=2Ekernel=2Eorg=2C_linux-stm32=40st-md-mailman?= =?unknown-8bit?q?=2Estormreply=2Ecom=2C_linux-renesas-soc=40vger=2Ekernel?= =?unknown-8bit?q?=2Eorg?= Cc: Krzysztof Kozlowski Subject: [PATCH 5/6] dt-bindings: watchdog: toshiba,visconti-wdt: simplify with unevaluatedProperties Date: Sat, 15 Apr 2023 11:51:11 +0200 Message-Id: <20230415095112.51257-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230415095112.51257-1-krzysztof.kozlowski@linaro.org> References: <20230415095112.51257-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Allow generic watchdog properties by using unevaluatedProperties: false. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml b/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml index eba083822d1f..51d03d5b08ad 100644 --- a/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml @@ -24,14 +24,12 @@ properties: clocks: maxItems: 1 - timeout-sec: true - required: - compatible - reg - clocks -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Sat Apr 15 09:51:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 673587 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 6C14AC7619A for ; Sat, 15 Apr 2023 09:58:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230180AbjDOJ6x (ORCPT ); Sat, 15 Apr 2023 05:58:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230163AbjDOJ6n (ORCPT ); Sat, 15 Apr 2023 05:58:43 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A41FF977C for ; Sat, 15 Apr 2023 02:58:26 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id fy21so8733151ejb.9 for ; Sat, 15 Apr 2023 02:58:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681552706; x=1684144706; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Fr2pBCD6umNhczQxq97ewzN+14iVAoxszUR3df4m1JI=; b=KBrssLMtLKmsLeebg43o7A5lMW1PVjr0FL9EGnzfptlfeJU2+O2WNhBQ0HFo977Iua rcld+cXUs9Y3HxWGpMiWcxuAfuHnC6x2cl+2qmiauB6x3msu3sypy5NK/yx27mTj9y9H Ewx0zS9sHKphX1IM5mkG+xkB6sHk7sfp4o4noyPWiYZEJSHxddoi/P8z/eEN6vWGUkfS YvSlcUyBbUSaYJGQsDy8QWLzuLGdkAmSAIUuNvqPRl4XN5crob1qw9uZzXUe5YMUnJhX g80zIJJQURIGeGysIlmkHk5jlgHtryhPW/OjPjPmOckvxXqsnLQS//OqqROjirbCPdRq tmLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681552706; x=1684144706; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Fr2pBCD6umNhczQxq97ewzN+14iVAoxszUR3df4m1JI=; b=AqTxC+3F8kl4Gjpeg1e+MeUduvLrODNv8Ct/4L9oiaDdlOayrGvHOkaZRnHzyqYeiD 1o1T3gciGfiTvoGtyFcv5sjyTPDY1L1apPMf3lfxBLd2Tm7Mv7nR8yTIAAX6N5ju6r+R 2bsQkt+1bOXf3MlnALgn4dciw3ztGoKbhdjzH60IDgkZ7nZ/aBFBqQSMv0vX+HJ96jz6 bZRISbpq3ws0nMIqBdNJcB8pbEPW5uoRJaB5dx4pYKnk/Q4Q+0w/5aBNga4GN2JUZP1j vulG6/snkXP7c5VmJpb4/Vw0tkMcvjNpmfDzSLn++8xPQaSSAfZhvAPvAIms6N+gYjjV 0YIg== X-Gm-Message-State: AAQBX9dyvXoouMV34Z7PLwTFiBztFVEZZjp198QqFCC6D7IY8pA/IZpY Ula2f0pW7KwJf98wsdQSwgJ9wg== X-Google-Smtp-Source: AKy350bZWvNaGJptFPLSmIHH7cRbLl7V6f22Bt1WbL4mPTQOR4EbC2AYcFac6G7sc67vcTz0OtrFlQ== X-Received: by 2002:a17:906:b788:b0:94c:548f:f81d with SMTP id dt8-20020a170906b78800b0094c548ff81dmr1404066ejb.71.1681552705946; Sat, 15 Apr 2023 02:58:25 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:a3bf:4ed:6c53:2a36]) by smtp.gmail.com with ESMTPSA id gn23-20020a1709070d1700b009373f1b5c4esm3594248ejc.161.2023.04.15.02.58.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 02:58:25 -0700 (PDT) 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_Neil_Armstrong_?= =?unknown-8bit?q?=3Cneil=2Earmstrong=40linaro=2Eorg=3E=2C_Kevin_Hilman_=3Ck?= =?unknown-8bit?q?hilman=40baylibre=2Ecom=3E=2C_Jerome_Brunet_=3Cjbrunet=40b?= =?unknown-8bit?q?aylibre=2Ecom=3E=2C_Martin_Blumenstingl_=3Cmartin=2Eblumen?= =?unknown-8bit?q?stingl=40googlemail=2Ecom=3E=2C_Julius_Werner_=3Cjwerner?= =?unknown-8bit?q?=40chromium=2Eorg=3E=2C_Evan_Benn_=3Cevanbenn=40chromium?= =?unknown-8bit?q?=2Eorg=3E=2C_Nicolas_Ferre_=3Cnicolas=2Eferre=40microchip?= =?unknown-8bit?q?=2Ecom=3E=2C_Alexandre_Belloni_=3Calexandre=2Ebelloni=40bo?= =?unknown-8bit?q?otlin=2Ecom=3E=2C_Claudiu_Beznea_=3Cclaudiu=2Ebeznea=40mic?= =?unknown-8bit?q?rochip=2Ecom=3E=2C_Florian_Fainelli_=3Cf=2Efainelli=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_Broadcom_internal_kernel_review_list__=3Cbcm?= =?unknown-8bit?q?-kernel-feedback-list=40broadcom=2Ecom=3E=2C_Shawn_Guo_=3C?= =?unknown-8bit?q?shawnguo=40kernel=2Eorg=3E=2C_Sascha_Hauer_=3Cs=2Ehauer=40?= =?unknown-8bit?q?pengutronix=2Ede=3E=2C_Pengutronix_Kernel_Team_=3Ckernel?= =?unknown-8bit?q?=40pengutronix=2Ede=3E=2C_Fabio_Estevam_=3Cfestevam=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_NXP_Linux_Team_=3Clinux-imx=40nxp=2Ecom=3E?= =?unknown-8bit?q?=2C_Matthias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_AngeloGioacchino_Del_Regno__=3Cangelogioacchino=2Edelregn?= =?unknown-8bit?q?o=40collabora=2Ecom=3E=2C_Andy_Gross_=3Cagross=40kernel=2E?= =?unknown-8bit?q?org=3E=2C_Bjorn_Andersson_=3Candersson=40kernel=2Eorg=3E?= =?unknown-8bit?q?=2C_Konrad_Dybcio_=3Ckonrad=2Edybcio=40linaro=2Eorg=3E=2C_?= =?unknown-8bit?q?Sander_Vanheule_=3Csander=40svanheule=2Enet=3E=2C_Maxime_C?= =?unknown-8bit?q?oquelin_=3Cmcoquelin=2Estm32=40gmail=2Ecom=3E=2C_Alexandre?= =?unknown-8bit?q?_Torgue_=3Calexandre=2Etorgue=40foss=2Est=2Ecom=3E=2C_Nobu?= =?unknown-8bit?q?hiro_Iwamatsu_=3Cnobuhiro1=2Eiwamatsu=40toshiba=2Eco=2Ejp?= =?unknown-8bit?q?=3E=2C_Geert_Uytterhoeven_=3Cgeert+renesas=40glider=2Ebe?= =?unknown-8bit?q?=3E=2C_Magnus_Damm_=3Cmagnus=2Edamm=40gmail=2Ecom=3E=2C_Fu?= =?unknown-8bit?q?_Wei_=3Cfu=2Ewei=40linaro=2Eorg=3E=2C_Viresh_Kumar_=3Cvire?= =?unknown-8bit?q?shk=40kernel=2Eorg=3E=2C_Eugen_Hristev_=3Ceugen=2Ehristev?= =?unknown-8bit?q?=40collabora=2Ecom=3E=2C_Justin_Chen_=3Cjustinpopo6=40gmai?= =?unknown-8bit?q?l=2Ecom=3E=2C_=82ecki__=3Crafal=40milecki=2Epl=3E=2C_Linus?= =?unknown-8bit?q?_Walleij_=3Clinus=2Ewalleij=40linaro=2Eorg=3E=2C_Corentin_?= =?unknown-8bit?q?Labbe_=3Cclabbe=40baylibre=2Ecom=3E=2C_Anson_Huang_=3CAnso?= =?unknown-8bit?q?n=2EHuang=40nxp=2Ecom=3E=2C_Robert_Marko_=3Crobert=2Emarko?= =?unknown-8bit?q?=40sartura=2Ehr=3E=2C_Sergio_Paracuellos_=3Csergio=2Eparac?= =?unknown-8bit?q?uellos=40gmail=2Ecom=3E=2C_Sai_Prakash_Ranjan_=3Cquic=5Fsa?= =?unknown-8bit?q?ipraka=40quicinc=2Ecom=3E=2C_Wolfram_Sang_=3Cwsa+renesas?= =?unknown-8bit?q?=40sang-engineering=2Ecom=3E=2C_Jamie_Iles_=3Cjamie=40jami?= =?unknown-8bit?q?eiles=2Ecom=3E=2C_Yannick_Fertre_=3Cyannick=2Efertre=40fos?= =?unknown-8bit?q?s=2Est=2Ecom=3E=2C_Christophe_Roullier_=3Cchristophe=2Erou?= =?unknown-8bit?q?llier=40foss=2Est=2Ecom=3E=2C_Shubhrajyoti_Datta_=3Cshubhr?= =?unknown-8bit?q?ajyoti=2Edatta=40xilinx=2Ecom=3E=2C_Srinivas_Neeli_=3Csrin?= =?unknown-8bit?q?ivas=2Eneeli=40xilinx=2Ecom=3E=2C_linux-watchdog=40vger=2E?= =?unknown-8bit?q?kernel=2Eorg=2C_devicetree=40vger=2Ekernel=2Eorg=2C_linux-?= =?unknown-8bit?q?arm-kernel=40lists=2Einfradead=2Eorg=2C_linux-amlogic=40li?= =?unknown-8bit?q?sts=2Einfradead=2Eorg=2C_linux-kernel=40vger=2Ekernel=2Eor?= =?unknown-8bit?q?g=2C_linux-mediatek=40lists=2Einfradead=2Eorg=2C_linux-arm?= =?unknown-8bit?q?-msm=40vger=2Ekernel=2Eorg=2C_linux-stm32=40st-md-mailman?= =?unknown-8bit?q?=2Estormreply=2Ecom=2C_linux-renesas-soc=40vger=2Ekernel?= =?unknown-8bit?q?=2Eorg?= Cc: Krzysztof Kozlowski Subject: [PATCH 6/6] dt-bindings: watchdog: realtek,otto-wdt: simplify requiring interrupt-names Date: Sat, 15 Apr 2023 11:51:12 +0200 Message-Id: <20230415095112.51257-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230415095112.51257-1-krzysztof.kozlowski@linaro.org> References: <20230415095112.51257-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Required properties should be listed in "required:" block. Since interrupts are already there, the dependency of interrupt-names on the interrupts can be simplified. Signed-off-by: Krzysztof Kozlowski Acked-by: Sander Vanheule Reviewed-by: Rob Herring --- .../devicetree/bindings/watchdog/realtek,otto-wdt.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml b/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml index 099245fe7b10..1f5390a67cdb 100644 --- a/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/realtek,otto-wdt.yaml @@ -67,12 +67,10 @@ required: - reg - clocks - interrupts + - interrupt-names unevaluatedProperties: false -dependencies: - interrupts: [ interrupt-names ] - examples: - | watchdog: watchdog@3150 {