Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1632200rdg; Sat, 14 Oct 2023 09:50:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFPGBW3v0TaonYeo5akRyfyKWmD3YR2rc5lBhH3Ioja+am+ZXLVRp0louYz7OBsDgD3NBFU X-Received: by 2002:a05:6a00:ac1:b0:690:41a1:9b6a with SMTP id c1-20020a056a000ac100b0069041a19b6amr35103347pfl.5.1697302206593; Sat, 14 Oct 2023 09:50:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697302206; cv=none; d=google.com; s=arc-20160816; b=t/yiMvHeb4RV88TFsfBTuGTFwhDPyhx9NdqwEnb1HtBKv40BU8rr39X97wlITavMyJ cUjKf8Dcx0AvHGR/w9xnch9gvty7u9RNpEJ/6ykqHKYGo7SVdUXUdZPaiq1czNEfdFLN vt++eN2JuWyXGOtYfEHRiMboL4KjZGYKrdXEFzsv/G7iEIk8Um2tkSRC6eBSwUOBy7He ZJSjyQ3/e37SYG6agRMBJMtzThI1Dqna4Oznh3CqMKO24UBRL2HpVgysB0l515MoD6Cc m54s+G7uTalRPonAPl2nc2wJcQU2S739wT2UpXcg+z9NGru4xInjC/npQzggrWiGngUr EXXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=veap3HUMBgA583vnOk4BmY03alSHYRQTG/HGCOjLb9g=; fh=RukmouC2B8Ye+/coXLMX43MOLLHPGXq7q2k7l0/bIug=; b=PWrTgTgZxT6AuNy55bmVtGRRn53VW4SAc0XywYx5bQ3+968M2ofmaVP9NUf+JqvWz4 O2XDi/+BEH5kr9v6kb9za07Sic3UrK1pM0oCF1ciP+QCFD+83T0H6UtAYwmXVxUrblUB em+lSgYV0CJEt+r8ySqgg/eDscO+0gAnyVOEFQWvbp0MKoLGjIj/xljvrqhu1RcRoNvC 702mrSIvrRdSnJJlOXJvxOptA7PNiM3SBrXezAVsGVcJj+2uANwTrXmd7KoCEaTTYZ2C XnPuVd+xKkFlk/1QUqbCzciGo1aYWaCh20Fo+4vlfBtNHOQ41iIjgW75oxXT8M5H2zCV XMCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EHYGJqeY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id h15-20020a056a001a4f00b00690d42e334fsi19559311pfv.181.2023.10.14.09.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 09:50:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EHYGJqeY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9754480A221E; Sat, 14 Oct 2023 09:50:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233250AbjJNQtu (ORCPT + 99 others); Sat, 14 Oct 2023 12:49:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233033AbjJNQtt (ORCPT ); Sat, 14 Oct 2023 12:49:49 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E61FAD; Sat, 14 Oct 2023 09:49:46 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-9b96c3b4be4so475820866b.1; Sat, 14 Oct 2023 09:49:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697302184; x=1697906984; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=veap3HUMBgA583vnOk4BmY03alSHYRQTG/HGCOjLb9g=; b=EHYGJqeYCpBzoWk6D6PuIGS0dsdxmaKcp8QUfUcpzs8tZV6kSNonT25qI6xEWzyr0+ w7RU3E7TltjVPXRAnZ70EgNW7qvkaiy5lXnsptXK/cx+ws7ozF0SQcW9CLUcRJONXccm TFA643QTBKoorlN5ssBdt50gX/eBuwYrvC4zS5Pn59CMRkxiyTb7rKub39sG0BzxaMEh hC56oYgcHCDvqyp3Vb/Yy6gYaf2GkMITEoItwqy7FkIAkuY6Mq2IwDxD9Srw1klNhhEw bm8nv/Hh4j9u3Z+DBTZ12G4ILNVw6RdAVZxgpDhMDxDxFWMfX+Ek/dmUnOlNSk3bquQZ ITYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697302184; x=1697906984; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=veap3HUMBgA583vnOk4BmY03alSHYRQTG/HGCOjLb9g=; b=vT+zIr47jOV43wTiLHaQtphUvEjfeTD8chldDnBdwiKcZ5c4VpBf4kJBthwFiUvcLh whOxMOSYiY5Jr3oh3xsx+IxFltCuuHZT6PmqvQQFnXPJ+WF5or/C5y1l0TRuuLciA7CR hKztji374CBe1Ui+PV5IxGgAbaqVfC8bp2dk/Tagstb+95Lgu7K7aWjpBiTJ6Xv++7Wl C2OD7BH/j8UpXiE6EAW6r0qlHUvuvCKl2e4p3Ee+P+PouK06Vl+aTHjd7gXT3gfgP/Iu gJ2Ql9gagiu7CQuSaDMZ4mqVAXXHO+hmzv5yTkhLgdUYI5vmZkqJWeRSaUw5k2CnhlrA GAaw== X-Gm-Message-State: AOJu0YzN7/Uf/+G92ZlRAQv4EJbuKdyvnOHURu7GX1GMemkq6Oy5BQXn uBuQDnifaLhrC9Eex+JPiGY= X-Received: by 2002:a17:907:8691:b0:9be:d217:40b7 with SMTP id qa17-20020a170907869100b009bed21740b7mr1559152ejc.32.1697302184285; Sat, 14 Oct 2023 09:49:44 -0700 (PDT) Received: from localhost.localdomain ([2a02:8109:8c00:3664:9329:4692:d4de:7b69]) by smtp.gmail.com with ESMTPSA id w23-20020a170907271700b009b654751c14sm1120727ejk.47.2023.10.14.09.49.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 09:49:44 -0700 (PDT) From: Nik Bune To: 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 Cc: 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 Date: Sat, 14 Oct 2023 18:49:42 +0200 Message-Id: <20231014164942.154468-1-n2h9z4@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231012-flaky-humvee-0a0532621940@spud> References: <20231012-flaky-humvee-0a0532621940@spud> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 groat.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 (groat.vger.email [0.0.0.0]); Sat, 14 Oct 2023 09:50:02 -0700 (PDT) >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 triggers >> + 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. Hello, thank you for your review! Good point. It looks like it is related to property itself. I checked other bindings, like https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/adc/adi%2Cad7192.yaml . They have fields of type boolean with description “When this bit is set to 1”. So I put it as boolean. 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. $ref: /schemas/types.yaml#/definitions/uint32 enum: [0, 1] I will update. Thank you.