>From Menon, Nishanth [mailto:n...@ti.com] > On Fri, May 27, 2011 at 02:20, Christian Riesch > <christian.rie...@omicron.at> wrote: >> From: Bob Dunlop <bob.dun...@xyzzy.org.uk> >> >> Currently the input frequency of the SoC is hardcoded in the SoC >> specific da850.c file to 24 MHz. Since the SoC accepts input >> frequencies in a wide range from 12 to 50 MHz, boards with different >> oscillator/crystal frequencies may be built. >> >> This patch allows setting a different input frequency in the board >> specific files to support boards with oscillator/crystal frequencies >> other than 24 MHz. >Curious question: have you considered Documentation/power/opp.txt? Not >entirely sure if that will help, but I am curious to know if there are >reasons why it did not scale for you
I took a look at it but I got the impression that the code in mach-davinci does not use your OPP library. Instead the structs that are used for the OPPs are defined locally in arch/arm/mach-davinci/da850.c. The frequency multiplier and divider values are hardcoded there and do not scale with the input clock frequency. Christian _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source