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

From: Huangzheng Lai
Date: Thu Aug 17 2023 - 05:46:55 EST


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

drivers/i2c/busses/i2c-sprd.c | 70 +++++++++++++++++++++++++++--------
1 file changed, 55 insertions(+), 15 deletions(-)

--
2.17.1