[PATCH 2/2] arm64: dts: imx8mm: Add i.MX8M Mini Toradex Verdin based Menlo board

Francesco Dolcini francesco.dolcini at toradex.com
Fri Apr 8 01:49:38 PDT 2022


On Fri, Apr 08, 2022 at 09:56:09AM +0200, Marcel Ziswiler wrote:
> On Fri, 2022-04-08 at 08:46 +0200, Francesco Dolcini wrote:
> > On Thu, Apr 07, 2022 at 10:24:56PM +0200, Marek Vasut wrote:
> > > +
> > > +&i2c1 {
> > > +       /* IMX8MM ERRATA e7805 -- I2C is limited to 384 kHz due to SoC bug */
> > > +       clock-frequency = <100000>;
> > should this and the related changes in the other i2c nodes done in the
> > verdin.dtsi? Marcel? (errata is here:
> > https://www.nxp.com/docs/en/errata/IMX8MDQLQ_1N14W.pdf)
> 
> Hehe, good catch. Yeah, we probably should move this one into imx8mm-verdin.dtsi instead. On the other hand, it
> won't hurt doing it twice resp. this one will always override it like that.
> 
> Anyway, looks like NXP has not fixed this and is re-using the exact same I2C IP with the same errata (;-p).

It looks like even i.MX7 is affected, and NXP has a quirk in the
i2c-imx driver [0]

[0] https://source.codeaurora.org/external/imx/linux-imx/commit/drivers/i2c/busses/i2c-imx.c?h=lf-5.15.y&id=493b3892ee156af529796641889ca19b971735d2

Francesco




More information about the linux-arm-kernel mailing list