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 8812ECE7A88 for ; Sun, 24 Sep 2023 17:48:18 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OoaROSqVJ//+IyY96gr34fXWb69ZgGNm52ilrXbgthY=; b=joBq1nO76Dav0H lMhrirxLGqL0T+pIDzF7pDQiNKKS+Ji3H0Up1t45EzKIlOXupXTX6QV5ibAfZLis3cZ5uZZ9dei5J N3A0LQUm3LZ5PXWteSzNHEpDOvQVT69OtOGnjInaUg1utF8YEVksu20iyBtC259NL88n8btUV5oOv z3tk9+JmsK7oucbL3Z5Ls/O6h6J6PInUpZl5PKTxqSkKl6d0Dj+4QWltgEf9P0CUrVclqt/21kpV9 XKqk1YrD/nX3NK2G7gLXGYhJmU0SGRE3BNUyUvSA7LEap1B+cVBCljLVyodBmk0lRkcb4nXumhRtY 8NBaGu0/awuKionnWpbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qkTCt-00CWTZ-1u; Sun, 24 Sep 2023 17:47:47 +0000 Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qkTCq-00CWSr-0a for linux-arm-kernel@lists.infradead.org; Sun, 24 Sep 2023 17:47:46 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 52B3D40002; Sun, 24 Sep 2023 17:47:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1695577657; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RFE+cgklfTRHAwkckKPBu2omU1bX26+xQGYNfdliYZ8=; b=lDH3OnvX81oVTST6igjVoTJonxNAJDsYvbOXFVAYcpYuT8kxwhixzQsu8di56TQb7gOgzO H2tEiwqK3U2gmRDEdAbohek2/5QZ4fXs4aUuw87gXrYfO69a+IFHyU6ZsM+aH6/REtE0ZM Qni07UByfsGIBMI+3r2QsSU1SjBZDlIm5SXCWJ+xi3LUQk507buzIXWvk2vpFvK3nvPy8N 3oMvMSXrFjRFuBRTCZftOOasojiecE59c3tugkYKURo1RAiVr1whRwOMNmfY8flRYmVHgQ FEZBYLm8RTMIDIWZjM/xiUnR4ZYZA68p3L27hxkZdtOE75if5X/laVVWQFZjsw== Date: Sun, 24 Sep 2023 19:47:32 +0200 From: Alexandre Belloni To: Nik Bune Subject: Re: [PATCH v2] dt-bindings: watchdog: atmel,at91rm9200-wdt: convert txt to yaml Message-ID: <20230924174732990a62f8@mail.local> References: <20230924172004.59208-1-n2h9z4@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230924172004.59208-1-n2h9z4@gmail.com> X-GND-Sasl: alexandre.belloni@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230924_104744_792231_FE0F4535 X-CRM114-Status: GOOD ( 16.40 ) 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: , Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, krzysztof.kozlowski+dt@linaro.org, wim@linux-watchdog.org, claudiu.beznea@microchip.com, linux@roeck-us.net 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 Hello Nik, On 24/09/2023 19:20:04+0200, Nik Bune wrote: > Convert txt file to yaml. > > Signed-off-by: Nik Bune > --- > > Changes in v2: > - Removed unnecessary copyright. > - Added blank line between properties. > - Updated maintenance list. > - Added ref to watchdog > - Fixed compatible value. > > v1 patch: https://lore.kernel.org/linux-devicetree/20230916154826.84925-1-n3q5u8@yahoo.com/ > related unapplied patch: https://lore.kernel.org/linux-devicetree/20230525125602.640855-5-claudiu.beznea@microchip.com/ > > .../watchdog/atmel,at91rm9200-wdt.yaml | 33 +++++++++++++++++++ > .../watchdog/atmel-at91rm9200-wdt.txt | 9 ----- > 2 files changed, 33 insertions(+), 9 deletions(-) > create mode 100644 Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml > delete mode 100644 Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt > > diff --git a/Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml b/Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml > new file mode 100644 > index 000000000000..37fa9a62eaac > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml > @@ -0,0 +1,33 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/watchdog/atmel,at91rm9200-wdt.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Atmel AT91RM9200 System Timer Watchdog > + > +maintainers: > + - Nicolas Ferre There is a trailing whitespace here. > + > +allOf: > + - $ref: watchdog.yaml# > + > +properties: > + compatible: > + const: atmel,at91rm9200-wdt > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: false > + > +examples: > + - | > + watchdog@fffffd00 { > + compatible = "atmel,at91rm9200-wdt"; > + reg = <0xfffffd00 0x10>; > + }; > diff --git a/Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt b/Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt > deleted file mode 100644 > index d4d86cf8f9eb..000000000000 > --- a/Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt > +++ /dev/null > @@ -1,9 +0,0 @@ > -Atmel AT91RM9200 System Timer Watchdog > - > -Required properties: > -- compatible: must be "atmel,at91sam9260-wdt". > - > -Example: > - watchdog@fffffd00 { > - compatible = "atmel,at91rm9200-wdt"; > - }; > -- > 2.34.1 > -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel