From patchwork Fri Nov 11 17:17:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Vlaev X-Patchwork-Id: 18923 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp873233wru; Fri, 11 Nov 2022 09:29:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Egdz6ImfdqB3UrBMtBv5R7acIVIcp50PONo+KA2UUOmHduC/8gpi38NrS1uBkiEOUjxRh X-Received: by 2002:a17:906:4f12:b0:78d:502c:aeb5 with SMTP id t18-20020a1709064f1200b0078d502caeb5mr2766644eju.88.1668187752977; Fri, 11 Nov 2022 09:29:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668187752; cv=none; d=google.com; s=arc-20160816; b=EozryvP2DGu9w5/49zLnQ5q2AO0GD+59U/U8zTqT+QRcxVle3+5c27y0s2Ogy3QeB/ rimtfpLS68zzG9wORFZbaLpIygJoh8/x1Wz9DGxIsfnIJVkl/jd0y0V+NexQzFs6qChG 07oDEDApyxTZeHeHJI3KVkoK58EbEn3kD89HQr+EMyluVCaxm2vqPn3eXc8arJImOIrp bZGRkdRUVgyeCDaX5yofemHPJCLhxF/+ukcd5NrGXQhK8THEHGXaNnQv/sSvxPpnCoN9 ZyllTEPJWVYyB46uk7j9rK+ITxfW0PMf+tG2bu9Cfx/GxPUTw8Gr/UyBabVQz9mnYCFo JXyQ== 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=Wrxs8dPukQxQvyAwNfrM3/FBYUbUJT0XCsyOKn0WThr2CEH2vwq4jCk6Zysx9BpBgq jGfBqyigVFHIdKwgtAKqa6dHe+gkkW5rOFaw+m+a9asfe0cnWY3bOXRXPBNdr4vuf9Wz ljZQZ6Bwl4tQ8V96MFOx6tMxHLIQ+RAeeZzUcyUWS/hHz9dWWMrBTA1EeTRFB0rBEESO zfqltKaYt1y4mRpBMhllUtXxpe86TqMdC4T47e80xdLlTr8NMzOl/K8jmfOSKqk5SyT7 fgWlx0EVr2b+z9ee6sDHLLdxT1RTuh9nruZveWBPXrqwAGBOME2MZC80g21KdWMIEGd1 FqRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=uOoYCLB6; 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 r17-20020aa7cfd1000000b004632343b9cesi2246852edy.568.2022.11.11.09.28.48; Fri, 11 Nov 2022 09:29:12 -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=uOoYCLB6; 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 S234389AbiKKRSW (ORCPT + 99 others); Fri, 11 Nov 2022 12:18:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234383AbiKKRSS (ORCPT ); Fri, 11 Nov 2022 12:18:18 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F162656EDE; Fri, 11 Nov 2022 09:18:16 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2ABHI0TO047438; Fri, 11 Nov 2022 11:18:00 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1668187080; bh=ZTY4BEftk+Ht4KTV7sRJ7iEuEIU/qA5Kz+qtTCRngcU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=uOoYCLB6CFkfLpJ+9g9AJ+dxooUhydSoQUCxgOfV+jTh18O8ALpNNC2cb9QuXXEPM m4IYr+dbVvecYqruYCrsPAiyFvdUEq6SkVWaWppMAZV5VaffKdlgSUMT7HJKGwrgZN c/DVros+FyBOBALzzz2Fqg+uA2BG3sSzfb6g0WgA= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2ABHI0R4010807 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Nov 2022 11:18:00 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Fri, 11 Nov 2022 11:17:59 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE108.ent.ti.com (157.170.170.38) 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; Fri, 11 Nov 2022 11:17:59 -0600 Received: from jti.ent.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2ABHHewY028454; Fri, 11 Nov 2022 11:17:51 -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 v3 1/5] dt-bindings: ti, sci: Add lpm region and firmware-name Date: Fri, 11 Nov 2022 19:17:35 +0200 Message-ID: <20221111171739.160693-2-g-vlaev@ti.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221111171739.160693-1-g-vlaev@ti.com> References: <20221111171739.160693-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?1749221641307525790?= X-GMAIL-MSGID: =?utf-8?q?1749221641307525790?= 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