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 8A730C77B75 for ; Tue, 23 May 2023 18:28:16 +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=VTGn1GtbLt5XEDs1TZ9/+SMLPmsndo9rx2P1+SF/oPk=; b=u9lTIEzxd1wXtB7LhbPv291K2K 14s+07iv370SA8hoppUe5NSOSrVzl87DcKCntcmrMuQvQtLbVlc34+luua87rDM5idX21e6599DVO +sFgQ2j7mkFkEHBj3+v2iqwRXIhm9cpjlJYbr6/GCxBnjr7giNju9mnuFB/IwmKCiB23ZLfnpEqNV smBAi2RT/ElOPYEyXmWhLqUjPXNuzyACjlU8RrMypZYMVidNHusst5ABA/wkGwDiOlKEdxKAy0YVM bjLdVi4C+IJTQVHCN48Ly8dYqb/kw6mq/3KJNKeTqbVhpxbYvUcmX41a3Y4Pr1ygkI+80O/vFmfH9 rjUuPzeg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q1Wje-00B6iS-1K; Tue, 23 May 2023 18:27:50 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q1Wjb-00B6gy-24 for linux-arm-kernel@lists.infradead.org; Tue, 23 May 2023 18:27:49 +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 D268560DBB; Tue, 23 May 2023 18:27:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09CE4C433D2; Tue, 23 May 2023 18:27:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684866463; bh=XV1di+GuMw6Q1zA3mSrPZ/CUWvlb3FRyCbsgPWVNna0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YPRehp6m7et84NL7upNyUgSgsV0Otf/IW4DYgi+uj86CCGHKSh9N1ag1GDWBZKe69 exMmwtptERAaVcSoz6SmZct4GjjU8Sb4FpWgb6aybfHjub21yq/YUw2G+QW6sEusd3 xMIejEOfewleK5nFmXdrru6GGc6IJWNLrIznndHFDiY1/Rr4HxqOeSTykw/VVqFuJE e8fpmKGhos7AP3Qpwx6JxOyA7bui0MvTLAFfmsTw5PT9yYRCBVdPh1urLomtCxmCgY VgbmOQVQJ8lR5xJULK/qnjWyFUwojMok/hWzmFhcnKjGO1nd39Qw1wZsTW4ypGd1gt SuPOUEuXzUnhg== Date: Tue, 23 May 2023 19:27:38 +0100 From: Conor Dooley To: Claudiu Beznea Subject: Re: [PATCH 2/4] dt-bindings: power: reset: atmel,at91sam9260-shdwc: convert to yaml Message-ID: <20230523-depletion-petty-978775d05b22@spud> References: <20230523061512.195271-1-claudiu.beznea@microchip.com> <20230523061512.195271-3-claudiu.beznea@microchip.com> MIME-Version: 1.0 In-Reply-To: <20230523061512.195271-3-claudiu.beznea@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230523_112747_773101_AA737209 X-CRM114-Status: GOOD ( 17.58 ) 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="===============7874729775906234130==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7874729775906234130== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4QfNIu1KVbjjpExj" Content-Disposition: inline --4QfNIu1KVbjjpExj 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:10AM +0300, Claudiu Beznea wrote: > Convert Atmel shutdown controller to YAML. >=20 > Signed-off-by: Claudiu Beznea > diff --git a/Documentation/devicetree/bindings/power/reset/atmel,at91sam9= 260-shdwc.yaml b/Documentation/devicetree/bindings/power/reset/atmel,at91sa= m9260-shdwc.yaml > new file mode 100644 > index 000000000000..3b3162677db3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/reset/atmel,at91sam9260-shd= wc.yaml > @@ -0,0 +1,81 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) I think you'll need an explict Ack from Rob as the text binding has no licence text. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/power/reset/atmel,at91sam9260-shdwc.y= aml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Atmel SHDWC Shutdown Controller > + > +maintainers: > + - Claudiu Beznea > + > +description: | > + Atmel SHDWC shutdown controller controls the power supplies VDDIO and = VDDCORE > + and the wake-up detection on debounced input lines. > + > +properties: > + compatible: > + enum: > + - atmel,at91sam9260-shdwc > + - atmel,at91sam9rl-shdwc > + - atmel,at91sam9x5-shdwc For my own curiosity, is this x a wildcard or part of the product name? Quick google was slightly confusing. > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + atmel,wakeup-mode: > + description: operation mode of the wakeup mode > + $ref: /schemas/types.yaml#/definitions/string > + enum: [ none, high, low, any ] > + > + atmel,wakeup-counter: > + description: counter on wake-up 0 > + $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ] This can just be minimum: 0 maximum: 15 I think. Otherwise, looks good to me. Thanks, Conor. --4QfNIu1KVbjjpExj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZG0FmgAKCRB4tDGHoIJi 0inzAQCWkwG07Dt5F/OF9pU6MN9adj6hqLi8AuPEL69yois7BgEAgUyZ4xlAfRoK YwYAEd3JvLpw9MU9HQPwhBmOSGXHRgw= =+W2q -----END PGP SIGNATURE----- --4QfNIu1KVbjjpExj-- --===============7874729775906234130== 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 --===============7874729775906234130==--