u-boot/arch/arm/cpu
Michael Trimarchi f33b9bd398 arm: omap3: Enable clocks for peripherals only if they are used
This patch change the per_clocks_enable() function used in OMAP3
code to enable peripherals clocks. Only required clock should be
activated. So if the board use the uart(x) as a console we need
to activate it. The Board's config should include define to enable
every subsystem that the board use. For a complete list
of affected peripherals, registers CM_FCLKEN_PER and CM_ICLKEN_PER
should be checked.
Right now the bootloader can enable and disable clocks for:
uart(x) using CONFIG_SYS_NS16550
gpio bank (x) using CONFIG_OMAP3_GPIO_X with X = { 2, 3, 4, 5, 6 }
i2c bus using CONFIG_DRIVER_OMAP34XX_I2C.

Not required gptimer(x) and mcbsp(x) for booting are disabled by default and
are not supported by any define.
Their activation need to included in the per_clocks_enable if the
peripheral is included. Not booting board should enable the peripheral
clock connected to their driver

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@ti.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
2013-12-06 07:02:32 -05:00
..
arm720t ARM: tegra: move Tegra specific code under arch/arm/ 2013-10-31 13:26:44 -04:00
arm920t arm920t: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
arm926ejs Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
arm946es ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
arm1136 ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
arm1176 ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
arm_intcm ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
armv7 arm: omap3: Enable clocks for peripherals only if they are used 2013-12-06 07:02:32 -05:00
at91-common arm926ejs, at91: add common phy_reset function 2013-12-01 22:38:52 +01:00
ixp ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
pxa ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
sa1100 ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra-common ARM: tegra: convert to common timer code 2013-11-04 11:24:22 -05:00
tegra20-common ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra30-common ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra114-common ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
Makefile arm: atmel: add ddr2 initialization function 2013-12-01 22:38:47 +01:00
u-boot-spl.lds Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u-boot.lds arm: lds: Remove libgcc eabi exception handling tables 2013-09-05 13:41:42 +02:00