]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/include/asm/arch-mxs/clock.h
2 * Freescale i.MX23/i.MX28 Clock
4 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
5 * on behalf of DENX Software Engineering GmbH
7 * SPDX-License-Identifier: GPL-2.0+
44 uint32_t mxc_get_clock(enum mxc_clock clk
);
46 void mxs_set_ioclk(enum mxs_ioclock io
, uint32_t freq
);
47 void mxs_set_sspclk(enum mxs_sspclock ssp
, uint32_t freq
, int xtal
);
48 void mxs_set_ssp_busclock(unsigned int bus
, uint32_t freq
);
49 void mxs_set_lcdclk(uint32_t freq
);
51 /* Compatibility with the FEC Ethernet driver */
52 #define imx_get_fecclk() mxc_get_clock(MXC_AHB_CLK)
54 #endif /* __CLOCK_H__ */