[PATCH v5] i2c: imx-lpi2c: return -EINVAL when i2c peripheral clk doesn't work

Andi Shyti andi.shyti at kernel.org
Wed Aug 2 13:02:14 PDT 2023


Hi

On Wed, 26 Jul 2023 17:22:38 +0800, carlos.song at nxp.com wrote:
> On MX8X platforms, the default clock rate is 0 if without explicit
> clock setting in dts nodes. I2c can't work when i2c peripheral clk
> rate is 0.
> 
> Add a i2c peripheral clk rate check before configuring the clock
> register. When i2c peripheral clk rate is 0 and directly return
> -EINVAL.
> 
> [...]

Applied to i2c/andi-for-current on

https://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git

Please note that this patch may still undergo further evaluation
and the final decision will be made in collaboration with
Wolfram.

Thank you,
Andi

Patches applied
===============
[1/1] i2c: imx-lpi2c: return -EINVAL when i2c peripheral clk doesn't work
      commit: a83c167c8210a9f289e867bbc084174252f7433f




More information about the linux-arm-kernel mailing list