* [PATCH] ARM: dts: augment Ux500 to use DT cpufreq
@ 2017-08-22 7:28 Linus Walleij
2017-08-22 13:31 ` Arnd Bergmann
0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2017-08-22 7:28 UTC (permalink / raw)
To: linux-arm-kernel
This adds the operating points to the Ux500 device tree and
deletes the old special-purpose cpufreq node, as we can now
use the generic DT cpufreq driver.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ARM SoC folks: please apply this directly for v4.14, I have
no other ux500 DTS patches coming this merge window as far
as I know. It is just using standard bindings.
---
arch/arm/boot/dts/ste-dbx5x0.dtsi | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi
index 6c5affe2d0f5..2310a4e97768 100644
--- a/arch/arm/boot/dts/ste-dbx5x0.dtsi
+++ b/arch/arm/boot/dts/ste-dbx5x0.dtsi
@@ -37,6 +37,14 @@
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <0x300>;
+ /* cpufreq controls */
+ operating-points = <998400 0
+ 800000 0
+ 400000 0
+ 200000 0>;
+ clocks = <&prcmu_clk PRCMU_ARMSS>;
+ clock-names = "cpu";
+ clock-latency = <20000>;
};
CPU1: cpu at 301 {
device_type = "cpu";
@@ -494,13 +502,6 @@
reg = <0x80157450 0xC>;
};
- cpufreq {
- compatible = "stericsson,cpufreq-ux500";
- clocks = <&prcmu_clk PRCMU_ARMSS>;
- clock-names = "armss";
- status = "disabled";
- };
-
thermal at 801573c0 {
compatible = "stericsson,db8500-thermal";
reg = <0x801573c0 0x40>;
--
2.13.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: dts: augment Ux500 to use DT cpufreq
2017-08-22 7:28 [PATCH] ARM: dts: augment Ux500 to use DT cpufreq Linus Walleij
@ 2017-08-22 13:31 ` Arnd Bergmann
0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2017-08-22 13:31 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Aug 22, 2017 at 9:28 AM, Linus Walleij <linus.walleij@linaro.org> wrote:
> This adds the operating points to the Ux500 device tree and
> deletes the old special-purpose cpufreq node, as we can now
> use the generic DT cpufreq driver.
>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ARM SoC folks: please apply this directly for v4.14, I have
> no other ux500 DTS patches coming this merge window as far
> as I know. It is just using standard bindings.
applied to next/dt, thanks!
Arnd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-22 13:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-22 7:28 [PATCH] ARM: dts: augment Ux500 to use DT cpufreq Linus Walleij
2017-08-22 13:31 ` Arnd Bergmann
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).