Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp56977lfv; Tue, 12 Apr 2022 17:08:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx032CdtifBbslQ8ACfg5Lc3xmWipE9dfzoPGQIeuUxxk1iw7pnOmbyDIhN2Wcy2EE2dEft X-Received: by 2002:a17:90b:1c03:b0:1c7:5523:6a27 with SMTP id oc3-20020a17090b1c0300b001c755236a27mr7758926pjb.29.1649808493961; Tue, 12 Apr 2022 17:08:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649808493; cv=none; d=google.com; s=arc-20160816; b=xi2MmA0z1xuwUnUCV+MvrQ/FqkSDgM1xJ6ZgZGjxo5gxRfLcLKCu1nRn3vREeWNbnm K/AZgX5rHJ6oqZWXSHq5u5CP5ElNiDbrpxNIqVSXmZPhtGlkqx+ex61CY/rQUcVFIhuD xlfAIpXz0XfgmG5voKxmYs9Wseqeddcwqlb/inRXd+4zqvulW7iRdphTq2CeMNXIAELB kjGIHIOhOU/Win9anozHOzb4O/kkOMCaCLda3cQoxdZyw5XblA6oFAUtrdZV6t9iqmuv XNZOP0dN6q73HGYBkIFr27oD9mO63AGlgfuv37X7fpzr4kQRFPSjtTOz2585yr1jmo38 KH1A== 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=LzVK1IQoHy6inUcYifHpyKq1c6gHZpZ4adL9ShMc3pA=; b=OJSbZJQG2yIgh3jbJyYIiVIMmVrce8LYhMlBIZlDgAkcZkaFxyWWTkP551P1Ds7bkG A/Zm04TcYPL3/db/LEh7wdG1B+Z9mMI39d7ENkOVlnzrdwMMJHGh43q9baZLxoQuqzB8 8K5xFUFACLlcdhAzbTbcxbKq5OZV9NsOfPH5F7FKjEXzt6i6/iI00s74mlK5NX3+CDdV /85jjRAvaTA5kCcWEITPjp5bWyWv6QguwixxAGebgr+/75qRBqWgIT3slDgmT3X5M9j/ vUIyfZtiu+ktmvCZdaSIsh/IwnJkLYjWuftYErh6d9ZZK1keqTWT+LQfK+OBAcxA57/Z aTNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=MboutHxz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a187-20020a6390c4000000b003816043ef34si575310pge.297.2022.04.12.17.08.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 17:08:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=MboutHxz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 57D8A1680B2; Tue, 12 Apr 2022 15:30:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229490AbiDLWc5 (ORCPT + 99 others); Tue, 12 Apr 2022 18:32:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229474AbiDLWc3 (ORCPT ); Tue, 12 Apr 2022 18:32:29 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCD22F61F1 for ; Tue, 12 Apr 2022 14:17:48 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id h5so17437234pgc.7 for ; Tue, 12 Apr 2022 14:17:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LzVK1IQoHy6inUcYifHpyKq1c6gHZpZ4adL9ShMc3pA=; b=MboutHxzQOdqFgBiScTBM+v/RlZEwIWrI+SZ3TVlCwgU+E9p0LkJo87yLyopNsrq5k dZZ10V3nV4vGnJc1QW7qQRCY3XJMbBDPF/yfhsJ0/SYi9EHz2tPlogkv5U/fbAHrO3D7 Up9M4Wb5HbUddlf9lmOjzcQPNX9FBjvUAcRzkSoCKAIfLSp8CXnhjxB5J7oEUSpdrqfn vi6eU8Fhy18Nm87Tjfcmq/7CMnx8ZKU0a+YF9jRvw3aP/OYbBkMvRPOC4spqXEZQQ2wS XKuexO0eLcuSUV4SdH2sX1NOBa2FUqE6RcK0yqhCgwRA2JCr8VtRLgC/JdWnY9xTYfPn lnrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=LzVK1IQoHy6inUcYifHpyKq1c6gHZpZ4adL9ShMc3pA=; b=w7UcXEgvSOsau/6dAukrSRyhRw2i7SkW3Izfny7QNCS3wgKNIW7KJmRDQIfQ+x2lsv XhqKzgOp0uv3gvPH6GwurvItg874sqBQiTAA/RKQh2JqXxKsGHYFPUVC+/hHD0wT99Yw FQVMmfMSWIAUHt3dcyDNGZnwqdFByYn1F6Msx2lLcW0coyUPfmOEqNhKp2kgrXMxDjAv 8rYfoQAtfw/XJ0jlhYc7VqfN/Lw+x+d5pPsyx9Up/yeZ/wYU5E6HVQozq6bQc4pRxcvy PQXvDZTERD898LtwG4b0ml5ZbPUIr6bgFLzJofQLYA6tlRO97TiDfmNjeuen71ml1GqP Nr1w== X-Gm-Message-State: AOAM530Z8io6+jGZcyGxD9l7kXJjce2pkM/KmPhD1/eQpcIJoBFR2+RY JQMaZs1bCzi/afG4Ah3VSrcjjA== X-Received: by 2002:a05:6a00:150d:b0:505:c6f0:686e with SMTP id q13-20020a056a00150d00b00505c6f0686emr6502605pfu.37.1649798079559; Tue, 12 Apr 2022 14:14:39 -0700 (PDT) Received: from x1 ([2601:1c2:1001:7090:669f:cec7:c0c2:1cc]) by smtp.gmail.com with ESMTPSA id y30-20020a056a001c9e00b004fa9246adcbsm38195522pfw.144.2022.04.12.14.14.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 14:14:39 -0700 (PDT) Date: Tue, 12 Apr 2022 14:15:24 -0700 From: Drew Fustini To: Rob Herring Cc: Krzysztof Kozlowski , Dave Gerlach , Tony Lindgren , Nishanth Menon , Santosh Shilimkar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: wkup-m3-ipc: Add vtt toggle gpio pin property Message-ID: References: <20220409211215.2529387-1-dfustini@baylibre.com> <20220409211215.2529387-2-dfustini@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Apr 12, 2022 at 02:54:27PM -0500, Rob Herring wrote: > On Sat, Apr 09, 2022 at 02:12:14PM -0700, Drew Fustini wrote: > > Document Wakeup M3 IPC property that indicates a GPIO pin is connected > > to the enable pin on DDR VTT regulator and can be toggled during low > > power mode transitions. > > > > Signed-off-by: Dave Gerlach > > [dfustini: converted to YAML, removed unnecessary "ti,needs-vtt-toggle"] > > Signed-off-by: Drew Fustini > > --- > > .../devicetree/bindings/soc/ti/wkup-m3-ipc.yaml | 13 +++++++++++++ > > 1 file changed, 13 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/soc/ti/wkup-m3-ipc.yaml b/Documentation/devicetree/bindings/soc/ti/wkup-m3-ipc.yaml > > index d855c01ce61c..7f4a75c5fcaa 100644 > > --- a/Documentation/devicetree/bindings/soc/ti/wkup-m3-ipc.yaml > > +++ b/Documentation/devicetree/bindings/soc/ti/wkup-m3-ipc.yaml > > @@ -24,6 +24,14 @@ description: |+ > > A wkup_m3_ipc device node is used to represent the IPC registers within an > > SoC. > > > > + Support for VTT Toggle > > + ================================== > > + On some boards like the AM335x EVM-SK and the AM437x GP EVM, a GPIO pin is > > + connected to the enable pin on the DDR VTT regulator. This allows the > > + regulator to be disabled upon suspend and enabled upon resume. Please note > > + that the GPIO pin must be part of the GPIO0 module as only this GPIO module > > + is in the wakeup power domain. > > + > > properties: > > compatible: > > enum: > > @@ -51,6 +59,10 @@ properties: > > mbox_wkupm3 child node. > > maxItems: 1 > > > > + ti,vtt-gpio-pin: > > + $ref: /schemas/types.yaml#/definitions/uint32 > > + description: GPIO pin connected to enable pin on VTT regulator > > Looking at the driver, can't you add 'maximum: 31' here? If so, I can > add it when applying. Yes, good idea. I would appreciate it if that was added when applying. Thank you, Drew