diff options
author | Suman Anna <s-anna@ti.com> | 2016-11-23 12:54:41 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-04 13:54:49 -0500 |
commit | 1b42ab3eda8aa7b6eed029632c8b1858dcbe8b26 (patch) | |
tree | 8c5e6415359dd5dd250849e82530d2f3a0539251 /board/buffalo/lsxl/lsxl.c | |
parent | fba82eb7c9eea2fcf5fa05c45cbec26c3410f9f3 (diff) | |
download | u-boot-imx-1b42ab3eda8aa7b6eed029632c8b1858dcbe8b26.zip u-boot-imx-1b42ab3eda8aa7b6eed029632c8b1858dcbe8b26.tar.gz u-boot-imx-1b42ab3eda8aa7b6eed029632c8b1858dcbe8b26.tar.bz2 |
ARM: DRA7: Fixup DSPEVE, IVA and GPU clock frequencies based on OPP
This patch adds support to update the device-tree blob to adjust the
DSP and IVA DPLL clocks pertinent to the selected OPP choice, with
the default being OPP_NOM. The voltage settings are done in u-boot,
but the actual clock configuration itself is done in kernel because
of the following reasons:
1. SoC definition constraints us to NOT to do dynamic voltage
scaling ever after the initial avs0 setting in bootloader
- so the voltage must be set in bootloader.
2. The voltage level must be set even if the IP blocks like
GPU/DSP are unused.
3. The IVA, GPU and DSP DPLLs are not essential for u-boot functionality,
and similar DPLL clock configuration code has been cleaned up in
v2014.10 u-boot release. See commit, 02c41535b6a4 ("ARM: OMAP4/5:
Remove dead code against CONFIG_SYS_CLOCKS_ENABLE_ALL").
The non-essential DPLLs are configured within the kernel during
the clock init step when parsing the device tree and creating
the clock devices. This approach meets both the u-boot and kernel
needs.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Subhajit Paul <subhajit_paul@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/buffalo/lsxl/lsxl.c')
0 files changed, 0 insertions, 0 deletions