From: Joseph Lo <josephl@nvidia.com> To: Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de> Cc: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Joseph Lo <josephl@nvidia.com> Subject: [PATCH V6 5/7] arm64: dts: tegra210: add CPU idle states properties Date: Sat, 2 Feb 2019 00:16:52 +0800 [thread overview] Message-ID: <20190201161654.18315-6-josephl@nvidia.com> (raw) In-Reply-To: <20190201161654.18315-1-josephl@nvidia.com> Add idle states properties for generic ARM CPU idle driver. This includes a C7 state which is the power down state of CPU cores. Signed-off-by: Joseph Lo <josephl@nvidia.com> Acked-by: Jon Hunter <jonathanh@nvidia.com> --- v6: * add ack tag from Jon. v5: * no change v4: * no change v3: * no change v2: * add entry-latency-us and exit-latency-us properties Note: This dt patch depends on the DT changes in below series. http://patchwork.ozlabs.org/project/linux-tegra/list/?series=84380 --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi index 2b387364afc3..75534692604c 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi @@ -1318,24 +1318,43 @@ <&dfll>; clock-names = "cpu_g", "pll_x", "pll_p", "dfll"; clock-latency = <300000>; + cpu-idle-states = <&C7>; }; cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <1>; + cpu-idle-states = <&C7>; }; cpu@2 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <2>; + cpu-idle-states = <&C7>; }; cpu@3 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <3>; + cpu-idle-states = <&C7>; + }; + + idle-states { + entry-method = "psci"; + + C7: c7 { + compatible = "arm,idle-state"; + arm,psci-suspend-param = <0x40000007>; + entry-latency-us = <250>; + exit-latency-us = <100>; + min-residency-us = <1000>; + wakeup-latency-us = <130>; + idle-state-name = "c7-cpu-powergated"; + status = "disabled"; + }; }; }; -- 2.20.1
WARNING: multiple messages have this Message-ID (diff)
From: Joseph Lo <josephl@nvidia.com> To: Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de> Cc: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Joseph Lo <josephl@nvidia.com> Subject: [PATCH V6 5/7] arm64: dts: tegra210: add CPU idle states properties Date: Sat, 2 Feb 2019 00:16:52 +0800 [thread overview] Message-ID: <20190201161654.18315-6-josephl@nvidia.com> (raw) In-Reply-To: <20190201161654.18315-1-josephl@nvidia.com> Add idle states properties for generic ARM CPU idle driver. This includes a C7 state which is the power down state of CPU cores. Signed-off-by: Joseph Lo <josephl@nvidia.com> Acked-by: Jon Hunter <jonathanh@nvidia.com> --- v6: * add ack tag from Jon. v5: * no change v4: * no change v3: * no change v2: * add entry-latency-us and exit-latency-us properties Note: This dt patch depends on the DT changes in below series. http://patchwork.ozlabs.org/project/linux-tegra/list/?series=84380 --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi index 2b387364afc3..75534692604c 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi @@ -1318,24 +1318,43 @@ <&dfll>; clock-names = "cpu_g", "pll_x", "pll_p", "dfll"; clock-latency = <300000>; + cpu-idle-states = <&C7>; }; cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <1>; + cpu-idle-states = <&C7>; }; cpu@2 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <2>; + cpu-idle-states = <&C7>; }; cpu@3 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <3>; + cpu-idle-states = <&C7>; + }; + + idle-states { + entry-method = "psci"; + + C7: c7 { + compatible = "arm,idle-state"; + arm,psci-suspend-param = <0x40000007>; + entry-latency-us = <250>; + exit-latency-us = <100>; + min-residency-us = <1000>; + wakeup-latency-us = <130>; + idle-state-name = "c7-cpu-powergated"; + status = "disabled"; + }; }; }; -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-02-01 16:16 UTC|newest] Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-02-01 16:16 [PATCH V6 0/7] Add CPUidle support for Tegra210 Joseph Lo 2019-02-01 16:16 ` Joseph Lo 2019-02-01 16:16 ` [PATCH V6 1/7] dt-bindings: timer: add Tegra210 timer Joseph Lo 2019-02-01 16:16 ` Joseph Lo 2019-02-01 16:16 ` Joseph Lo 2019-02-01 16:16 ` [PATCH V6 2/7] clocksource: tegra: add Tegra210 timer support Joseph Lo 2019-02-01 16:16 ` Joseph Lo 2019-02-01 16:16 ` Joseph Lo 2019-02-01 16:31 ` Jon Hunter 2019-02-01 16:31 ` Jon Hunter 2019-02-01 16:31 ` Jon Hunter 2019-02-08 13:23 ` Joseph Lo 2019-02-08 13:23 ` Joseph Lo 2019-02-08 13:23 ` Joseph Lo 2019-02-13 8:55 ` Daniel Lezcano 2019-02-13 8:55 ` Daniel Lezcano 2019-02-13 9:08 ` Joseph Lo 2019-02-13 9:08 ` Joseph Lo 2019-02-13 9:08 ` Joseph Lo 2019-02-15 15:14 ` Daniel Lezcano 2019-02-15 15:14 ` Daniel Lezcano 2019-02-18 9:01 ` Joseph Lo 2019-02-18 9:01 ` Joseph Lo 2019-02-18 9:01 ` Joseph Lo 2019-02-18 9:39 ` Daniel Lezcano 2019-02-18 9:39 ` Daniel Lezcano 2019-02-19 9:00 ` Joseph Lo 2019-02-19 9:00 ` Joseph Lo 2019-02-19 9:00 ` Joseph Lo 2019-02-19 9:33 ` Daniel Lezcano 2019-02-19 9:33 ` Daniel Lezcano 2019-02-01 16:16 ` [PATCH V6 3/7] soc/tegra: default select TEGRA_TIMER for Tegra210 Joseph Lo 2019-02-01 16:16 ` Joseph Lo 2019-02-01 16:16 ` [PATCH V6 4/7] arm64: dts: tegra210: fix timer node Joseph Lo 2019-02-01 16:16 ` Joseph Lo 2019-02-01 16:16 ` Joseph Lo [this message] 2019-02-01 16:16 ` [PATCH V6 5/7] arm64: dts: tegra210: add CPU idle states properties Joseph Lo 2019-02-15 15:47 ` Daniel Lezcano 2019-02-18 9:21 ` Joseph Lo 2019-02-18 9:21 ` Joseph Lo 2019-02-01 16:16 ` [PATCH V6 6/7] arm64: dts: tegra210-p2180: Enable CPU idle support Joseph Lo 2019-02-01 16:16 ` Joseph Lo 2019-02-01 16:16 ` [PATCH V6 7/7] arm64: dts: tegra210-smaug: " Joseph Lo 2019-02-01 16:16 ` Joseph Lo
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=20190201161654.18315-6-josephl@nvidia.com \ --to=josephl@nvidia.com \ --cc=daniel.lezcano@linaro.org \ --cc=jonathanh@nvidia.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-tegra@vger.kernel.org \ --cc=tglx@linutronix.de \ --cc=thierry.reding@gmail.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.