I2C on imx8qm - Failed to enable ipg clk

Oliver Graute
2020-08-10T07:18:22Z

On 05/08/20, Anatolij Gustschin wrote:
> Hi Oliver,
>
> On Wed, 5 Aug 2020 15:47:07 +0200
> Oliver Graute oliver.graute at gmail.com wrote:
>
> > Hello,
> >
> > I try to get my I2C working on imx8qm. But I run into this issue:
> >
> > => i2c bus
> > Bus 3: i2c at 5a830000
> > => i2c dev 3
> > Setting bus to 3
> > Failed to enable ipg clk
> > Failure changing bus number (-524)
> >
> > Some idea how to fix that?
> >
> > I'am using U-Boot 2020.04
>
> I think the clock driver (in drivers/clk/imx/clk-imx8qm.c) does not
> have support for IMX8QM_I2C*_IPG_CLK clocks yet.

ok, what I have to do to add support for it? just adding
IMX8QM_I2C*_IPG_CLK to the imx8_clk_names[]?

Best Regards,

Oliver