Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2062582rda; Tue, 24 Oct 2023 11:06:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHLOsoUcctmRLJV41zv2l0EI+cudKTBIBkPcj3/dZnrH9WKQyQCWkW1m6cwji/m4ZCPD//w X-Received: by 2002:a17:902:e5cb:b0:1c3:aa8d:4daa with SMTP id u11-20020a170902e5cb00b001c3aa8d4daamr12601237plf.44.1698170764508; Tue, 24 Oct 2023 11:06:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698170764; cv=none; d=google.com; s=arc-20160816; b=re876KHJqgJrygDO3Wh/ku2nfzzoLkLSYu8kC92TzS9MiY8C/rodSlaJvw7vLkLQ3u ABsFV9/iyyCGUNMxr7h2RM2M0iJjzLSDRXCqtBMxyAPRzZg2uvqzADXJf7dreOy2Pzyt W8vppP4w7wD3nudVWJ24FnvwCeg0oQf1mh00MtNEUdKRalKllgiulG/QVqCK3MFfv+m/ 4unWn8HshJP8CEnmhTXlBnw1/mFoUCjsUgiLqRsOstjWB1OqHy7gk+nACeMo4CgIO3Ma jqBUN5AxmnvFNuX/Pa8JKOn8dmTsRNJ+mnIjG0+Ewtg0ig8c9GbXLq+iDNUCp/qF0An8 DFmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=9HGH0nYv3U6DlSujipQyBODLHc0mtSCpbyj+VerOFKc=; fh=5QyBJcNaQCyPQzhDzi3NhxXHVAMnbu1RonAcHVf+HUc=; b=kc40+Tm1V5ge3hT3ePH9r3w4QkL3SXNIpEhTDd/1NfxxfivmOLYmuWRDOfaLDPQYnl TJ85M2bEJYAjwvtvyVa+S4KwUpoE1bTed9oBLvhUX8Ns594Klh2RN4qTOFAa0pZET9pw mdZrrlLPsOlZzzdjLCYIc/pdVCacOCELFezFTDHlKfOdamBTCEvuLUYyJVaTfMYbVFqd ULPl4zzJ+x2sQEffWFIuD9l2aAP/1zV2PbyYIKKHDXgm7vJN6j7Cuwc2t8wUCIbsWHsr 11pJunLuFhgsc51fHmR/Lu1qkDugSHyX4j7hroRgsyEeNUWMpNDaM0YjS/h4KjZ9W38d 9Jpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ldc1OphL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id i12-20020a1709026acc00b001c4660cd474si8264385plt.634.2023.10.24.11.05.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 11:06:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ldc1OphL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2EBB48092ED1; Tue, 24 Oct 2023 11:05:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343929AbjJXSFn (ORCPT + 99 others); Tue, 24 Oct 2023 14:05:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230304AbjJXSFl (ORCPT ); Tue, 24 Oct 2023 14:05:41 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A5F910CF; Tue, 24 Oct 2023 11:05:39 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-694ed847889so4040261b3a.2; Tue, 24 Oct 2023 11:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698170739; x=1698775539; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=9HGH0nYv3U6DlSujipQyBODLHc0mtSCpbyj+VerOFKc=; b=ldc1OphLM8/hFiK5l0qF/jOLJMr709PFSh7kuJld6tnZ0PlDo0bAPxGbT6XmZlGL5M hXjk8OumDLIepq5RvT7Rt0bl9FQ/LAgSJtzozfKyPmLZ566+MUUPOa0nbboM5smDKSnG YPOaU3EE/t8yeU9EtC0/6t4mWubU+oQEXmZNY8HwTCIYXqwPL7xd3f0hwd3fk9dUoiNP noiA0EDMpATghmLNZYRx4o0Nh66zDLFQsW1yny2w99zSyfN70oZkRahLB0AKo5ZiGdbI ERQypS/UKjEfpouG6LXXzGe+2J2gWl75K493JUADPyhWedLxTvOptPbZCnmTvmnBEoX9 2c5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698170739; x=1698775539; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9HGH0nYv3U6DlSujipQyBODLHc0mtSCpbyj+VerOFKc=; b=Icmz3FF5zowRmdyndFFGC3Xzxsy8aLxVqNsPLrJ7+XVyhLiBvtSF1I5g/5H+g0wH01 eK+aUHr2UJRhQiORrosK6PsQZ45BOIfwxXFj5XcOTg8C+pCvRmf+tMgSryMzdPYiH647 s06MYQuVNdqJrfLzNcmbIwIhwQT1fU6rPmy6Fi6i/1w4tzLpGU3mlK/WzdFdMW/tIhl+ BQUhTjt4uSLtKMi+Il1Q3gbSxBDfOSGbkH2Q8SBsAda3m2xd+P1IYQlAU4zNwn+J8qCw PKPCjiN88W1LwA6Pd3TK17gEOITU0F2Xoda6PnJIbdQ2MDuEkNQD7nAv0sh6bs0oGuE8 uRkQ== X-Gm-Message-State: AOJu0YzbS4ihwGTSb9O8SP3d3hTeGMRBrHGGrtMc+RkfBK5Szqm72ETn L+8PFLdvU1TW07PmAvIvan0= X-Received: by 2002:a17:90b:2d8a:b0:27c:ef4b:6dcf with SMTP id sj10-20020a17090b2d8a00b0027cef4b6dcfmr10864537pjb.21.1698170739001; Tue, 24 Oct 2023 11:05:39 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id r8-20020a17090ad40800b002636dfcc6f5sm7468885pju.3.2023.10.24.11.05.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 11:05:38 -0700 (PDT) Sender: Guenter Roeck Date: Tue, 24 Oct 2023 11:05:37 -0700 From: Guenter Roeck To: Nik Bune Cc: wim@linux-watchdog.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, skhan@linuxfoundation.org, baruch@tkos.co.il, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] dt-bindings: watchdog: cnxt,cx92755-wdt: convert txt to yaml Message-ID: References: <20231023202622.18558-1-n2h9z4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231023202622.18558-1-n2h9z4@gmail.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 24 Oct 2023 11:05:46 -0700 (PDT) On Mon, Oct 23, 2023 at 10:26:22PM +0200, Nik Bune wrote: > Convert txt file to yaml. > Add maintainers list. > > Signed-off-by: Nik Bune Reviewed-by: Guenter Roeck > --- > > Changes in v2 (according to review comments): > - Updated clocks property to have only maxItems without $ref and description. > - Removed timeout-sec explicit definition, as it is defined in watchdog.yaml. > > v1 patch: https://lore.kernel.org/all/20231022120328.137788-1-n2h9z4@gmail.com/ > > .../bindings/watchdog/cnxt,cx92755-wdt.yaml | 45 +++++++++++++++++++ > .../bindings/watchdog/digicolor-wdt.txt | 25 ----------- > 2 files changed, 45 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..1844d7e026fe > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml > @@ -0,0 +1,45 @@ > +# 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: > + maxItems: 1 > + > +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 >