• Marek Behún's avatar
    cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant · 484f2b7c
    Marek Behún authored
    The 1.2 GHz variant of the Armada 3720 SOC is unstable with DVFS: when
    the SOC boots, the WTMI firmware sets clocks and AVS values that work
    correctly with 1.2 GHz CPU frequency, but random crashes occur once
    cpufreq driver starts scaling.
    
    We do not know currently what is the reason:
    - it may be that the voltage value for L0 for 1.2 GHz variant provided
      by the vendor in the OTP is simply incorrect when scaling is used,
    - it may be that some delay is needed somewhere,
    - it may be something else.
    
    The most sane solution now seems to be to simply forbid the cpufreq
    driver on 1.2 GHz variant.
    Signed-off-by: default avatarMarek Behún <kabel@kernel.org>
    Fixes: 92ce45fb ("cpufreq: Add DVFS support for Armada 37xx")
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    484f2b7c
armada-37xx-cpufreq.c 16.2 KB