clk: imx6q: Add definition for IMX6QDL_CLK_I2C3

Commit 727fa4539c ("clk: Add support for I2C clocks on NXP's imx6q SoC
which use CCF") added I2C clocks for I2C1 and I2C2, but not I2C3.
Consequently, devices using I2C3 fail after enabling CONFIG_CLK_IMX6Q
and thus CONFIG_CLK. Therefore, this commit adds the last I2C clock.

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
This commit is contained in:
Emil Kronborg
2024-07-22 17:55:35 -03:00
committed by Fabio Estevam
parent bd09057182
commit adf1b7aea6
+2
View File
@@ -128,6 +128,8 @@ static int imx6q_clk_probe(struct udevice *dev)
imx_clk_gate2("i2c1", "ipg_per", base + 0x70, 6));
clk_dm(IMX6QDL_CLK_I2C2,
imx_clk_gate2("i2c2", "ipg_per", base + 0x70, 8));
clk_dm(IMX6QDL_CLK_I2C3,
imx_clk_gate2("i2c3", "ipg_per", base + 0x70, 10));
clk_dm(IMX6QDL_CLK_ENET, imx_clk_gate2("enet", "ipg", base + 0x6c, 10));
clk_dm(IMX6QDL_CLK_ENET_REF,