mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Alim Akhtar" <alim.akhtar@samsung.com>
To: "'Krzysztof Kozlowski'" <krzysztof.kozlowski@oss.qualcomm.com>,
	<linux-fsd@tesla.com>, "'Krzysztof	Kozlowski'" <krzk@kernel.org>,
	"'Peter Griffin'" <peter.griffin@linaro.org>,
	"'Rob	Herring'" <robh@kernel.org>,
	"'Conor Dooley'" <conor+dt@kernel.org>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<linux-samsung-soc@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: RE: [PATCH 3/5] arm64: dts: fsd: Move idle states out of CPUs node
Date: Thu, 10 Sep 2026 20:56:54 +0530	[thread overview]
Message-ID: <1524126153.41789093082973.JavaMail.epsvc@epcpadp2new> (raw)
In-Reply-To: <20260909-dts-samsung-cleanup-strict-v1-3-1b755a446b22@oss.qualcomm.com>



> -----Original Message-----
> From: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> Sent: Wednesday, September 9, 2026 7:48 PM
> To: Alim Akhtar <alim.akhtar@samsung.com>; linux-fsd@tesla.com;
> Krzysztof Kozlowski <krzk@kernel.org>; Peter Griffin
> <peter.griffin@linaro.org>; Rob Herring <robh@kernel.org>; Conor Dooley
> <conor+dt@kernel.org>
> Cc: linux-arm-kernel@lists.infradead.org; linux-samsung-
> soc@vger.kernel.org; devicetree@vger.kernel.org; linux-
> kernel@vger.kernel.org; Krzysztof Kozlowski
> <krzysztof.kozlowski@oss.qualcomm.com>
> Subject: [PATCH 3/5] arm64: dts: fsd: Move idle states out of CPUs node
> 
> Idle states are not really part of CPUs, as often they have domain idle states,
> so move them level up to fix to fix dt-check-style warning:
> 
>   fsd.dtsi:300: [child-name-order] child node 'idle-states' out of name order
> 
> Also, re-order properties to silence:
> 
>   fsd.dtsi:305: [property-order] property 'compatible' out of canonical order
> (should sort before 'idle-state-name')
>   fsd.dtsi:308: [property-order] property 'entry-latency-us' out of canonical
> order (should sort before 'arm,psci-suspend-param')
> 
> Signed-off-by: Krzysztof Kozlowski
> <krzysztof.kozlowski@oss.qualcomm.com>
> ---
Probably this need to be done for many other SoCs and platforms

Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>


>  arch/arm64/boot/dts/tesla/fsd.dtsi | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi
> b/arch/arm64/boot/dts/tesla/fsd.dtsi
> index d076ea634f4e..acbe93756a76 100644
> --- a/arch/arm64/boot/dts/tesla/fsd.dtsi
> +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi
> @@ -296,19 +296,19 @@ cpucl_l2: l2-cache0 {
>  			cache-line-size = <64>;
>  			cache-sets = <4096>;
>  		};
> +	};
> 
> -		idle-states {
> -			entry-method = "psci";
> +	idle-states {
> +		entry-method = "psci";
> 
> -			cpu_sleep: cpu-sleep {
> -				idle-state-name = "c2";
> -				compatible = "arm,idle-state";
> -				local-timer-stop;
> -				arm,psci-suspend-param = <0x0010000>;
> -				entry-latency-us = <30>;
> -				exit-latency-us = <75>;
> -				min-residency-us = <300>;
> -			};
> +		cpu_sleep: cpu-sleep {
> +			compatible = "arm,idle-state";
> +			idle-state-name = "c2";
> +			local-timer-stop;
> +			entry-latency-us = <30>;
> +			exit-latency-us = <75>;
> +			min-residency-us = <300>;
> +			arm,psci-suspend-param = <0x0010000>;
>  		};
>  	};
> 
> 
> --
> 2.53.0




  reply	other threads:[~2026-09-11  2:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-09 14:17 [PATCH 0/5] arm64: dts: fsd: Cleanups with new dt-style-check Krzysztof Kozlowski
2026-09-09 14:17 ` [PATCH 1/5] arm64: dts: fsd: Fix indentation of CPU nodes Krzysztof Kozlowski
2026-09-10 15:19   ` Alim Akhtar
2026-09-09 14:17 ` [PATCH 2/5] arm64: dts: fsd: evb: Correct node order Krzysztof Kozlowski
2026-09-10 14:52   ` Alim Akhtar
2026-09-09 14:17 ` [PATCH 3/5] arm64: dts: fsd: Move idle states out of CPUs node Krzysztof Kozlowski
2026-09-10 15:26   ` Alim Akhtar [this message]
2026-09-09 14:17 ` [PATCH 4/5] arm64: dts: fsd: Re-order nodes to match coding style Krzysztof Kozlowski
2026-09-10 15:59   ` Alim Akhtar
2026-09-09 14:17 ` [PATCH 5/5] arm64: dts: fsd: Re-order properties " Krzysztof Kozlowski
2026-09-10 16:01   ` Alim Akhtar

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=1524126153.41789093082973.JavaMail.epsvc@epcpadp2new \
    --to=alim.akhtar@samsung.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-fsd@tesla.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=peter.griffin@linaro.org \
    --cc=robh@kernel.org \
    /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®