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: 559283 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50C66C433F5 for ; Sat, 9 Apr 2022 05:02:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236359AbiDIFE2 (ORCPT ); Sat, 9 Apr 2022 01:04:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241817AbiDIE7v (ORCPT ); Sat, 9 Apr 2022 00:59:51 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9099710EDC3 for ; Fri, 8 Apr 2022 21:54:08 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id u14so10460951pjj.0 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=qJLYJGxvvwLsR7mxNSVoII0GXyK3YTsWAV9Lpawhoa1QIySs+UDPYknSyw7NscApxw 2zPohku/pFQnmiXOO2zR72PtpOSY9GfOCW/4yGivNJJLz1KYieoEuox5k4nKTiGY/8mt mfS36shD2ojqGQegTDDwJy1o6G22zftflXJYl0AmtHURQqhHtRYG9WYuUABd2IJqSn3F UHILGVXRbqCFM/DFCXc30Na7o82sXRrVokc4+bsvpG0e9sBM7iRK/OZOP269o+oPr7xa NkqtQwJb7uJ/zS2Rx8iXdXXZ/S/6YVnwHMxGDeV80dwziSzZyivQ6YnpofZ51NU6xWCU 58Og== X-Gm-Message-State: AOAM530+B1JAESkUlN3lgT3OZYtBDa4pzw9x6uHclqvfMZK8/MMlIVmL 7AYDVOxUt4zKpkKjVP4v1cHMMg== 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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>; }; }; ...