diff options
author | Michael Heimpold <mhei@heimpold.de> | 2015-12-13 11:08:37 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-01-03 14:56:36 (GMT) |
commit | fe21eaf92de4d78413e69c95ba23a869e17454f7 (patch) | |
tree | 01d3207cc7ee372bcc37b81f0f75c93309a6c0f4 /arch/arm/include/asm/arch-mxs | |
parent | a1ed155298eeb29000d9b1033be094c0f7c45212 (diff) | |
download | u-boot-fe21eaf92de4d78413e69c95ba23a869e17454f7.tar.xz |
ARM: mxs: allow boards to select DC-DC switching clock source
For some board designs, it might be useful to switch the DC-DC
clock source to something else rather the default 24 MHz, e.g.
for EMI reasons.
For this, override the mxs_power_setup_dcdc_clocksource function
in your board support files.
Example:
void mxs_power_setup_dcdc_clocksource(void)
{
mxs_power_switch_dcdc_clocksource(POWER_MISC_FREQSEL_20MHZ);
}
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mxs')
-rw-r--r-- | arch/arm/include/asm/arch-mxs/sys_proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h index 20ff101..f2b075e 100644 --- a/arch/arm/include/asm/arch-mxs/sys_proto.h +++ b/arch/arm/include/asm/arch-mxs/sys_proto.h @@ -25,6 +25,8 @@ int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int), int (*cd)(int)); void mxs_common_spl_init(const uint32_t arg, const uint32_t *resptr, const iomux_cfg_t *iomux_setup, const unsigned int iomux_size); + +void mxs_power_switch_dcdc_clocksource(uint32_t freqsel); #endif struct mxs_pair { |