Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3074787rdg; Tue, 17 Oct 2023 04:02:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEBDha/GcbfUjCltNAe0uk4Gl8diwZDBrefBLDnVqflDAPV++AaaEd7XkI6t0POzAjko5Cv X-Received: by 2002:a17:90b:1898:b0:27d:3e90:9ee1 with SMTP id mn24-20020a17090b189800b0027d3e909ee1mr1809287pjb.23.1697540577171; Tue, 17 Oct 2023 04:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697540577; cv=none; d=google.com; s=arc-20160816; b=Pyngv9Ot26DglxzdSvyvnNFnKg9QbVAubhACS++IriStKprS2eB0w2GsoXcM03RhAG y7I3ph+s6RuIcnnFk+wxiQYg4CySYfEeNBa/UCSPV/Q2Zpdu2+wIgU79/hc9njbQ9XUX oV2aRxuucxE9o1L6a+828dLQy9lKxoreh6qsZHqLy+hB7Y0i9yTOQH23a+fiKQP3TBeH 57xTenlqku8fol4ejgCQPknmbt0fqb95wGLziyOyOakicTb9NzxhR3Cq8D6ViNvuWfFc 1J4rsA5n+D44FIKXYu3lSle7VfvT2pKtrZjq+IYUudH3NjiGBbQ2yu/J22qfu+NSmOGj WAvQ== 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=/hoP0LgmWKL1P8gfGJjGX85RUDAb4OfxvWEIc5SeSVE=; fh=eWqMpO/oIbm/5W4OI4srnpBlYb0AArVUUywC53xgg8k=; b=hVfYZfgImEP7tIajNGMd3NZtmxOQHyaT/MI2R18IyUkHJ6N+Zu6hCf7xvDTfIqIt1k iGQi+Zg9iRkhODswn1WuMh8YNumlrkTi6JHTrkdzrwqy9YIqDHGhC9wcmS1cUT53IMhl hmrsy7oueitYOlsXvijUtMEm66QINEDsDp27K3hn6Q4X9bXvYGctgK/U3QvC6Dh2fB0B Mcn9KSq1Tckhr2papqRlLvTK9e2lT1gfjRKoWi7/NF9iAb+i57tRVYEimJlhkfVmxEde jCkt6x0viqZgwIQHdLJ8U2sDkXJjGsaCIpj/wUuFSdwFSdGx5/IMfXOlGK1/YFholT1t j0TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MU9haWBN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id hg17-20020a17090b301100b002775f7dbd79si1374310pjb.184.2023.10.17.04.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 04:02:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MU9haWBN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 9C884802F55C; Tue, 17 Oct 2023 04:02:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343752AbjJQLCm (ORCPT + 99 others); Tue, 17 Oct 2023 07:02:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343755AbjJQLCh (ORCPT ); Tue, 17 Oct 2023 07:02:37 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 915DCF5; Tue, 17 Oct 2023 04:02:36 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03BB0C433C8; Tue, 17 Oct 2023 11:02:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697540556; bh=kfOljpmUeVLUNn5bQwDqyoFFMYqfHS7AT/5JQ2FpBV8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MU9haWBNsqryNCw//fK2aS3/NLu+uGWV3Z6/ii9SkOOjnAT0nYMcVgdFs0UC+8lXf B3VkUR1/zzsLk+vlcig4KfmlIQFB6vMM38vdDrewrw2An8eI4eBHktScXOL3PBey0a 1deh6EgO1PCDmgOyCFS5k6WBIOgmxpjrJbtpI3Ck1zIieZTWCHH1O5errFRFH6MX07 0XGPaFweEKsCQ5jWodNrBtrgdd48kSgpFpBNjcVptQqALbOVZmSUwr/Ie1KGk369FD DY6odmIbfjTm1SwsyHs9jn012U++es/DTFUYqzcZHcPN0VjSWVucrvAuVADI5qKlqf PPBAQl8CWy/JA== Date: Tue, 17 Oct 2023 12:02:30 +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, stwiss.opensource@diasemi.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [v2 PATCH] dt-bindings: watchdog: da9062-wdt: convert txt to yaml Message-ID: <20231017-able-unedited-b91872768fbd@spud> References: <20231012-flaky-humvee-0a0532621940@spud> <20231014164942.154468-1-n2h9z4@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="H9If0aFZImYCFheU" Content-Disposition: inline In-Reply-To: <20231014164942.154468-1-n2h9z4@gmail.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 17 Oct 2023 04:02:54 -0700 (PDT) --H9If0aFZImYCFheU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 14, 2023 at 06:49:42PM +0200, Nik Bune wrote: > >This property is a boolean... > > > >> + description: > >> + Set what happens on watchdog timeout. If this bit is set the > >> + watchdog timeout triggers SHUTDOWN, if cleared the watchdog tri= ggers > >> + POWERDOWN. Can be 0 or 1. > > > >... but you say "can be 0 or 1". Does this refer to the bit value, or > >the property? There are no in-kernel users of this property as far as a > >quick grep shows so it is a bi hard to tell. > > > >Otherwise, I'm happy with this. > > > >Thanks, > >Conor. >=20 > Hello, thank you for your review! >=20 > Good point.=20 > It looks like it is related to property itself.=20 >=20 > I checked other bindings, like https://www.kernel.org/doc/Documentation/d= evicetree/bindings/iio/adc/adi%2Cad7192.yaml . They have fields of type boo= lean with description =E2=80=9CWhen this bit is set to 1=E2=80=9D. > So I put it as boolean. >=20 > I have just checked a couple more, and looks like they are mostly uint32 = types with enum, when it goes about 0, 1 bit value in a description. =20 > $ref: /schemas/types.yaml#/definitions/uint32 > enum: [0, 1] It _seems_ like the intention was for this to be an enum, now that I re-read the description, since it is being used to override the behaviour from the OTP. With that changed Reviewed-by: Conor Dooley Thanks, Conor. --H9If0aFZImYCFheU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZS5pxgAKCRB4tDGHoIJi 0vDdAP9xUcabNaj3GHiQRWdCIChrWv/+Uensqug6xHSbCVt8FAD/ZxFMRrqarqId 945rEZAeqpZy7W9HJKmkV7fbu9U91gQ= =HqZ4 -----END PGP SIGNATURE----- --H9If0aFZImYCFheU--