i2c: imx-lpi2c: use bulk clk API
authorPeng Fan <peng.fan@nxp.com>
Tue, 23 Aug 2022 03:02:15 +0000 (11:02 +0800)
committerWolfram Sang <wsa@kernel.org>
Tue, 30 Aug 2022 10:07:06 +0000 (12:07 +0200)
commit09d027dbe17137dac4d91b2698e665d46b78570e
tree4aed27d1cc2562a100b46360224151260f643181
parent6347eee5a3ec901b105df3e4dccf9c603f929167
i2c: imx-lpi2c: use bulk clk API

The current driver only support one clock, however LPI2C requires
two clocks: PER and IPG.

To make sure old dts could work with newer kernel, use bulk clk
API.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-imx-lpi2c.c