From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CEFFEC0032E for ; Sun, 22 Oct 2023 12:04:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=y7X6srxg3HUHUQGSYa+1YiSSjwTy51HSNBQoklUBiRg=; b=l/Jo/3XeMxP6Q2 2m+Qv6yp/TmYFKOD9OZKG1pwK3Im0HAhqDCMLQp3kaFZ/3C/sZ+JYaINAHVbnOU4upwFx9tYSozsh +MBwm+4s8CfjFANfOtU7KHuU3MHTnRKQtoTXdEEzkVs284VrLCTw/eWdd05ZVSH0IxjU+tWCFQyHF EpJi6GtNLMCPC/39OzjxDuWH5oRUxplFaAOuVWCUhkQK+Ux/IDGqUPN4SZo9x8K3NsSh0tp/h22hV Pvqs7uwo0xp6m17Y8tNw5SZFQK+woCCW2HI5MpJrudcMCNdqfljGFxQHaguOA0O4A5wj7imWUvhMD llrv7Hz0jyg9j7nppgyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1quXBN-005R70-00; Sun, 22 Oct 2023 12:03:49 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1quXBJ-005R6b-0f for linux-arm-kernel@lists.infradead.org; Sun, 22 Oct 2023 12:03:46 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-9b1ebc80d0aso346530866b.0 for ; Sun, 22 Oct 2023 05:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697976223; x=1698581023; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=LV4D2DnniG5y0BqTHFZQB1MGn4Ao69hJ2NYsUwg1XoA=; b=Zl3trYI6F9gitz7w7q5schCJZ0xwZ/qJy7fKcuTHRYokSbus+h4Ckx4e8d0aRlp6hw FheOmzx65sLfTEeuhkcEa/2Cf0x64Iaxej7Y3nta++HrVhShNjkAeWmV+lx6gyU+MLWM ZJH4+90EQFOM7fMkGUwZaT1USIJC+WdjdHrk21FgvyEzj8ftJ14hjEGmqjpj6iVNQFnu Y6jGkuTLNSZ5r7zxbJvugXcsa2Z8c9vyOWdirY2MI5JIXohDdoKYqH/9QYPPqYNdtx02 EIHuYnjnzrPg69PLOzLAiOxXiiafn+JEIDTaOGZBUEBHgX388zNwVGpTnjKkD5pjiPnf AkUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697976223; x=1698581023; 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=LV4D2DnniG5y0BqTHFZQB1MGn4Ao69hJ2NYsUwg1XoA=; b=LujHlGyQbHJAtbfYx5z1iJuh5nCSSrrfERiDk7TilAlrbJ4UONCoWnxe3YCmkNFPW0 O1vEqsh243zlWLyhz+A4sP1X4zhwG0Za/z9OgGXtHs30ochzdjNYM+c1CNsq7qpF8l+6 GgCW7xRlRxn/9dtI4JMYqizIK8vabVARuuNlCc8smtSthbtW/V4EZ2UMC8znm2twhY00 Jq6+8TzcPGXYzy6O74atnOi6RB4KkvJp4P6xeZnpl6UMN4712xVm222ilDYnOk7po8YD uWpEvYyp0HZcHeViBEPXEfpE/SQf6YoS1FKFYmi9RZ/PSJM5Lxw8JfBF96tIpcyv8m3b S29A== X-Gm-Message-State: AOJu0YwtmrB6Sq7gR/wfvssykCgmaduLbXzeL2FpsiPr2Yars5dPvmo4 YyQfpyeuLKOpFE1DaKuz5dh/JV5v88LRZw== X-Google-Smtp-Source: AGHT+IH1iiAQaekK8D5v5zJkhVAmQ58w+d+CKS4qxxgJ8PwvgrnrO1pQzOeT/Qw0m+iwgCLYdQWeOw== X-Received: by 2002:a17:907:1b0a:b0:99d:e8da:c20b with SMTP id mp10-20020a1709071b0a00b0099de8dac20bmr5049091ejc.24.1697976222823; Sun, 22 Oct 2023 05:03:42 -0700 (PDT) Received: from localhost.localdomain ([2a02:8109:8c00:3664:5c63:7da:9756:9320]) by smtp.gmail.com with ESMTPSA id q24-20020a170906361800b009b2ba067b37sm4870012ejb.202.2023.10.22.05.03.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 05:03:42 -0700 (PDT) From: Nik Bune To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, skhan@linuxfoundation.org, baruch@tkos.co.il Cc: Nik Bune , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: watchdog: cnxt,cx92755-wdt: convert txt to yaml Date: Sun, 22 Oct 2023 14:03:28 +0200 Message-Id: <20231022120328.137788-1-n2h9z4@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231022_050345_246584_2A636567 X-CRM114-Status: GOOD ( 15.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert txt file to yaml. Add maintainers list. Took from Documentation/devicetree/bindings/arm/digicolor.yaml file. Signed-off-by: Nik Bune --- .../bindings/watchdog/cnxt,cx92755-wdt.yaml | 49 +++++++++++++++++++ .../bindings/watchdog/digicolor-wdt.txt | 25 ---------- 2 files changed, 49 insertions(+), 25 deletions(-) create mode 100644 Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml delete mode 100644 Documentation/devicetree/bindings/watchdog/digicolor-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml b/Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml new file mode 100644 index 000000000000..acd2d30b20f3 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/cnxt,cx92755-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Conexant Digicolor SoCs Watchdog timer + +description: | + The watchdog functionality in Conexant Digicolor SoCs relies on the so called + "Agent Communication" block. This block includes the eight programmable system + 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 + +properties: + compatible: + const: cnxt,cx92755-wdt + + reg: + maxItems: 1 + + clocks: + $ref: /schemas/types.yaml#/definitions/phandle + description: + specifies the clock that drives the timer + + timeout-sec: true + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + watchdog@f0000fc0 { + compatible = "cnxt,cx92755-wdt"; + reg = <0xf0000fc0 0x8>; + clocks = <&main_clk>; + timeout-sec = <15>; + }; diff --git a/Documentation/devicetree/bindings/watchdog/digicolor-wdt.txt b/Documentation/devicetree/bindings/watchdog/digicolor-wdt.txt deleted file mode 100644 index a882967e17d4..000000000000 --- a/Documentation/devicetree/bindings/watchdog/digicolor-wdt.txt +++ /dev/null @@ -1,25 +0,0 @@ -Conexant Digicolor SoCs Watchdog timer - -The watchdog functionality in Conexant Digicolor SoCs relies on the so called -"Agent Communication" block. This block includes the eight programmable system -timer counters. The first timer (called "Timer A") is the only one that can be -used as watchdog. - -Required properties: - -- compatible : Should be "cnxt,cx92755-wdt" -- reg : Specifies base physical address and size of the registers -- clocks : phandle; specifies the clock that drives the timer - -Optional properties: - -- timeout-sec : Contains the watchdog timeout in seconds - -Example: - - watchdog@f0000fc0 { - compatible = "cnxt,cx92755-wdt"; - reg = <0xf0000fc0 0x8>; - clocks = <&main_clk>; - timeout-sec = <15>; - }; -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel