Re: [PATCH 0/8] i2c: sprd: Modification of UNIOC Platform IIC Driver

From: Andi Shyti
Date: Thu Aug 24 2023 - 12:46:05 EST


Hi Orson,

On Thu, Aug 17, 2023 at 05:45:12PM +0800, Huangzheng Lai wrote:
> Recently, some bugs have been discovered during use, and patch3
> and patch5-8 are bug fixes. Also, this patchset add new features:
> patch1 allows IIC to use more frequencies for communication,
> patch2 allows IIC to use 'reset framework' for reset, and patch4 allows
> IIC controller to dynamically switch frequencies during use.
>
> Huangzheng Lai (8):
> i2c: sprd: Add configurations that support 1Mhz and 3.4Mhz frequencies
> i2c: sprd: Add I2C driver to use 'reset framework' function
> i2c: sprd: Use global variables to record IIC ack/nack status instead
> of local variables
> i2c: sprd: Add IIC controller driver to support dynamic switching of
> 400K/1M/3.4M frequency
> i2c: sprd: Configure the enable bit of the IIC controller before each
> transmission initiation
> i2c: sprd: Add additional IIC control bit configuration to adapt to
> the new IP version of the UNISOC platform
> i2c: sprd: Set I2C_RX_ACK when clear irq
> i2c: sprd: Increase the waiting time for IIC transmission to avoid
> system crash issues

there are some changes here that require device knowledge... can
you please take a look here?

Andi