Kconfig:

config CPU_FREQ_COOLSAND tristate "Coolsand CPU frequency scaling driver" depends on ARCH_COOLSAND default y help This adds support for CPU frequency scaling on Coolsand SoCs.

static int coolsand_set_target(struct cpufreq_policy *policy, unsigned int index)

// Set clock divider // Adjust voltage via regulator return 0;