Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp37560lfv; Tue, 12 Apr 2022 16:17:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9qHhm8Kf+gdmxY8POhMnn4WdE3UELrr366JfwQWI204VBbXxJ4rArYqaXauMd9dRt0r5q X-Received: by 2002:a63:330a:0:b0:398:22e4:3e34 with SMTP id z10-20020a63330a000000b0039822e43e34mr32686832pgz.349.1649805478889; Tue, 12 Apr 2022 16:17:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649805478; cv=none; d=google.com; s=arc-20160816; b=EHcOG0Pl0fUXxbunHmtKSVJRfWJUnRTFXO5lTFMnDqQbLr5RgMvqzYauFPcgi5haFT ScsdHU0I4D35EWyFRf3odQi7xDO3I1dnGsEh1u9BWyR0H5j+31r6+PCHnS80alM02UI+ 9ubuYkMjQDPEXS3RQ3mlEedXVYsIiUM1edDjlzXjAsDbRyJ3PHdPPfDVRQurwT1CsenM V/Aeacb6aea9okenQpnbkzdz+nhl42aeETT8jdjgpEZE57Dm6aFcmPdqG2+tj48Ft0lP iSFlw5jDBO5AeWE2R6spKzQzknsh/mJigd1H0RZpGMLg+R7zFmU4LahkqWdGxl9rN+NF uvmw== 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; bh=wy3DmJdebYflJ+5t1obwtAcHSgIk+Vy2BCzfnX0reCQ=; b=gvqs97cpOY3sjOnfNX6RBpKyDeUuI/6CDI/EsjztGZnshPyC+9jDznsMeK3VSRp7MR gq7UxRcW8jdnywwEZrP2GYIhp6ygmQTF7DsakpgM2vxRXK8Dy0n2Aj8LhxQBeaIPu9wF kyc2ueT9MetbN5v/ZhvLret4UGrHO1FxWqyM6Ew/zknS/cVUSPl3qZR/qcww5KI72y20 LrRSFh5D7uVuBkJQwWDQhtpD3P1Nxbi5QvQDQ45fulTZAK8CDpiCWrkiu1z/oHeUE2pl Vu+eoQFtdwGBKjEw+8CE0/RmKQGPoP+ci4NH2Wtp2o5bCj3TmihFBqdIDrQrijEGp6bH g5MA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u13-20020a17090341cd00b00153b2d165b2si13422762ple.442.2022.04.12.16.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:17:58 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9254E21E53E; Tue, 12 Apr 2022 15:02:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230328AbiDLUEM (ORCPT + 99 others); Tue, 12 Apr 2022 16:04:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232084AbiDLUDz (ORCPT ); Tue, 12 Apr 2022 16:03:55 -0400 Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C693B7D8; Tue, 12 Apr 2022 12:54:29 -0700 (PDT) Received: by mail-ot1-f45.google.com with SMTP id c24-20020a9d6c98000000b005e6b7c0a8a8so10632245otr.2; Tue, 12 Apr 2022 12:54:29 -0700 (PDT) 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=wy3DmJdebYflJ+5t1obwtAcHSgIk+Vy2BCzfnX0reCQ=; b=jpCxjXGx0T+bvbYOoA0z7m6siFeKNxqpHHNQyzE4YHb9UVPVFuh6hQIgZGNrkFWRn1 Afn5wIN132KHEKwvvEIu+Iw5hldychWqpsY9Lrx6OurqJro2A+NuoEJkerYsxJSYh21i ZM+djFnw+s2Q69dm/pmnhzmklVNst5vzZ3EM6C/f02AUGxygbkn6oNE4muh4UDIVrHrg oZTwtZderCvDpivacmtsPXBjXvJV7Hh3qkx77c4XGE8GMhhtRVzroyJzOCT7kQbzBiMO T7yoROyAVM4aHyXdif1/b8Kty0/kFCUgDDco22SFz1Jgxb/AflMzU3IBjOEVgK5v2sab 4xcA== X-Gm-Message-State: AOAM531OwMxm6uYL9W1NkwUtn1PsOieTBsEAzWeiwSpycha+sq2//p4a Qxw4GIiUBSna/tMNiQsxvw== X-Received: by 2002:a05:6830:1113:b0:5e9:29c0:aeb2 with SMTP id w19-20020a056830111300b005e929c0aeb2mr196847otq.51.1649793268421; Tue, 12 Apr 2022 12:54:28 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id e9-20020a056820060900b003216277bfdasm13227604oow.19.2022.04.12.12.54.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 12:54:28 -0700 (PDT) Received: (nullmailer pid 775571 invoked by uid 1000); Tue, 12 Apr 2022 19:54:27 -0000 Date: Tue, 12 Apr 2022 14:54:27 -0500 From: Rob Herring To: Drew Fustini 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: <20220409211215.2529387-2-dfustini@baylibre.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,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 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. Rob