clk: imx6q: Add definition for IMX6QDL_CLK_I2C3
Subsystems (3)
PATCH 1/1 clk: imx6q: Add definition for IMX6QDL_CLK_I2C3
Commit 727fa4539ca2 ("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 <[email protected]>
--- drivers/clk/imx/clk-imx6q.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/clk/imx/clk-imx6q.c +2 -0
@@ -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,
base-commit: b4cbd1a257d4027038b4f997d73bdb0a066db045
Signature · 1 line
2.45.2
Quoted 7 lines · Emil Kronborg
Commit
727fa4539ca2("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 enablingCONFIG_CLK_IMX6Qand thusCONFIG_CLK. Therefore, this commit adds the last I2C clock.Signed-off-by Emil Kronborg <[email protected]>
Applied, thanks.