Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4731729rwd; Tue, 23 May 2023 11:37:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ54yads0JtgBPPVkQJ4BWsiiXy8bbVcHX1v1jhJBZC8l7j0qWQ+BqmpLsMUFMa1zMpg7WZo X-Received: by 2002:a05:6a20:a127:b0:101:b080:e763 with SMTP id q39-20020a056a20a12700b00101b080e763mr14971291pzk.31.1684867027040; Tue, 23 May 2023 11:37:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684867027; cv=none; d=google.com; s=arc-20160816; b=irBTL4m92sJOo4xZzol6HCTo4L97kOu2GVX+EBAynkYDKPgk5b2t4GfEzQbkcxbxWS GaiC0+SM24DAsjSIVJz8WRbDemJUtQbTso6/TCYTjbuxX6DABwjcKV4oHvymFJ/yelJA Gy2Jc7hicAoWuUEPHIP2IwQZ5uwNQd9//uHRIxnGxXDVjwAKiHMiiFByHgqOiNTt6op+ HLbrOF1S7ILwrAE8CCIWtm+Kmg198+gFL8O4L76VA/2M8NLvJC+6EMET1AXxBpMKKXZ8 fqTR/l0FG8YdCBEDvWsLBq864VqV7sNYENN9H/N5eHlJU3nLjtxk7G6j5Qdj9wrt9Mqr K37Q== 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:dkim-signature; bh=riCnZnk2rhniE7YEeAV2+JQRVm98GN/2pzFtzGbSyrE=; b=PL6DiKScLcdw/EYP1+U4HDpyHZblayT9xwTsYr/CH42Wf26Sry0M0sJg6c6aAqh5ip 9okaOFpOifUBHrVyl10s/KRcdeLNYc+ZvUY3xPjI68cZHjZe/QwTJzPTxUTx5u2uQ82x AS5gT5/oFR6VhHxcdWGvoNlujsxKns3Y/Hejj6RXmbnIUDwBiNVmC1lDtGxMLzwVqnLc 2v7Y/WrTlqfeZxkMGH5V3Bidcss7FBjP94vUaJiDu365iP7xRGWetUPSQBIjSny3eSvW o0kUgDt8rzKcylGO3iio2RFKPDC6cPNnupQ8/k6T9chHCRANOkoSPA8G0MFh9Y9+3jf+ /Uig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YPRehp6m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k64-20020a633d43000000b0053ef2b7f24asi1457650pga.109.2023.05.23.11.36.54; Tue, 23 May 2023 11:37:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YPRehp6m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237742AbjEWS1q (ORCPT + 99 others); Tue, 23 May 2023 14:27:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230164AbjEWS1p (ORCPT ); Tue, 23 May 2023 14:27:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 513588F; Tue, 23 May 2023 11:27:44 -0700 (PDT) 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 DE7AA63129; 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 Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor.dooley@microchip.com, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, sre@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4QfNIu1KVbjjpExj" Content-Disposition: inline In-Reply-To: <20230523061512.195271-3-claudiu.beznea@microchip.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 --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--