Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp497928iob; Wed, 4 May 2022 01:11:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwa4fRgrb5dk5I1yXcaxL6QnRVDErRuvb43mPk1oHq49e9A8LVMrgm/pQ3Pa4zLXQZGMBFy X-Received: by 2002:a05:6402:50d1:b0:428:1473:d173 with SMTP id h17-20020a05640250d100b004281473d173mr1214528edb.37.1651651916252; Wed, 04 May 2022 01:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651651916; cv=none; d=google.com; s=arc-20160816; b=coosY6AaLF3vJlKBE0rgePUUz4FUK7HpYfcOAupP9vF9KhrRWBOPHl4dPVjMv1qqYp 32To/B4nwyrVSgcLW8gv4/SQISr4ziD/8NVxOA2fNRsnab60XOEd42HAk4eNS+v/ircT SckCHsjDX1Z3Jz3FFEykHR+98A44Lns+/0GyvuosEsmi6joLneAGfODdTA0m7A/B6WXf X18SqF+KXK//KosJCBzGiaoILrsY/dyecw91hd68DyTKnYXmb4GPpBDyrdQuatQ9VlF8 N9+elJuMrZH5C1jG3OrBgjilciS8iS9fullQoqE4LE3k0in6oKdwR4hFeyCf9klfw+aL eLBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EXc0NftTvkRYDHu2Li9I4BGxlYgsWJ2T2l64bAShCkw=; b=BSO3WF7z+TDC1UvToMHXzjyA2wUTTiq7o789cA8O2Yqjvm9aluWYbpDgGgi0+8fdhm k4Nopmyrtej6rIDb51FppTUnLSpqnRkV6MPOJ1fESp0DegW88eqacXa0r18UuT7jfFWL rHsBs3fB4/ocObYv8ogrdnCjetXovIH7qqkxZh6Y4RkMP8c5iShD9uPsRwiEf16JA0J1 QUvU+xnaLwH517q1ajTFGQV/ZyzBAWEGtFdkycVH4FPBLlqRL08Rtu246AzP8emkt6AS oXfHWC57vT6igVJ+UPV+BHBcYsW7s6ltE/6Jg69s9VHfjPH5iwL9gsPcTtFHnsVTWrWj G+QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Vg4d5xX0; 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 b6-20020a056402278600b00427cef39faesi6000659ede.272.2022.05.04.01.11.32; Wed, 04 May 2022 01:11:56 -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=Vg4d5xX0; 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 S243445AbiECWFo (ORCPT + 99 others); Tue, 3 May 2022 18:05:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243318AbiECWFn (ORCPT ); Tue, 3 May 2022 18:05:43 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A822424A4; Tue, 3 May 2022 15:02:10 -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 sin.source.kernel.org (Postfix) with ESMTPS id 86416CE22C8; Tue, 3 May 2022 22:02:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CC68C385A4; Tue, 3 May 2022 22:02:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651615326; bh=nNwLfZyICjcyMLgHH7iT+5XX5lVbO1RBfjuW/N6BTLI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Vg4d5xX0/qdcvR5lRmnj3/L4Wyo04ZFQjaTlgojfJ0e5N9gLePT64Yw0B7/baxn2S jhdS7Mbam/fYH81IBAq6s82Jcqg0giJI9qb7Ilvk1YjW/G0PTePrrLsJXOLSxRBB4E LXSr7qMDU9V1gMHhdMu95RB+QaZDROUkdOEpSwGRyj5/zeAoUSbstruGAC412K+Y/b mRM7Zv63L5h6tCcERHZpwcehSRn2+5MLOluVTqc2QHet/SdjwTPal892P7kCgrjxik FoTI3zrrhAXSPWYJ87Wjkzeet1XeNQJupzMaoE1YH3rPHQ9hqJTEdauQCyFL33jYpN fgtutnJexEuCg== Received: by pali.im (Postfix) id 2F8BD98A; Wed, 4 May 2022 00:02:03 +0200 (CEST) Date: Wed, 4 May 2022 00:02:02 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Rob Herring Cc: Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: watchdog: max63xx: Add GPIO binding Message-ID: <20220503220202.ksxq65sbacxvituy@pali> References: <20220429131349.21229-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.7 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 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 On Tuesday 03 May 2022 16:51:37 Rob Herring wrote: > On Fri, Apr 29, 2022 at 03:13:48PM +0200, Pali Rohár wrote: > > GPIO is optional and used for WDI logic. > > Nowhere is WDI defined. > > > > > Signed-off-by: Pali Rohár > > --- > > Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml b/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml > > index ab9641e845db..a97aa0135ef9 100644 > > --- a/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml > > +++ b/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml > > @@ -27,6 +27,10 @@ properties: > > description: This is a 1-byte memory-mapped address > > maxItems: 1 > > > > + gpios: > > Usually, we want a name here. Maybe wdi-gpios, but I don't know what WDI > is nor have I read the pin name in the datasheet for inspiration. WDI is name of logic used in the datasheet, it is abbreviation of WatchDog Input (meaning that from watchdog chip this GPIO has input direction). I'm not sure if we need to put gpio direction into the property name or also word watchdog (or its some abbrev) into name. As node is already named "watchdog" and direction depends on point of view (chip vs CPU), which can be in DTS misleading (because DTS describe direction from CPU point of view). What for sure makes sense is extending description by explaining WDI abbreviation. > > + description: Optional GPIO used for controlling WDI when WDI bit is not mapped to memory > > + maxItems: 1 > > + > > required: > > - compatible > > - reg > > -- > > 2.20.1 > > > >