From: POPESCU Catalin <catalin.popescu@leica-geosystems.com>
To: "robh@kernel.org" <robh@kernel.org>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"shawnguo@kernel.org" <shawnguo@kernel.org>,
"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
"kernel@pengutronix.de" <kernel@pengutronix.de>,
"festevam@gmail.com" <festevam@gmail.com>,
"peng.fan@nxp.com" <peng.fan@nxp.com>,
"shengjiu.wang@nxp.com" <shengjiu.wang@nxp.com>,
"daniel.baluta@nxp.com" <daniel.baluta@nxp.com>,
Sherry Sun <sherry.sun@nxp.com>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"imx@lists.linux.dev" <imx@lists.linux.dev>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"m.felsch@pengutronix.de" <m.felsch@pengutronix.de>,
GEO-CHHER-bsp-development
<bsp-development.geo@leica-geosystems.com>
Subject: Re: [PATCH] arm64: dts: imx8mp: add cpuidle state "cpu-pd-wait"
Date: Wed, 23 Oct 2024 08:59:09 +0000 [thread overview]
Message-ID: <44e997af-3275-4a4d-8d37-b8d313107d30@leica-geosystems.com> (raw)
In-Reply-To: <20241007134424.859467-1-catalin.popescu@leica-geosystems.com>
Adding more people.
On 07/10/2024 15:44, Catalin Popescu wrote:
> So far, only WFI is supported on i.MX8mp platform. Add support for
> deeper cpuidle state "cpu-pd-wait" that would allow for better power
> usage during runtime. This is a port from NXP downstream kernel.
>
> Signed-off-by: Catalin Popescu <catalin.popescu@leica-geosystems.com>
> ---
> arch/arm64/boot/dts/freescale/imx8mp.dtsi | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> index f3531cfb0d79..8b1e0ca248d1 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> @@ -47,6 +47,20 @@ cpus {
> #address-cells = <1>;
> #size-cells = <0>;
>
> + idle-states {
> + entry-method = "psci";
> +
> + cpu_pd_wait: cpu-pd-wait {
> + compatible = "arm,idle-state";
> + arm,psci-suspend-param = <0x0010033>;
> + local-timer-stop;
> + entry-latency-us = <1000>;
> + exit-latency-us = <700>;
> + min-residency-us = <2700>;
> + wakeup-latency-us = <1500>;
> + };
> + };
> +
> A53_0: cpu@0 {
> device_type = "cpu";
> compatible = "arm,cortex-a53";
> @@ -65,6 +79,7 @@ A53_0: cpu@0 {
> nvmem-cell-names = "speed_grade";
> operating-points-v2 = <&a53_opp_table>;
> #cooling-cells = <2>;
> + cpu-idle-states = <&cpu_pd_wait>;
> };
>
> A53_1: cpu@1 {
> @@ -83,6 +98,7 @@ A53_1: cpu@1 {
> next-level-cache = <&A53_L2>;
> operating-points-v2 = <&a53_opp_table>;
> #cooling-cells = <2>;
> + cpu-idle-states = <&cpu_pd_wait>;
> };
>
> A53_2: cpu@2 {
> @@ -101,6 +117,7 @@ A53_2: cpu@2 {
> next-level-cache = <&A53_L2>;
> operating-points-v2 = <&a53_opp_table>;
> #cooling-cells = <2>;
> + cpu-idle-states = <&cpu_pd_wait>;
> };
>
> A53_3: cpu@3 {
> @@ -119,6 +136,7 @@ A53_3: cpu@3 {
> next-level-cache = <&A53_L2>;
> operating-points-v2 = <&a53_opp_table>;
> #cooling-cells = <2>;
> + cpu-idle-states = <&cpu_pd_wait>;
> };
>
> A53_L2: l2-cache0 {
>
> base-commit: 58ca61c1a866bfdaa5e19fb19a2416764f847d75
> prerequisite-patch-id: 0000000000000000000000000000000000000000
prev parent reply other threads:[~2024-10-23 8:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-07 13:44 Catalin Popescu
2024-10-21 9:42 ` Shawn Guo
2025-04-14 12:07 ` Jai Luthra
2025-04-15 15:42 ` POPESCU Catalin
2025-04-15 15:47 ` Laurent Pinchart
2025-04-15 15:52 ` Laurent Pinchart
2025-04-15 18:14 ` Marco Felsch
2025-04-15 23:01 ` Laurent Pinchart
2025-04-16 4:59 ` Jai Luthra
2025-04-16 8:46 ` Jai Luthra
2025-04-16 6:57 ` POPESCU Catalin
2025-04-16 17:04 ` Laurent Pinchart
2024-10-23 8:59 ` POPESCU Catalin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44e997af-3275-4a4d-8d37-b8d313107d30@leica-geosystems.com \
--to=catalin.popescu@leica-geosystems.com \
--cc=bsp-development.geo@leica-geosystems.com \
--cc=conor+dt@kernel.org \
--cc=daniel.baluta@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.felsch@pengutronix.de \
--cc=peng.fan@nxp.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=shengjiu.wang@nxp.com \
--cc=sherry.sun@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®