[cip-dev] [PATCH 62/86] ARM: dts: r8a7745: Add operating-points to cpu0

Ben Hutchings
2018-07-05T21:45:45Z

On Fri, 2018-06-29 at 15:39 +0100, Fabrizio Castro wrote:
> shmobile_defconfig builds cpu freq into the kernel by default,
> therefore we get error and warning messages at boot, when
> hotplugging cpus, and when waking up from suspend to RAM.
>
> Although the r8a7745 SoC does not support DVFS, defining one
> operating point makes cpu freq happy and therefore all of the
> nasty messages disappear.

Why was this not needed upstream?

Ben.

> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> ---
> ?arch/arm/boot/dts/r8a7745.dtsi | 1 +
> ?1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/r8a7745.dtsi
> b/arch/arm/boot/dts/r8a7745.dtsi
> index 077a28a..5f1cc84 100644
> --- a/arch/arm/boot/dts/r8a7745.dtsi
> +++ b/arch/arm/boot/dts/r8a7745.dtsi
> @@ -29,6 +29,7 @@
> ? clock-frequency = <1000000000>;
> ? clocks = <&z2_clk>;
> ? next-level-cache = <&L2_CA7>;
> + operating-points = <1000000 1000000>;
> ? };
> ?
> ? cpu1: cpu at 1 {
--
Ben Hutchings, Software Developer ? Codethink Ltd
https://www.codethink.co.uk/ Dale House, 35 Dale Street
Manchester, M1 2HF, United Kingdom