Re: ARM: mx28: cpufreq-cpu0 support?
Fabio Estevam <[email protected]> Wed, 24 Sep 2014 18:47:46 -0300
| Newsgroups | org.kernel.vger.cpufreq,org.infradead.lists.linux-arm-kernel |
|---|---|
| Message-ID | <CAOMZO5BN8APenWCsy7uHbYNQ4q0-QxorAdGPKBHOHPcUzp2PYg@mail.gmail.com> |
On Wed, Sep 24, 2014 at 5:46 PM, Stefan Wahren <[email protected]> wrote: > thanks, registering cpufreq-cpu0 and adding missing properties reg & clocks > did the trick. > > Now the sys interface of cpufreq is available and the mxs-regulator seems to > handle frequency change. But the frequency selection do not work as > expected. If i set cpu frequency to 454736, 392727 or 261818 kHz, the Why 454736 instead of 454MHz? Same for the other values. > cpufreq driver change it silently to 240000 kHz. 24MHz is the osc clock. It seems you did not turn on the PLL0. Check the POWER bit of HW_CLKCTRL_PLL0CTRL0 register.