ARM: mstar: Link cpupll to cpu
authorDaniel Palmer <daniel@0x0f.com>
Tue, 23 Feb 2021 06:18:26 +0000 (15:18 +0900)
committerRomain Perier <romain.perier@gmail.com>
Wed, 16 Feb 2022 18:17:25 +0000 (19:17 +0100)
The CPU clock is sourced from the CPU PLL.
Link cpupll to the cpu so that frequency scaling can happen.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Reviewed-by: Romain Perier <romain.perier@gmail.com>
arch/arm/boot/dts/mstar-v7.dtsi

index 2249faaa3aa7c246d8e9bd4d02427d515ca1927d..c26ba9b7b6ddfbcb7cad9d1730656717ae4adac9 100644 (file)
@@ -21,6 +21,8 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a7";
                        reg = <0x0>;
+                       clocks = <&cpupll>;
+                       clock-names = "cpuclk";
                };
        };