i2c: imx_lpi2c: add uclass api support
authorPeng Fan <peng.fan@nxp.com>
Tue, 17 Jul 2018 12:38:33 +0000 (20:38 +0800)
committerAnatolij Gustschin <agust@denx.de>
Mon, 6 Aug 2018 12:28:23 +0000 (14:28 +0200)
commit3d7690aec1020aa579eee189ed07d5e6289e3617
tree2176a8a80050fe9839e2ef39e82ef6dc57ff68e8
parent16f513ee78e54d71ffcd92248caea0b1360c0ed7
i2c: imx_lpi2c: add uclass api support

Use uclass clk api to get per clk when CONFIG_CLK enabled.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
drivers/i2c/imx_lpi2c.c
include/imx_lpi2c.h