Trying to send again, it bounced for some reason from lists.. On 5 November 2013 14:26, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote: > On 28 October 2013 15:53, Rongjun Ying <Rongjun.Ying@xxxxxxx> wrote: >>> Viresh Kumar [mailto:viresh.kumar@xxxxxxxxxx] > >>> Any particular reason why you aren't reusing cpufreq-cpu0 ?? I can't see any >>> special stuff in this driver, that can't be handled by cpu0.. > >> I tried to use the cpufreq-cpu0, But I found the regulator can't work correct. Our regulator ic only supply 1.035V(min) and 1.150V(max) voltage which use a gpio pin to control it. >> But our SoC need 1.025V(200MHz or 400MHz), 1.050V(600MHz) and 1.150V(800MHz). >> So I can't set a voltage-tolerance value to get a appropriate voltage tolerance pair. >> For exsample: >> If I set voltage-tolerance to 1. >> Freqs need-voltage min-voltage max-voltate set to >> 800MHz 1.150V 1.1385V 1.1615V 1.15V >> 600MHz 1.050V 1.0395V 1.0605V Can't set, this case can set to 1.150V >> Set other voltage-tolerance value, the same situation would happen. >> >> So I propose use a voltage-max instead of voltage-tolerance and replace regulator_set_voltage_tol to regulator_set_voltage(regulatrer, min_uV, voltage_max); > > @Shawn: Can you provide your inputs here? -- To unsubscribe from this list: send the line "unsubscribe cpufreq" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html