2010-12-13 10:53:29 +00:00
|
|
|
/*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MACH_CLOCK_IMX23_H
|
|
|
|
# define MACH_CLOCK_IMX23_H
|
|
|
|
|
|
|
|
unsigned imx_get_mpllclk(void);
|
|
|
|
unsigned imx_get_emiclk(void);
|
|
|
|
unsigned imx_get_ioclk(void);
|
|
|
|
unsigned imx_get_armclk(void);
|
|
|
|
unsigned imx_get_hclk(void);
|
2012-06-14 13:20:59 +00:00
|
|
|
unsigned imx_set_hclk(unsigned);
|
2010-12-13 10:53:29 +00:00
|
|
|
unsigned imx_get_xclk(void);
|
|
|
|
unsigned imx_get_sspclk(unsigned);
|
|
|
|
unsigned imx_set_sspclk(unsigned, unsigned, int);
|
|
|
|
unsigned imx_set_ioclk(unsigned);
|
2010-12-20 15:05:06 +00:00
|
|
|
unsigned imx_set_lcdifclk(unsigned);
|
|
|
|
unsigned imx_get_lcdifclk(void);
|
2011-12-18 22:26:39 +00:00
|
|
|
void imx_enable_nandclk(void);
|
2010-12-13 10:53:29 +00:00
|
|
|
|
|
|
|
#endif /* MACH_CLOCK_IMX23_H */
|