[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240830042958.33d35pfos7uv4wqb@lcpd911>
Date: Fri, 30 Aug 2024 09:59:58 +0530
From: Dhruva Gole <d-gole@...com>
To: Markus Schneider-Pargmann <msp@...libre.com>
CC: Nishanth Menon <nm@...com>, Tero Kristo <kristo@...nel.org>,
"Santosh
Shilimkar" <ssantosh@...nel.org>,
Vibhore Vardhan <vibhore@...com>,
"Kevin
Hilman" <khilman@...libre.com>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
Georgi Vlaev <g-vlaev@...com>
Subject: Re: [PATCH v11 1/4] firmware: ti_sci: Add support for querying the
firmware caps
On Aug 29, 2024 at 22:16:02 +0200, Markus Schneider-Pargmann wrote:
> From: Georgi Vlaev <g-vlaev@...com>
>
> Add support for the TISCI_MSG_QUERY_FW_CAPS message, used to retrieve
> the firmware capabilities of the currently running system firmware. The
> message belongs to the TISCI general core message API [1] and is
> available in SysFW version 08.04.03 and above. Currently, the message is
> supported on devices with split architecture of the system firmware (DM
> + TIFS) like AM62x. Old revisions or not yet supported platforms will
> NACK this request.
>
> We're using this message locally in ti_sci.c to get the low power
> features of the FW/SoC. As there's no other kernel consumers yet, this
> is not added to struct ti_sci_core_ops.
>
> Sysfw version >= 10.00.04 support LPM_DM_MANAGED capability [2], where
> Device Mgr firmware now manages which low power mode is chosen. Going
> forward, this is the default configuration supported for TI AM62 family
> of devices. The state chosen by the DM can be influenced by sending
> constraints using the new LPM constraint APIs.
>
> [1] https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html
> [2] https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html#tisci-msg-query-fw-caps
>
> Signed-off-by: Georgi Vlaev <g-vlaev@...com>
> [vibhore@...com: Support for LPM_DM_MANAGED mode]
> Signed-off-by: Vibhore Vardhan <vibhore@...com>
> Signed-off-by: Kevin Hilman <khilman@...libre.com>
> Tested-by: Dhruva Gole <d-gole@...com>
> Signed-off-by: Markus Schneider-Pargmann <msp@...libre.com>
> ---
> drivers/firmware/ti_sci.c | 74 ++++++++++++++++++++++++++++++++++++++-
> drivers/firmware/ti_sci.h | 22 ++++++++++++
> 2 files changed, 95 insertions(+), 1 deletion(-)
>
[..snip..]
No remaining concerns,
Acked-by: Dhruva Gole <d-gole@...com>
--
Best regards,
Dhruva Gole
Texas Instruments Incorporated
Powered by blists - more mailing lists