• Mark Brown's avatar
    ARM: S3C64XX: Redo voltage ranges for cpufreq · e9c08f0d
    Mark Brown authored
    The documentation for the S3C6410 CPU voltage scaling is rather
    unclear, with omitted values for several speed settings. Originally
    the code was using only quoted values, resulting in some fairly odd
    settings. The S3C6410 is also unusual in that the both the maximum
    and minimum voltages quoted scale as the frequency rises, rather
    than just the minimum voltage.
    
    Clean this up a bit by always using the specified typical settings
    as the minimum voltage (ignoring any specified minimum voltage) in
    order to avoid running near the edge of the processor capabilities.
    Also use the next quoted maximum voltages rather than the typical
    voltages where no maximum voltage is quoted, allowing operation on
    a greater range of systems.
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
    e9c08f0d
cpufreq.c 6.34 KB