From mboxrd@z Thu Jan 1 00:00:00 1970 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 8EA49C3DA4A for ; Tue, 20 Aug 2024 08:22:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=u2z2eg6vf6HwqPTVUlaZOK6+0jw2RLgUcS9SUFRXL2Q=; b=uMv44BBhIkvXtL7TRZvCb7Y5uE th1bHqDZNHxi501jNk/1YeMEXlMPLn5/Op2Kfz7VL+nKREALZSrdC9Z1oznj8R59GjMjxfwHdkvwj mqGEG3HTkZ/qf6/qX+L/by0H3l2WHkZnRoc/Hp8g9V8vwAS57W+E3tUZtsNRhygUNCqFTHbePZmrZ 5D4uXXPKMtkhtManfjuQ4EoqvmK7Y6tzgznavTj5aJGccsCjh+Ipb0sypf8LfQr5++DZRp3/jPrXz qbqFwpGn2ThnSBubbYMvBGGEuBwvAEUpQjHSB54Dg89V3/P6vAnjjedSE35/3RdSzWBKdk9ZJDZ8c k/20+o4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgK7y-00000004MzW-2hNt; Tue, 20 Aug 2024 08:22:06 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgK70-00000004MfD-0pVL for linux-arm-kernel@lists.infradead.org; Tue, 20 Aug 2024 08:21:08 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 47K8Krgo069727; Tue, 20 Aug 2024 03:20:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1724142053; bh=u2z2eg6vf6HwqPTVUlaZOK6+0jw2RLgUcS9SUFRXL2Q=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=qTSiMalWE4Syj0SfoCVUQdGsxyq4zzZYxDbxuTNwBknL4Ggs6gMwcjR0xS7LAh0jL D89hAbk1lOPUIuPKQMPr+nFHqq+yYatI5+rllMk7aVvMJxUlx+x+Wk0bLX06I2Gea2 KJL4YjpnLJSABwbVhBPqc02kj8iF7VEitY2bC4fc= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 47K8Kr5v066990 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Aug 2024 03:20:53 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 20 Aug 2024 03:20:52 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 20 Aug 2024 03:20:52 -0500 Received: from [172.24.227.249] (akashdeep-hp-z2-tower-g5-workstation.dhcp.ti.com [172.24.227.249]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 47K8KnoE097409; Tue, 20 Aug 2024 03:20:50 -0500 Message-ID: <6cde0930-5296-4707-a4b3-3ef060206625@ti.com> Date: Tue, 20 Aug 2024 13:50:49 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v10 3/4] firmware: ti_sci: Introduce Power Management Ops To: Kevin Hilman , Nishanth Menon , Tero Kristo , Santosh Shilimkar CC: , , Vibhore Vardhan , Dhruva Gole , Markus Schneider-Pargmann References: <20240814-lpm-constraints-firmware-msp-v10-0-bee4314bbdc8@baylibre.com> <20240814-lpm-constraints-firmware-msp-v10-3-bee4314bbdc8@baylibre.com> Content-Language: en-US From: Akashdeep Kaur In-Reply-To: <20240814-lpm-constraints-firmware-msp-v10-3-bee4314bbdc8@baylibre.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240820_012106_431769_93011981 X-CRM114-Status: GOOD ( 13.07 ) 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 On 14/08/24 21:09, Kevin Hilman wrote: > From: Dave Gerlach Introduce power management ops > supported by the TISCI Low Power Mode API [1]. 1) > TISCI_MSG_LPM_WAKE_REASON Get which wake up source woke the SoC from Low > Power Mode. The wake up source IDs will be > ZjQcmQRYFpfptBannerStart > This message was sent from outside of Texas Instruments. > Do not click links or open attachments unless you recognize the source > of this email and know the content is safe. > Report Suspicious > > ZjQcmQRYFpfptBannerEnd > > From: Dave Gerlach > > Introduce power management ops supported by the TISCI > Low Power Mode API [1]. > > 1) TISCI_MSG_LPM_WAKE_REASON > Get which wake up source woke the SoC from Low Power Mode. > The wake up source IDs will be common for all K3 platforms. > > 2) TISCI_MSG_LPM_SET_DEVICE_CONSTRAINT > Set LPM constraint on behalf of a device. By setting a constraint, the > device ensures that it will not be powered off or reset in the selected > mode. > > 3) TISCI_MSG_LPM_SET_LATENCY_CONSTRAINT > Set LPM resume latency constraint. By setting a constraint, the host > ensures that the resume time from selected mode will be less than the > constraint value. > > [1] https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/pm/lpm.html > > Signed-off-by: Dave Gerlach > [g-vlaev@ti.com: LPM_WAKE_REASON and IO_ISOLATION support] > Signed-off-by: Georgi Vlaev > [a-kaur@ti.com: SET_DEVICE_CONSTRAINT support] > Signed-off-by: Akashdeep Kaur > [vibhore@ti.com: SET_LATENCY_CONSTRAINT support] > Signed-off-by: Vibhore Vardhan > Signed-off-by: Markus Schneider-Pargmann > Signed-off-by: Kevin Hilman > --- [...] My concerns are now addressed. Reviewed-by: Akashdeep Kaur