u-boot/arch/arm/cpu/armv7
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
..
am33xx am33xx: Stop modifying certain EMIF4D registers 2013-12-04 08:11:45 -05:00
at91 arm: atmel: sama5d3: correct the ID for DBGU and PIT 2013-12-01 22:38:39 +01:00
exynos armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
highbank ARM: highbank: convert to common timer code 2013-11-04 11:08:10 -05:00
mx5 Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
mx6 Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
omap-common ARM: OMAP5: Add SATA platform glue 2013-12-04 08:12:09 -05:00
omap3 arm: omap3: Enable clocks for peripherals only if they are used 2013-12-06 07:02:32 -05:00
omap4 pandaboard: 1/1] ARM:OMAP4+: panda-es: Support Rev B3 Elpida DDR2 RAM 2013-12-04 11:41:13 -05:00
omap5 ARM: OMAP5+: Remove unnecessary EFUSE settings 2013-12-04 08:12:38 -05:00
rmobile armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
s5p-common armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
s5pc1xx armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
socfpga socfpga: Adding Freeze Controller driver 2013-12-03 14:38:56 +01:00
tegra-common armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra20 armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra30 armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra114 armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
u8500 armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
vf610 armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
zynq Merge branch 'u-boot-microblaze/zynq' into 'u-boot-arm/master' 2013-11-22 10:19:35 +01:00
cache_v7.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
config.mk ARM: refactor compiler options in config.mk 2013-09-23 17:03:05 +02:00
cpu.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lowlevel_init.S ARM: use r9 for gd 2013-09-23 18:00:02 +02:00
Makefile arm: atmel: sama5d3: spl boot from fat fs SD card 2013-12-01 22:38:51 +01:00
nonsec_virt.S ARM: virtualization: replace verbose license with SPDX identifier 2013-10-07 08:21:13 -04:00
start.S Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
syslib.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
virt-v7.c ARM: virtualization: replace verbose license with SPDX identifier 2013-10-07 08:21:13 -04:00