Hi This is the one closest to the architecture. > > arch/powerpc/platforms/powermac/cpufreq_32.c I used this one, but did not seem to work. The processor has HW support for frequency scaling. It is a ppc405ex. Regards Rup On Thu, Jul 23, 2009 at 7:06 PM, Thomas Renninger<trenn@xxxxxxx> wrote: > On Thursday 23 July 2009 15:06:16 Rupjyoti Sarmah wrote: >> Hi Thomas & Dominik, >> >> Thanks a lot for your suggestions. >> >> I followed the steps ( also looked into the cpu-freq documentation >> inside the linux kernel tree) & included the flags related to the CPU >> frequency. >> >> After booting the kernel however I am not able to see the cpufreq >> folder inside /sys folder as you mentioned. >> I was expecting to see /cpufreq/scaling_setspeed, but the cpufreq >> folder is not present itself. >> >> I included all the frequency scaling options in the menuconfig option >> of the kernel. I rebulit the kernel and downloaded to the powerpc >> target. However the folder I mentioned is missing, I got a roadblock. >> >> I would be grateful if you have any recommendation for me, I would be >> able to move ahead from there. > One of the drivers Dominik showed you must load/work successfully and > you should get the folder. > Maybe now it's time to do some HW research and clarify: > - whether your machine can do freq scaling at all > - If yes, which one of the drivers would be the right one for your HW > - If there is one, does it work as expected on your HW > > Thomas > >> >> Regards >> Rup >> >> >> >> >> On Wed, Jul 22, 2009 at 5:51 PM, Dominik >> Brodowski<linux@xxxxxxxxxxxxxxxxxxxx> wrote: >> > Hi, >> > >> > On Wed, Jul 22, 2009 at 05:25:29PM +0530, Rupjyoti Sarmah wrote: >> >> Thanks for your suggestions. I quickly tested the following >> >> >> >> grep -r cpufreq_register_driver arch/.../ >> >> >> >> It did not find the driver in the architecture I am targeting ( ppc > ). >> >> However drivers were found for other architectures. >> >> Am I missing soomething ? >> > >> > # grep -Rli cpufreq_register_d arch/powerpc/ >> > arch/powerpc/platforms/cell/cbe_cpufreq.c >> > arch/powerpc/platforms/pasemi/cpufreq.c >> > arch/powerpc/platforms/powermac/cpufreq_32.c >> > arch/powerpc/platforms/powermac/cpufreq_64.c >> > >> > Best, >> > Dominik >> > >> -- >> 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 >> > > > -- 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