From patchwork Sun Apr 23 14:39:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislav Jakubek X-Patchwork-Id: 86754 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2231779vqo; Sun, 23 Apr 2023 07:49:56 -0700 (PDT) X-Google-Smtp-Source: AKy350aZRnewXIJdVBW9WvikgVAxolWCsyxNdJ0sCnE7d4f0+RVOGjlrZGgZVKyGfAr6bZv+kPyq X-Received: by 2002:a17:90a:ea07:b0:240:d3b7:e850 with SMTP id w7-20020a17090aea0700b00240d3b7e850mr9595629pjy.49.1682261396072; Sun, 23 Apr 2023 07:49:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682261396; cv=none; d=google.com; s=arc-20160816; b=LvFO6Ci4Tbwd7U1iblrAaxNAF/X+PCiBuKcX8t1ioKHSmIV2zq153JAa00J93GIa2u DRUYNf7Z5PUYYcZHblYcvDBnTfqX9MZjeNh162sObONsiiHzhw5MPZvoE0b0kCGFsPni X7xjSQy/wbCTd1RwxkHFoR5NpKnoTKzu6p1v6j+75utZH2xFISoZ3hCfcXUUu3qH+l5K mrf3dgL4wQQ78U8dWO8tw8ZY2k5cdKl22YTjBMWtlsJojJiIOy1resgTLLOrTuoJO88O VG/KoS6eJ9e9YAoJaYsjy7FsjjCqwOZmMbn57mwH7U7BCqbj83QM8hJ0ln1zs+Rmuels 6TOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=DxascrpnkHsxUo0LirHOTOs03IZF0Zd8/Rtbdyketmg=; b=Jhwc0vJQLEittG/nPFG0AiKO1yO4yw6IWyrsJ0Uz9FoWXgDXVKM3U7f6gVKvuj+e3l RWS0HQFANnNC7OBfj6kvXDRVoJTVVBZVetiyqd/4KCKdBd/zCaxvvkfBG/vGJnquwz+e HG7wvtRo9NyKy27HBR1Hs4WXbtqGoC0jykXJpOaS7VUA6kaqlraa84rBMaLAkAW/ICGP BPjwSLvcFWueTduIXczROcwPQKpKt9zNWfdy5RR+LjxLF0M42XsDDIdyQttGJXOCKu47 p2NoYjzmyhg/7aUcs5v8qSo4ZmiD++miYOSishXzYiUXTVh+sahWyNOx/mx/DaA8w7mb PRPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=mPuZ9Ir1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nv5-20020a17090b1b4500b00247871edcdasi10340687pjb.96.2023.04.23.07.49.41; Sun, 23 Apr 2023 07:49:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=mPuZ9Ir1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230082AbjDWOj7 (ORCPT + 99 others); Sun, 23 Apr 2023 10:39:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjDWOj5 (ORCPT ); Sun, 23 Apr 2023 10:39:57 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FFA7E6A; Sun, 23 Apr 2023 07:39:55 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-3f20215fa70so2465025e9.0; Sun, 23 Apr 2023 07:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682260794; x=1684852794; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=DxascrpnkHsxUo0LirHOTOs03IZF0Zd8/Rtbdyketmg=; b=mPuZ9Ir1i7hak/yYSbI/PcvjGSebu/6dMaWjhg55ov7WSNXRhaQw9SdwF5hrpiFfYD 6Gw7veIFxdQz2CDqrpcSFRoMHHJ/KQ83s+xtiAJqbf7kfPd7CVkvaVTiMn8gpRHeL2sX rnVt5BdYYN1q00XBsrppf8tuTqqB2NGePafK9LsC/vumSRZZqUBIYB0zRMj/JWU10+5f kreoR565uQzQLI8/L1amA1gJxBE8nC6gyz7Qr1XPJ0NGT2W7NXrAHmrGg6p1m21uEDZv T7Yzpp0eIU5ZPwQxN5falUUhIj6zpqQ5BsWeyYQDOkdNhYiS8JIn4o5SD6uXSulofFFO uicw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682260794; x=1684852794; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DxascrpnkHsxUo0LirHOTOs03IZF0Zd8/Rtbdyketmg=; b=ZtAnBk17Eu1oW5PN8xgjth78NGoffRVO0MHIvs0NiZ4W59mU/MYcSjwKB32ECJ0c9l jwAsnQ/vHRxfrQhpCgftkUmEkArozMvivZn8dyBfs+U3c5gMSbYQfjlgP/4Xe1rZ1EHA rtxbgoeeUSML6+F7NWXR7s/lutcePNQO/UK5Q/V3aQZ/xuGDbXlCunYQARtHdpcc4myY 9HsZXqllCcz+LauDJ4fx91NQuO44VRSImRgsECc9+W82GIh9CWACVJ0liWfHiAXb0o3s eFPlBrBUA/T7fwpzhLSZaO8cKEWllOd7Hl1LVJyYNtazCBqnnQfOyAJTXvWtxCoiCJ0v eKnQ== X-Gm-Message-State: AAQBX9fTVIRp7IdGD0kY56Q0LwJoL5iVmLAIoF+QKjGg9NNe2ep4y/VF hOavkj0LkuNI+YwtnIZId8A= X-Received: by 2002:a1c:7201:0:b0:3ee:775:c573 with SMTP id n1-20020a1c7201000000b003ee0775c573mr5550759wmc.20.1682260793646; Sun, 23 Apr 2023 07:39:53 -0700 (PDT) Received: from standask-GA-A55M-S2HP ([188.123.113.247]) by smtp.gmail.com with ESMTPSA id r6-20020a05600c458600b003f195d540d9sm5362328wmo.14.2023.04.23.07.39.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Apr 2023 07:39:53 -0700 (PDT) Date: Sun, 23 Apr 2023 16:39:51 +0200 From: Stanislav Jakubek To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Florian Fainelli , Ray Jui , Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH,RESEND] dt-bindings: watchdog: brcm,kona-wdt: convert to YAML Message-ID: <20230423143951.GA10743@standask-GA-A55M-S2HP> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763978926031679989?= X-GMAIL-MSGID: =?utf-8?q?1763978926031679989?= Convert Broadcom Kona family watchdog timer bindings to DT schema. Signed-off-by: Stanislav Jakubek --- RESEND because I originally sent this to the wrong maintainers and mailing lists by accident. Sorry for the noise. .../bindings/watchdog/brcm,kona-wdt.txt | 15 -------- .../bindings/watchdog/brcm,kona-wdt.yaml | 37 +++++++++++++++++++ 2 files changed, 37 insertions(+), 15 deletions(-) delete mode 100644 Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.txt create mode 100644 Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml diff --git a/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.txt b/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.txt deleted file mode 100644 index 2b86a00e351d..000000000000 --- a/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.txt +++ /dev/null @@ -1,15 +0,0 @@ -Broadcom Kona Family Watchdog Timer ------------------------------------ - -This watchdog timer is used in the following Broadcom SoCs: - BCM11130, BCM11140, BCM11351, BCM28145, BCM28155 - -Required properties: - - compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; - - reg: memory address & range - -Example: - watchdog@35002f40 { - compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; - reg = <0x35002f40 0x6c>; - }; diff --git a/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml b/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml new file mode 100644 index 000000000000..5de1b022847b --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/brcm,kona-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Kona family watchdog timer + +maintainers: + - Florian Fainelli + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + items: + - enum: + - brcm,bcm11351-wdt + - const: brcm,kona-wdt + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@35002f40 { + compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; + reg = <0x35002f40 0x6c>; + }; +...