Commit Message

The TI DA850/OMAP-L138/AM18x EVM can be populated with devices
having different maximum allowed CPU clock rating.
The maximum clock the chip can support can only be determined from
the label on the package (not software readable).
Introduce a method to pass the maximum allowed clock rate information
to kernel using ATAG_REVISION. The kernel uses this information to
determine the maximum cpu clock rate reachable using cpufreq.
Note that U-Boot itself does not set the CPU clock rate. The CPU
clock is setup by a primary bootloader ("UBL"). The rate setup by
UBL could be different from the maximum clock rate supported by the
device.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
Rebased to latest on mainline master
board/davinci/da8xxevm/da850evm.c | 33 +++++++++++++++++++++++++++++++++
doc/README.davinci | 14 ++++++++++++++
include/configs/da850evm.h | 1 +
3 files changed, 48 insertions(+), 0 deletions(-)

Comments

On Wed, Nov 17, 2010 at 17:02:50, Nori, Sekhar wrote:
> The TI DA850/OMAP-L138/AM18x EVM can be populated with devices> having different maximum allowed CPU clock rating.>> The maximum clock the chip can support can only be determined from> the label on the package (not software readable).>> Introduce a method to pass the maximum allowed clock rate information> to kernel using ATAG_REVISION. The kernel uses this information to> determine the maximum cpu clock rate reachable using cpufreq.>> Note that U-Boot itself does not set the CPU clock rate. The CPU> clock is setup by a primary bootloader ("UBL"). The rate setup by> UBL could be different from the maximum clock rate supported by the> device.>> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Ben had sent a Tested-by: earlier which I failed to
include here. Sorry about that. Here it is:
Tested-by: Ben Gardiner <bengardiner@nanometrics.ca>
Thanks,
Sekhar

> > The TI DA850/OMAP-L138/AM18x EVM can be populated with devices> having different maximum allowed CPU clock rating.> > The maximum clock the chip can support can only be determined from> the label on the package (not software readable).> > Introduce a method to pass the maximum allowed clock rate information> to kernel using ATAG_REVISION. The kernel uses this information to> determine the maximum cpu clock rate reachable using cpufreq.> > Note that U-Boot itself does not set the CPU clock rate. The CPU> clock is setup by a primary bootloader ("UBL"). The rate setup by> UBL could be different from the maximum clock rate supported by the> device.> > Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Pushed to u-boot-ti
--Sandeep