* [PATCH 0/2] ARM: dts: am33xx/am4372: Add cpuidle dt states
@ 2019-12-13 4:17 Dave Gerlach
2019-12-13 4:17 ` [PATCH 1/2] ARM: dts: am33xx: Add idle_states for cpuidle Dave Gerlach
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Dave Gerlach @ 2019-12-13 4:17 UTC (permalink / raw)
To: Tony Lindgren, Santosh Shilimkar
Cc: devicetree, linux-omap, linux-arm-kernel, Dave Gerlach
Hi,
This series adds DT idle states for TI am33xx and am4372 platforms.
The mpu_gate is added for both platforms which gates the MPU clock
to save power during idle. It depends on the driver series sent
here [1].
Regards,
Dave
[1] https://marc.info/?l=linux-kernel&m=157620644400324&w=2
Dave Gerlach (2):
ARM: dts: am33xx: Add idle_states for cpuidle
ARM: dts: am4372: Add idle_states for cpuidle
arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++
arch/arm/boot/dts/am4372.dtsi | 12 ++++++++++++
2 files changed, 24 insertions(+)
--
2.20.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: dts: am33xx: Add idle_states for cpuidle
2019-12-13 4:17 [PATCH 0/2] ARM: dts: am33xx/am4372: Add cpuidle dt states Dave Gerlach
@ 2019-12-13 4:17 ` Dave Gerlach
2019-12-13 4:17 ` [PATCH 2/2] ARM: dts: am4372: " Dave Gerlach
2020-02-27 17:35 ` [PATCH 0/2] ARM: dts: am33xx/am4372: Add cpuidle dt states Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Dave Gerlach @ 2019-12-13 4:17 UTC (permalink / raw)
To: Tony Lindgren, Santosh Shilimkar
Cc: devicetree, linux-omap, linux-arm-kernel, Dave Gerlach
Add idle_states table for CPU on am335x. Currently just add C1 state
which gates the MPU clock domain.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 646f11430dad..66d102efa93f 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -47,6 +47,7 @@
#size-cells = <0>;
cpu@0 {
compatible = "arm,cortex-a8";
+ enable-method = "ti,am3352";
device_type = "cpu";
reg = <0>;
@@ -56,6 +57,17 @@
clock-names = "cpu";
clock-latency = <300000>; /* From omap-cpufreq driver */
+ cpu-idle-states = <&mpu_gate>;
+ };
+
+ idle-states {
+ mpu_gate: mpu_gate {
+ compatible = "arm,idle-state";
+ entry-latency-us = <40>;
+ exit-latency-us = <90>;
+ min-residency-us = <300>;
+ ti,idle-wkup-m3;
+ };
};
};
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: dts: am4372: Add idle_states for cpuidle
2019-12-13 4:17 [PATCH 0/2] ARM: dts: am33xx/am4372: Add cpuidle dt states Dave Gerlach
2019-12-13 4:17 ` [PATCH 1/2] ARM: dts: am33xx: Add idle_states for cpuidle Dave Gerlach
@ 2019-12-13 4:17 ` Dave Gerlach
2020-02-27 17:35 ` [PATCH 0/2] ARM: dts: am33xx/am4372: Add cpuidle dt states Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Dave Gerlach @ 2019-12-13 4:17 UTC (permalink / raw)
To: Tony Lindgren, Santosh Shilimkar
Cc: devicetree, linux-omap, linux-arm-kernel, Dave Gerlach
Add idle_states table for CPU on am437x. Currently just add C1 state
which gates the MPU clock domain.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/am4372.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index ca0aa3f26c0a..71ff2bf68d56 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -45,6 +45,7 @@
#size-cells = <0>;
cpu: cpu@0 {
compatible = "arm,cortex-a9";
+ enable-method = "ti,am4372";
device_type = "cpu";
reg = <0>;
@@ -54,6 +55,17 @@
operating-points-v2 = <&cpu0_opp_table>;
clock-latency = <300000>; /* From omap-cpufreq driver */
+ cpu-idle-states = <&mpu_gate>;
+ };
+
+ idle-states {
+ mpu_gate: mpu_gate {
+ compatible = "arm,idle-state";
+ entry-latency-us = <40>;
+ exit-latency-us = <100>;
+ min-residency-us = <300>;
+ local-timer-stop;
+ };
};
};
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] ARM: dts: am33xx/am4372: Add cpuidle dt states
2019-12-13 4:17 [PATCH 0/2] ARM: dts: am33xx/am4372: Add cpuidle dt states Dave Gerlach
2019-12-13 4:17 ` [PATCH 1/2] ARM: dts: am33xx: Add idle_states for cpuidle Dave Gerlach
2019-12-13 4:17 ` [PATCH 2/2] ARM: dts: am4372: " Dave Gerlach
@ 2020-02-27 17:35 ` Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2020-02-27 17:35 UTC (permalink / raw)
To: Dave Gerlach; +Cc: Santosh Shilimkar, linux-arm-kernel, linux-omap, devicetree
* Dave Gerlach <d-gerlach@ti.com> [191212 20:16]:
> Hi,
> This series adds DT idle states for TI am33xx and am4372 platforms.
> The mpu_gate is added for both platforms which gates the MPU clock
> to save power during idle. It depends on the driver series sent
> here [1].
>
> Regards,
> Dave
>
> [1] https://marc.info/?l=linux-kernel&m=157620644400324&w=2
Thanks applying into omap-for-v5.7/dt.
Regards,
Tony
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-02-27 17:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-13 4:17 [PATCH 0/2] ARM: dts: am33xx/am4372: Add cpuidle dt states Dave Gerlach
2019-12-13 4:17 ` [PATCH 1/2] ARM: dts: am33xx: Add idle_states for cpuidle Dave Gerlach
2019-12-13 4:17 ` [PATCH 2/2] ARM: dts: am4372: " Dave Gerlach
2020-02-27 17:35 ` [PATCH 0/2] ARM: dts: am33xx/am4372: Add cpuidle dt states Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).