Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4929386rwl; Mon, 3 Apr 2023 11:38:58 -0700 (PDT) X-Google-Smtp-Source: AKy350b4YWnmJHX5aSnffOC0WFYjdcSUO7J+/KUH3ADFWve0JLVPxGtsVwfXZ9hax8kXxzrcfb7c X-Received: by 2002:a17:906:2ecd:b0:931:636e:de5a with SMTP id s13-20020a1709062ecd00b00931636ede5amr35458538eji.31.1680547138202; Mon, 03 Apr 2023 11:38:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680547138; cv=none; d=google.com; s=arc-20160816; b=ezfD1P5tg27CX+Zh+xOnDnXQRn5CBUntDcw0XPJ7/5iSqXiwu9vnRydIVAndCVawOl CP3GJPVF1uY+ffpSwviVtx6QKklio2q028GMEoN9Py0O0EkUVO1DjK01Oe4hBgDNGSbD I2cNmzOwtsbrr6yjstQBhp8ayQ1LroSqbEVUoG3/elPwj+J65v7aie88NfAii5UQw8aY 3QMRPskimssq8Ti3pySC3EzQnCeGJH0RswUUfFqf2Zokl9KFP3WPZsK6cT3okuMYRYvB a3NNOeduQQn0FtiazwpCPhtjL4Bti0PvT2uflOpW+JqytBpvsoxIzmRfcI139CZ3cLfL nyvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=EPWT5mMmuGrFkQaGaj75abt7BvFmjgz0kWUiVZiK+60=; b=cB4Z9fi/UxJ/D7l48E2CKocjnpNRB2dG6CSm6txQnj7kqxdRFNiaP5wHpGmw+YsrQA /zzMf6PXboUugqhlViulXlqz1wfsd4gkwhxvHmq7Cf8qV5l08TTRfElGmE+7kXz2mp66 EaxCJAZw7Em6Y4qbIjdYnAo3DtFJg19AHEt63VUhbnm9fhc/UIk16Y5RiVUaqCcl3/cs rXAZhFkwgrYCLfIYKsZSDkjHMSlXV8xI7XCmTbukGG4rRdT6FdAweRcN0xSVnV8fcGYt jY7pAWe0dIxzEXTQ51tob1IktXmobzF3rvaKWLmsD2o01ZyssmT3rlOTWpKIyxrEo2TG Wndw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F2GsOoTd; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ul6-20020a170907ca8600b00947b7ce543fsi7694370ejc.794.2023.04.03.11.38.33; Mon, 03 Apr 2023 11:38:58 -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=@linaro.org header.s=google header.b=F2GsOoTd; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233387AbjDCSdw (ORCPT + 99 others); Mon, 3 Apr 2023 14:33:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233350AbjDCSdg (ORCPT ); Mon, 3 Apr 2023 14:33:36 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C81130FB for ; Mon, 3 Apr 2023 11:32:59 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id ek18so121089625edb.6 for ; Mon, 03 Apr 2023 11:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680546778; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EPWT5mMmuGrFkQaGaj75abt7BvFmjgz0kWUiVZiK+60=; b=F2GsOoTdBB99ORU2xWrBAyXtTxEW63x/qTkd9bnEjUalG0IkTiwxfDqA6EYadBh8pP vwyMm+hX6ih0XzUM4XtCwk4+vZUdjXdYE6bJHph8vK6cQO6iDgBm3PUIaisbCAOOkA86 l9WaVyERMvWNz1GmqPxdgqdIF4tfvEkw62UeH0Iwv8od2RImp00TZREbGnqrbtlqXpxe IhAOAcTAXtQR3WvPXGOClOo90KVfGODQjFXF7uN003AI2qKMYiRYtgoR9a9ckkyVPEfn nO8LUwxUVeBT36nvPtpcRJ9C3SHnHGlkFMul6ogJoooxMiABfRUaLaEUnfj4QF9fp8d3 L48Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680546778; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EPWT5mMmuGrFkQaGaj75abt7BvFmjgz0kWUiVZiK+60=; b=IQENOA0zu0Wa6m1oRD6Eh7e4IZRUw6BcPDk4CVgmwMR6Yx0/jeDodLLYLtOGRu9ug+ /3+yxS1rWQyZa7Xhk+kNu29ZCNAzoUTJewczDc3Q7oDqP2UbKn1B0QWoScdMGG3PIJ+K Pw5KKtBztaqJq5rr60wV9qtzGPayx4lMjLcQzgRhegv6wQPvIJ7YQDgyDCeprQmBvFmn Lq77n4jBOGhkoVonLjtOS3LT2VLPY1kECZL9+5/qD/kph4x3r7eKVDRQn4poL6uU7Zn9 fAcAgLOmImZ1KrvSsroPGk9qau+s2f4ghI2AHP65mRYuA03sRs+BXLS4XGtXBQ7Qzx+S Lorw== X-Gm-Message-State: AAQBX9dY3S4rUEVkgo2uHFu3wdX6FbtGQWE/AsYZ9sQBz6av2tv9r0bb iO7E/NvAjHpLHpUs5WPkufGW3A== X-Received: by 2002:aa7:c699:0:b0:4fb:80cf:89e6 with SMTP id n25-20020aa7c699000000b004fb80cf89e6mr172550edq.8.1680546777852; Mon, 03 Apr 2023 11:32:57 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:ae90:d80:1069:4805? ([2a02:810d:15c0:828:ae90:d80:1069:4805]) by smtp.gmail.com with ESMTPSA id p9-20020a50cd89000000b004c0c5864cc5sm4915461edi.25.2023.04.03.11.32.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Apr 2023 11:32:57 -0700 (PDT) Message-ID: <23a7215e-0be4-195c-f3c9-3b1d1b760fa0@linaro.org> Date: Mon, 3 Apr 2023 20:32:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH V3 2/4] dt-bindings: watchdog: xlnx,versal-wwdt: Add versal watchdog bindings Content-Language: en-US To: Srinivas Neeli , shubhrajyoti.datta@amd.com, michal.simek@amd.com, srinivas.goud@amd.com, wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, git@amd.com, git@xilinx.com, neelisrinivas18@gmail.com References: <20230331074117.356339-1-srinivas.neeli@amd.com> <20230331074117.356339-3-srinivas.neeli@amd.com> From: Krzysztof Kozlowski In-Reply-To: <20230331074117.356339-3-srinivas.neeli@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 31/03/2023 09:41, Srinivas Neeli wrote: > Versal watchdog driver uses window watchdog mode. Window watchdog Subject: drop second/last, redundant "bindings". The "dt-bindings" prefix is already stating that these are bindings. > timer(WWDT) contains closed(first) and open(second) window with > 32 bit width. Write to the watchdog timer within predefined window > periods of time. This means a period that is not too soon and > a period that is not too late. > > This patch adds devicetree bindings for versal window watchdog device. Do not use "This commit/patch", but imperative mood. See: https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95 > > Signed-off-by: Srinivas Neeli > --- > Changes in V3: > - Removed xlnx,close_percent property. > Changes in V2: > - Added watchdog ref > - Removed timeout-sec property > - Used 4 spaces for example indentation. > --- > .../bindings/watchdog/xlnx,versal-wwdt.yaml | 50 +++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 Documentation/devicetree/bindings/watchdog/xlnx,versal-wwdt.yaml > > diff --git a/Documentation/devicetree/bindings/watchdog/xlnx,versal-wwdt.yaml b/Documentation/devicetree/bindings/watchdog/xlnx,versal-wwdt.yaml > new file mode 100644 > index 000000000000..dea1e7c487d3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/xlnx,versal-wwdt.yaml > @@ -0,0 +1,50 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/watchdog/xlnx,versal-wwdt.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Xilinx Versal window watchdog timer controller > + > +maintainers: > + - Neeli Srinivas > + > +description: > + Versal watchdog driver uses window watchdog mode. Window watchdog What is driver? If you mean Linux driver, then drop all references to it and rephrase to describe hardware. > + timer(WWDT) contains closed(first) and open(second) window with > + 32 bit width. Write to the watchdog timer within predefined window > + periods of time. This means a period that is not too soon and a > + period that is not too late. The WWDT has to be restarted within > + the open window time. If software tries to restart WWDT outside of > + the open window time period, it generates a reset. > + > +allOf: > + - $ref: /schemas/watchdog/watchdog.yaml# All other examples reference local watchdog.yaml. Don't do it differently than others (git grep watchdog.yaml) > + Best regards, Krzysztof