From patchwork Sat Apr 9 04:51:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Fustini X-Patchwork-Id: 12807702 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F629C433F5 for ; Sat, 9 Apr 2022 05:26:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=q7sQszVssqsT5drvnTXQAlEAn2eDYb9NOtjoSuvQbSA=; b=PQWeS2Cz2vz451 99/IFFe1kj8wGLSUV7++55BrRm4I3fyaksM1zn7uHmkkxxjDUlq2CkB0fg2dNPvfecu+GAlljH+p2 Gxq5IkPi9KByi9JcXkReSOTOWcw2+eNMFBHGPwnkj1i4ZpWHhPo8ljIpfZYfMr7tnMMGaYzDSrL67 W3KVD/KjsVadAltuXy5rkDNNTDBOr+QEx+di4OqcAwrQ+kF0YlZOHiUAXzqDSGnyeS8VBn3k58dy6 962IPvI1GXc9v8QdBkGWmzSyC9sYe2c3N4xXYU/2KFLtfcnhwXQPvW9H3u165QdpuhHZvJLnCziIl jRMpyCxos1tTzkoJWStw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nd3aX-002H82-Sn; Sat, 09 Apr 2022 05:24:46 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nd36v-00234Q-G9 for linux-arm-kernel@lists.infradead.org; Sat, 09 Apr 2022 04:54:11 +0000 Received: by mail-pj1-x1030.google.com with SMTP id n6-20020a17090a670600b001caa71a9c4aso11571080pjj.1 for ; Fri, 08 Apr 2022 21:54:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mAVbfi6r8F9XdOp98CXkQS4IikBYdUQdfQIzN1ojFoM=; b=I/IQJ8d02ZalKbRD9x+9un6Ur9ihwCEn62DFrCYP+LUJvcEkMy9zT8j/xjMogTUfmh ysLEGeTTqw0Vhbye1/P/HnC50F4qlhJFGhJigwefnD01sx14HbPaHv2BthwBJsnssT28 K6anhWrgGSNN6b3RkXUODbFA2UJRBLjgM2NPq07x4Wqiz7qSkU5Aw4WHUGmT+Q+xtpkZ ffJawzl9HF5OIkuTB7aEXpl/BbFCjzZFolSj6F4P/S4SHfhJ1CY/CInaLlKBqGdIlfVk yFao5G+t81Nx1ib4TCQugWBpgHaiApTjoquKJzFir51tTOA5ErQmmmLE8qcNpwrqa+gP HSFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mAVbfi6r8F9XdOp98CXkQS4IikBYdUQdfQIzN1ojFoM=; b=FUVZA77xVYJnHUOJdxgtTb23nb5+JRQQgLfJTSk8kPt+BTcf0lQpHbO1HDwo76144O cjBRTo6JuN6JMk/ssceGWE5OQgfE3HGXkWk2V07pgLDg1YN11pRux2mEboLTnypLuZCp Cl0vp7WCqo3D7OQ27BeEYRsKSPSzMulUOceQX8dUymRkJTa1sQ5Phx9xT27oM0455PYy CNY1GyDzeFITvBz8fJXsyukghAdpKFOzl2sdalqa6vRD9RYEXDcbJSL7b747ZJuolCf1 mYcGmOa1TvHBtJ1kRiIFA7qAiYLvZFVifcKrk7IuKAEkio700jCnu5bWP0CtLIZ9s2D2 /Ghg== X-Gm-Message-State: AOAM5331iF6IjbD8EVWQFpzETVl56DQB/p+7vBgb5uq9O7SqwWKmXlpi nrpEU8Obn0pXQN8gWxzeItk79A== X-Google-Smtp-Source: ABdhPJzOiK3fWm5z6/3iLAE1BHB2BQCOndg+LCsa9XjF4l26qFeIxpOju+iIkW8wAUi3K5Aq2LN5pw== X-Received: by 2002:a17:902:e883:b0:153:f7b8:fa9 with SMTP id w3-20020a170902e88300b00153f7b80fa9mr22711094plg.96.1649480047757; Fri, 08 Apr 2022 21:54:07 -0700 (PDT) Received: from x1.hsd1.or.comcast.net ([2601:1c2:1001:7090:8fa3:3402:f693:9f86]) by smtp.gmail.com with ESMTPSA id k6-20020a056a00134600b004faba67f9d4sm28423050pfu.197.2022.04.08.21.54.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 21:54:07 -0700 (PDT) From: Drew Fustini To: Rob Herring , Krzysztof Kozlowski , Nishanth Menon , Santosh Shilimkar , Dave Gerlach , Tony Lindgren Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Drew Fustini Subject: [PATCH 1/2] dt-bindings: wkup-m3-ipc: Add vtt toggle bindings Date: Fri, 8 Apr 2022 21:51:44 -0700 Message-Id: <20220409045145.2434096-2-dfustini@baylibre.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220409045145.2434096-1-dfustini@baylibre.com> References: <20220409045145.2434096-1-dfustini@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220408_215409_646750_74D94F17 X-CRM114-Status: GOOD ( 14.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the Wakeup M3 IPC properties that can be used to toggle the VTT regulator during low power mode transitions. Signed-off-by: Dave Gerlach [dfustini: converted to YAML] Signed-off-by: Drew Fustini --- .../bindings/soc/ti/wkup-m3-ipc.yaml | 21 +++++++++++++++++++ 1 file changed, 21 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..6a8fcad8b2fd 100644 --- a/Documentation/devicetree/bindings/soc/ti/wkup-m3-ipc.yaml +++ b/Documentation/devicetree/bindings/soc/ti/wkup-m3-ipc.yaml @@ -24,6 +24,16 @@ description: |+ A wkup_m3_ipc device node is used to represent the IPC registers within an SoC. + Support for VTT Toggle + ================================== + In order to enable the support for VTT toggle during Suspend/Resume sequence + needed by some boards (like AM335x EVM-SK & AM437x GP EVM), the vtt properties + below are required. It is possible to toggle VTT using one of two methods + depending on the SoC being used, either GPIO0 toggle (AM335x and AM437x), or + any GPIO with DS_PAD_CONFIG bits in the control module (AM437x only). Please + note that only pins on the GPIO0 module can be used for GPIO toggle. It will + not work with any other GPIO module. + properties: compatible: enum: @@ -51,6 +61,15 @@ properties: mbox_wkupm3 child node. maxItems: 1 + ti,needs-vtt-toggle: + type: boolean + description: boards requires VTT toggling during suspend/resume + + ti,vtt-gpio-pin: + $ref: /schemas/types.yaml#/definitions/uint32 + description: pin on the GPIO0 module used for VTT toggle + maxItems: 1 + required: - compatible - reg @@ -76,6 +95,8 @@ examples: interrupts = <78>; ti,rproc = <&wkup_m3>; mboxes = <&mailbox &mbox_wkupm3>; + ti,needs-vtt-toggle; + ti,vtt-gpio-pin = <7>; }; }; ...