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 D370ECDB474 for ; Sun, 22 Oct 2023 17:30:52 +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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ylTaplENMoBVZH+v88tRyKpBVYpe67w9MMcJcjl35VA=; b=OKpuY1czePjP6kkuu5mgKDGE9K dGqWCeXZ3k7sdaWj60qrwOUXgNI3wIuRjJ34pR6KhRmSx2kGCnIthjdAKMvLFyZgvTss+9R4qq+C7 4Rsf+9AAgqbIXGpCDkOiOeAtkjqACW+SV1MzhzzKfBCEIEkFUL7idZ30c3UX4ZrQ12VQjGGImuoor p+tgb5fcI1cw5kq4cyKtl70OHfbZvIMHZpYfRqAHMLr5cour+07M/x6ROj7j66pLiIjlC+H7/C2ua tKCWjxR8+azZXA7SX0xV5/2MQAo5tWeFIhn9eii8/BtNC9JCKE+kr/pfOer/oh8cC5FRv8yHqbAHU d5kPbadQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qucHJ-005kvr-0d; Sun, 22 Oct 2023 17:30:17 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qucHD-005kv8-0c for linux-arm-kernel@lists.infradead.org; Sun, 22 Oct 2023 17:30:13 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id A0A1B615BC; Sun, 22 Oct 2023 17:30:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B516C433C7; Sun, 22 Oct 2023 17:30:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697995809; bh=+cy7JrdQOmAKxt5f/1oHsfduy+/ecpkdk3TsslBEOTY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cAI+FdqiohNObLN8vZFnXApengck5oXzAl/+SYEG5mKg/HGiYc+DR/Z+N1y9OArMq 52RpK8oTCSc8RjZIByTPrPXBs355+Zze/yyrb6EGu6wpK7z/cMK5lPy7fQs67YZ48q RTp98LC7Erz/rDuIvFUByM6QK3SAO2LU8p+mcuthYOTFvXYnrEXFoEq0w7Eochi4rz Bf6kFBclcMktn9ZxCzJWaJD92yV6opUYMIGQJDtWZmjmI44e5qgs7YhSenDGA8vHj/ fYm84jrgHKGvXDp/EIbtz9B/N5F+uwWbwLothAO7IHrERVg7cWcvMxA/GUdoHCmg53 XcBMomOmBR01g== Date: Sun, 22 Oct 2023 18:30:04 +0100 From: Conor Dooley To: Nik Bune Cc: 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, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: watchdog: cnxt,cx92755-wdt: convert txt to yaml Message-ID: <20231022-perish-ample-e8c009664a19@spud> References: <20231022120328.137788-1-n2h9z4@gmail.com> MIME-Version: 1.0 In-Reply-To: <20231022120328.137788-1-n2h9z4@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231022_103011_337285_AF4F43C3 X-CRM114-Status: GOOD ( 23.05 ) 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: multipart/mixed; boundary="===============3911064027411677130==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============3911064027411677130== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zVdCFydyJvbEUsVE" Content-Disposition: inline --zVdCFydyJvbEUsVE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 22, 2023 at 02:03:28PM +0200, Nik Bune wrote: > Convert txt file to yaml. > Add maintainers list. Took from Documentation/devicetree/bindings/arm/dig= icolor.yaml file.=20 That seems like a bit of an odd reasoning, but Baruch was the submitter for the original txt form binding for this watchdog , per the git history. >=20 > 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,cx927= 55-wdt.yaml > delete mode 100644 Documentation/devicetree/bindings/watchdog/digicolor-= wdt.txt >=20 > 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 programmabl= e system > + timer counters. The first timer (called "Timer A") is the only one tha= t 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 This can just be: clocks: maxItems: 1 as clocks is a generic property & if there's only one clock, describing it is usually needless. Otherwise this conversion looks okay to me. Cheers, Conor. > + > + timeout-sec: true > + > +required: > + - compatible > + - reg > + - clocks > + > +unevaluatedProperties: false > + > +examples: > + - | > + watchdog@f0000fc0 { > + compatible =3D "cnxt,cx92755-wdt"; > + reg =3D <0xf0000fc0 0x8>; > + clocks =3D <&main_clk>; > + timeout-sec =3D <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 c= alled > -"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 =3D "cnxt,cx92755-wdt"; > - reg =3D <0xf0000fc0 0x8>; > - clocks =3D <&main_clk>; > - timeout-sec =3D <15>; > - }; > --=20 > 2.34.1 >=20 --zVdCFydyJvbEUsVE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZTVcGAAKCRB4tDGHoIJi 0u4nAQDbfwbOCduGR4mJFXl7eEwdSLF3zenXhEc5OBaGfw4rXwD/RcUcNDtbgrK9 h2Ia6oTdJyJ2mf5wa0SlZO72g3zlGwA= =8fe0 -----END PGP SIGNATURE----- --zVdCFydyJvbEUsVE-- --===============3911064027411677130== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============3911064027411677130==--