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 DEE86C77B75 for ; Tue, 23 May 2023 18:49:41 +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: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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=FasACwxoQ2rFk9O58A3r/c1bo3BR5183gWc+qgyXkWs=; b=KnQZg4iKzvvQif0cpxIJ/HqRQa ybUl9jjK4vksHKIsenycp9w9ZJfg5qK8DqXuOetGvq0kAXRhW3Fr2ioaAoXU6Ihm2SIjsfqKxbhQg /TGLut5Ri76RpJiXTEMo3SeKxndzB2ZEjb8kbW7PRSvBTOaAtGmTMqrswF7wX5yWJDIgO89LvR7FL 4cKWbYdBeQ+nmcftJHzHtN05utor6o5hS7Pk8ZI6WIkSyRNt13eUqPE4Kt+nmf2yhopLYEFbbGsun alRVdhsoMEhOgJ1Nse8+KlgA9WP+lqA0wrtqbF2aG/g+2awjZkPorQ5vxlbBO9mtjOJktUHFwp9Fo B+PG1/YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q1X4N-00BAYT-1b; Tue, 23 May 2023 18:49:15 +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 1q1X4I-00BAXg-3B for linux-arm-kernel@lists.infradead.org; Tue, 23 May 2023 18:49:13 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 515DA619E6; Tue, 23 May 2023 18:49:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77566C433D2; Tue, 23 May 2023 18:49:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684867749; bh=iKyVdrNdupf6FLPN38zfHmfs/Nd6a0SWOFcdapufsBw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mhGWyFqAUIiIiIEpykYA95zO4MY9L61Oq6pg8Y7hxTBcJJri5cml0pw55QB3duh2i dfpVTdmg6UqqQPTkuFyxRdPoZCRsXQDzgPwEdodP4AcZJVnR/m9abkpHwT3sIfppTd HRPIvcW7z05HZa+SmBu9zqJRkpphUr0DPiilbxK2JKy25CZgD4LJuDRJ9GSMRJxZts tudUfwoWs/DFroseSdgeHbi2/pFC4hKtT9IMjrs16E8L8MFSryUKuKChW9XHe+mP7k osPPBjyzC9Zlac4gM0wCs0hfG+wTxc7J0p0VWFer+3rLsRLHKJDKshY1A1wXZOW0qS ZNfW9nD4Rs7og== Date: Tue, 23 May 2023 19:49:05 +0100 From: Conor Dooley To: Claudiu Beznea Subject: Re: [PATCH 3/4] dt-bindings: power: reset: atmel,sama5d2-shdwc: convert to yaml Message-ID: <20230523-remission-ageless-0880ed49765d@spud> References: <20230523061512.195271-1-claudiu.beznea@microchip.com> <20230523061512.195271-4-claudiu.beznea@microchip.com> MIME-Version: 1.0 In-Reply-To: <20230523061512.195271-4-claudiu.beznea@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230523_114911_648968_1F7B86D8 X-CRM114-Status: GOOD ( 21.20 ) 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, alexandre.belloni@bootlin.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, sre@kernel.org, conor.dooley@microchip.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============4454606152915976329==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4454606152915976329== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WWGOvCNCU6jCwAEm" Content-Disposition: inline --WWGOvCNCU6jCwAEm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Claudiu, On Tue, May 23, 2023 at 09:15:11AM +0300, Claudiu Beznea wrote: > Convert Atmel SAMA5D2 shutdown controller to YAML. >=20 > Signed-off-by: Claudiu Beznea > --- > .../devicetree/bindings/arm/atmel-sysregs.txt | 63 ---------- > .../power/reset/atmel,sama5d2-shdwc.yaml | 114 ++++++++++++++++++ > 2 files changed, 114 insertions(+), 63 deletions(-) > create mode 100644 Documentation/devicetree/bindings/power/reset/atmel,s= ama5d2-shdwc.yaml >=20 > diff --git a/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-= shdwc.yaml b/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-sh= dwc.yaml > new file mode 100644 > index 000000000000..613668d6099b > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.y= aml > @@ -0,0 +1,114 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) Same comment on the license here. Figure you need a Rob Ack. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/power/reset/atmel,sama5d2-shdwc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Atmel SAMA5D2 SHDWC Shutdown Controller > + > +maintainers: > + - Claudiu Beznea > + > +description: | Also, you don't need the | if you do not need to preserve formatting. > + Atmel SHDWC shutdown controller controls the power supplies VDDIO and = VDDCORE > + and the wake-up detection on debounced input lines. > + > +properties: > + compatible: > + oneOf: > + - items: > + - const: microchip,sama7g5-shdwc > + - const: syscon ^ you should probably mention in the commit message where the syscon came from, as it doesn't appear in the txt binding AFAICT. > + - items: > + enum: > + - atmel,sama5d2-shdwc > + - microchip,sam9x60-shdwc > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > + debounce-delay-us: > + description: | > + Minimum wake-up inputs debouncer period in microseconds. It is usu= ally a > + board-related property. > + > + atmel,wakeup-rtc-timer: > + description: enable real-time clock wake-up > + type: boolean > + > +patternProperties: > + "^input@[0-15]$": > + description: | > + Wake-up input nodes. These are usually described in the "board" pa= rt of > + the Device Tree. Note also that input 0 is linked to the wake-up p= in and > + is frequently used. > + type: object > + properties: > + reg: > + description: contains the wake-up input index > + enum: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ] Same here with minimum & maximum, no? Otherwise, this seems fine to me... Cheers, Conor. --WWGOvCNCU6jCwAEm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZG0KoAAKCRB4tDGHoIJi 0kdhAQCskLgP2mlO/lNxcX/CGR6mGvWUEPUc12bU7z8iCSk3TQEAiudITCr1jawD 4NCyoquvEKgbjWtwsLyE6VyjqrF5Sgc= =4RFH -----END PGP SIGNATURE----- --WWGOvCNCU6jCwAEm-- --===============4454606152915976329== 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 --===============4454606152915976329==--