From patchwork Wed Nov 16 18:13:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Vlaev X-Patchwork-Id: 21209 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp286260wru; Wed, 16 Nov 2022 10:16:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf7iCPmXzQea+HmYo8gCOslIJMnLT7O2ST+3bMMt/7JcBu/0fPGRd0VZjKssX2MaV+PSJgDM X-Received: by 2002:a63:db4e:0:b0:43c:5e0:f2aa with SMTP id x14-20020a63db4e000000b0043c05e0f2aamr21425988pgi.448.1668622594783; Wed, 16 Nov 2022 10:16:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668622594; cv=none; d=google.com; s=arc-20160816; b=BbA8stgTSzre4sifrw0Hsi3iIrYtMeVsBuLjPzNrIL7UEv6DMg8AZOojGOin+a1z9Z NJMTdBD6ex0qli21nrYxKSKaP4iv05wH8sUlF+/41tSEB405F9Cbr8pPMnL9VRyWmIev 8PT4OEK2qiPDanTCXbKmcpPfTo3uKqPVPGlBdtRkfTrhW+XGHyINzdxq266EXajYqknj mB6BuugNGm+zY6YRVNtDatg0JN+E6eR5PF2RSdZCm1dLfD1vIYwI08R5zEPeInRpwWBh taDsv+BaF/YOsJgmVzzsk3uPDNodE+lP/JTcMyjRLFYhljCxUiNXhEDKl3n3pvmho73s cOqQ== 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=ZTY4BEftk+Ht4KTV7sRJ7iEuEIU/qA5Kz+qtTCRngcU=; b=MN9B+kMt2Lyd4ZK9Vbs4wH6oJUBnmN9Dz/T9c+xQ/SBwneggm74IF/Qaro8WQHCRJ5 dxCymJWnvRm3Q1QQQ1nEOUUgdMSjn1bOCrjGEq2cijlpJcKA1LtJ82qhgOPW+yTIZB/O ITJpyCGDgptWrLn5Mpvgkj8FA5MgHldVm5/dnk5C88gUd1Va2W9bMJIN9qGG0Z7tFg0h nT3B18aScFh17fP9SIsWGtb/1VKfOyJbHuWjZMED7eGK3400HblNPHc4zHA83/wu3jVB cocfOwUiCtXqnMCndyOrBihVdvzryTyc1H6EQ/9G3yuOegdEFTrFUg2wLMLH/2bf4TIe 8XQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=c1m7HBdq; 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 pv16-20020a17090b3c9000b001fd9be4fb6csi2510876pjb.39.2022.11.16.10.16.20; Wed, 16 Nov 2022 10:16:34 -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=c1m7HBdq; 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 S233825AbiKPSNx (ORCPT + 99 others); Wed, 16 Nov 2022 13:13:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237493AbiKPSNs (ORCPT ); Wed, 16 Nov 2022 13:13:48 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2847E201A7; Wed, 16 Nov 2022 10:13:45 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2AGIDReT001327; Wed, 16 Nov 2022 12:13:27 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1668622407; bh=ZTY4BEftk+Ht4KTV7sRJ7iEuEIU/qA5Kz+qtTCRngcU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=c1m7HBdqQK/zZfdj0wYLnKOgxZh5rE1qkgFM+sYllyBUhS+CNHwNUZv4yefe6nzOV IOt21IEJlVIMXJ7c4UqGvjHb/NqnwADTKkrwmLFmJ8gE4oHw3pPX8i41Md8F/VyAH6 xwG2Xfb6pj7EVyk0IVN5pTlZ8DXbSPVFp7TRDRD4= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2AGIDRE3013596 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 16 Nov 2022 12:13:27 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Wed, 16 Nov 2022 12:13:26 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) 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.6 via Frontend Transport; Wed, 16 Nov 2022 12:13:27 -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 2AGID8MF026690; Wed, 16 Nov 2022 12:13:19 -0600 From: Georgi Vlaev To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , Rob Herring , Krzysztof Kozlowski CC: , , , Vibhore Vardhan , Vignesh Raghavendra , Roger Quadros , Georgi Vlaev Subject: [PATCH v4 1/5] dt-bindings: ti, sci: Add lpm region and firmware-name Date: Wed, 16 Nov 2022 20:13:03 +0200 Message-ID: <20221116181307.198209-2-g-vlaev@ti.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221116181307.198209-1-g-vlaev@ti.com> References: <20221116181307.198209-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?1749677605763378650?= X-GMAIL-MSGID: =?utf-8?q?1749677605763378650?= 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