i2c: mxc: add CONFIG_CLK support
authorPeng Fan <peng.fan@nxp.com>
Thu, 8 Aug 2019 01:43:30 +0000 (01:43 +0000)
committerHeiko Schocher <hs@denx.de>
Mon, 2 Sep 2019 04:35:08 +0000 (06:35 +0200)
commit6dba0864ece3f4006abae8ff9e2ad74f4374359d
tree212e7ffdd9d76481985aaa287307f0a7707cc418
parent877294b56a52f1cb60bbfa7e4722fcc33451f7b2
i2c: mxc: add CONFIG_CLK support

When CONFIG_CLK enabled, use CLK UCLASS for clk related settings.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
hs: removed hunk in mxc_i2c_probe() as not longer in code
arch/arm/include/asm/mach-imx/mxc_i2c.h
drivers/i2c/mxc_i2c.c