From patchwork Mon Nov 28 14:05:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Vlaev X-Patchwork-Id: 26786 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5695315wrr; Mon, 28 Nov 2022 06:10:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Z6Da+6ZO3o627/Lg2eT1zhvZbD9fXPbmEtxwH4KdE4moeUGi7gIR4z8i3JSDfL/QHUpqb X-Received: by 2002:a05:6638:1a98:b0:375:61b2:825a with SMTP id ce24-20020a0566381a9800b0037561b2825amr24540226jab.147.1669644657511; Mon, 28 Nov 2022 06:10:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669644657; cv=none; d=google.com; s=arc-20160816; b=Cfmk0HXY2jWTBQLRTUJvAXT9iMF+wsUQ6XOIXS2FE4Hq+wgcIEu7l+f21pAv+BZftp 7AsoUrgF277nnn1wHSWWjw0xPmEwpiBht4ALclgwxlcMPO45yG1/yQChbfrLCQMZBiK3 847WMiUWvROg1LEto5yJuur/JJWafE2tA0biTOCu6LXlAi/lh6rCKX4++gFd09An/nli wm0Dq+Li3qLUPBn08pN6pshra+QZ1d/1fiipG6hKv2YdDidfWkbFfSOLXJgBXcp6gwO9 lTxDZLnLXU9E4S1puCWxknLgNMWIUBJpMEmjvdU++5tH1PaJ3hKAY0Ttz57UeniEsWsD nbNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EL2GD7RH1r/qBE+G7f9QX035vVk4JvRCI5hwA6WOgqA=; b=N+8cOMqPvCiqufedeBeYUatHetydLvM5w4BS+faWWMh+adpTW8rREUiszRbZKmjlKU In6En+dQ3haLAtOSZBvFtdv+/RQeDgLBCVycUTVEMN2sfv8Wvp+EVwd1GasY6ImP0GR/ I3w1PIhEb2pe6xVee85gX5DZF5o+qoZgIxMG2YAMFaPapAekhO+dl6Xtl4mZZODwAHe3 pC+mIPlPeBzWnfqL7wbj8p7ySC+HUTyLR1yXaIRRXIhsQu6dcN12LBirV/KSx41l7+A5 n8AdhPz1DytfwWqsJlFbhTOTyh7ocLhHyISkTOcWcSSzjY55psLE6ApospGmXldlVNov vZiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fU9uCxWv; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w19-20020a05640234d300b004619867344csi11934764edc.0.2022.11.28.06.10.27; Mon, 28 Nov 2022 06:10:57 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b=fU9uCxWv; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232284AbiK1OFr (ORCPT + 99 others); Mon, 28 Nov 2022 09:05:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231317AbiK1OFp (ORCPT ); Mon, 28 Nov 2022 09:05:45 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EACF5178B0; Mon, 28 Nov 2022 06:05:44 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2ASE5cQ6080222; Mon, 28 Nov 2022 08:05:38 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1669644338; bh=EL2GD7RH1r/qBE+G7f9QX035vVk4JvRCI5hwA6WOgqA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=fU9uCxWvs4f9JT4QP8p+JcLrRSMUc+/EwBIuvKT8Hxz29kiW0Qi4mPmBuXlu816+L 2LA4CdCXfRvpXHOHUxJAqQfQWJWQ7fA6/DMffWTilTNqr7OzOlqmQeOHa47YMxdpv6 TMsBujxLfOlLOPSumN+ZKz8tYDsg4GBZ5YNVr36Q= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2ASE5c8c023701 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 28 Nov 2022 08:05:38 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 28 Nov 2022 08:05:37 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 28 Nov 2022 08:05:37 -0600 Received: from jti.ent.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2ASE5NQa125815; Mon, 28 Nov 2022 08:05:31 -0600 From: Georgi Vlaev To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , Rob Herring , Krzysztof Kozlowski CC: , , , Vibhore Vardhan , Vignesh Raghavendra , Roger Quadros , Georgi Vlaev , Rob Herring Subject: [PATCH v5 1/6] dt-bindings: ti, sci: Add lpm region and firmware-name Date: Mon, 28 Nov 2022 16:05:17 +0200 Message-ID: <20221128140522.49474-2-g-vlaev@ti.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221128140522.49474-1-g-vlaev@ti.com> References: <20221128140522.49474-1-g-vlaev@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750749316253020385?= X-GMAIL-MSGID: =?utf-8?q?1750749316253020385?= From: Dave Gerlach Add documentation for the lpm region which tells the ti-sci driver where to load the FS Stub low power mode firmware and also the firmware-name which tells the driver which binary to load. Both of these are optional for normal system operation but required to enabled suspend-to-mem usage of Deep Sleep state. Signed-off-by: Dave Gerlach Signed-off-by: Vibhore Vardhan Signed-off-by: Georgi Vlaev Reviewed-by: Rob Herring --- .../bindings/arm/keystone/ti,sci.yaml | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml index 34f5f877d444..4c5213de24bc 100644 --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml @@ -42,12 +42,19 @@ properties: - const: ti,am654-sci reg-names: - description: | - Specifies the debug messages memory mapped region that is optionally - made available from TI-SCI controller. - const: debug_messages + items: + - const: debug_messages + - const: lpm + minItems: 1 reg: + items: + - description: | + Specifies the debug messages memory mapped region that is optionally + made available from TI-SCI controller. + - description: | + Specifies the lpm memory mapped region where the FS Stub low power + firmware is to be loaded. minItems: 1 mbox-names: @@ -83,6 +90,12 @@ properties: type: object $ref: /schemas/reset/ti,sci-reset.yaml# + firmware-name: + description: | + Name of binary of FS Stub low power firmware located on the + firmware search path. + $ref: /schemas/types.yaml#/definitions/string + required: - compatible - mbox-names