All of lore.kernel.org
 help / color / mirror / Atom feed
* Is cpufreq-dt safe without regulator support?
@ 2015-03-17  7:45 wens Tsai
  2015-03-17  8:47 ` Viresh Kumar
  2015-03-17 18:22 ` Lucas Stach
  0 siblings, 2 replies; 10+ messages in thread
From: wens Tsai @ 2015-03-17  7:45 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Viresh,

The sunxi platform added cpufreq support in 4.0.0-rc1 using
the generic cpufreq-dt driver. One issue we've run into is
the default OPPs we use include an overclocked/overvoltage
setting.

If the cpu is missing a regulator supply phandle, or the
kernel is built without regulators, cpufreq can increase
the clock rate without the needed voltage increase.

The former issue can be resolved by providing a dummy
regulator with the default voltage, effectively disabling
cpufreq.

The latter is possible. Without regulator support built-in,
even a correct, complete DTS can still fail. Should I just
remove the offending OPP? Still that does not fix the
problem when we actually do want overclocking.

To summarize, should cpufreq-dt probe fail when regulator
support isn't available? Should we differentiate between
not having a regulator phandle vs no regulator support?


Regards,
ChenYu

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-03-18 10:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-17  7:45 Is cpufreq-dt safe without regulator support? wens Tsai
2015-03-17  8:47 ` Viresh Kumar
2015-03-18  1:40   ` wens Tsai
2015-03-18  3:53     ` Viresh Kumar
2015-03-18 10:03       ` Maxime Ripard
2015-03-18 10:11         ` Viresh Kumar
2015-03-18 10:20           ` Maxime Ripard
2015-03-18 10:35             ` Viresh Kumar
2015-03-17 18:22 ` Lucas Stach
2015-03-17 19:26   ` Nishanth Menon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.