clk: Add support for I2C clocks on NXP's imx6q SoC which use CCF
authorLukasz Majewski <lukma@denx.de>
Tue, 15 Oct 2019 10:44:57 +0000 (12:44 +0200)
committerLukasz Majewski <lukma@denx.de>
Tue, 22 Oct 2019 14:14:05 +0000 (16:14 +0200)
commit727fa4539ca2937fd3d8d748096af1145bdf2173
tree91a1f1b165aaef970dfd7ea5fc82fac7b827b5e5
parent02e2a2ad2f01a5b88e3ff2b694de63c0b5c849f2
clk: Add support for I2C clocks on NXP's imx6q SoC which use CCF

This change adds support for I2C clock modeled in CCF. This code intention
is to only enable those clocks in the I2C driver with default settings.
For that reason the "busy" versions of clocks reuse the generic approach
and would need to be updated when one wants to adjust the I2C clock
frequency in U-Boot.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
drivers/clk/imx/clk-imx6q.c
drivers/clk/imx/clk.h