imx: mx7ulp: Implement the clock functions for i2c driver
Implement the i2c clock enable and get function for mx7ulp. These functions are required by imx_lpi2c driver. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
@@ -27,6 +27,10 @@ enum mxc_clock {
|
||||
|
||||
u32 mxc_get_clock(enum mxc_clock clk);
|
||||
u32 get_lpuart_clk(void);
|
||||
#ifdef CONFIG_SYS_LPI2C_IMX
|
||||
int enable_i2c_clk(unsigned char enable, unsigned i2c_num);
|
||||
u32 imx_get_i2cclk(unsigned i2c_num);
|
||||
#endif
|
||||
#ifdef CONFIG_MXC_OCOTP
|
||||
void enable_ocotp_clk(unsigned char enable);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user