On Mon, Sep 09, 2024 at 09:56:25AM GMT, Tyrone Ting wrote: > Hi Andi: > > Thank you for your review. > > Andi Shyti <andi.shyti@xxxxxxxxxx> 於 2024年9月6日 週五 上午5:43寫道: > > > > Hi, > > > > On Fri, Aug 30, 2024 at 11:46:39AM GMT, Tyrone Ting wrote: > > > Modify i2c frequency from table parameters > > > for NPCM i2c modules. > > > > > > Supported frequencies are: > > > > > > 1. 100KHz > > > 2. 400KHz > > > 3. 1MHz > > > > I agree with Andy, please add a good explanation for this change. > > > > > Signed-off-by: Tyrone Ting <kfting@xxxxxxxxxxx> > > > --- > > > drivers/i2c/busses/i2c-npcm7xx.c | 230 +++++++++++++++++++------------ > > > 1 file changed, 144 insertions(+), 86 deletions(-) > > > > > > diff --git a/drivers/i2c/busses/i2c-npcm7xx.c b/drivers/i2c/busses/i2c-npcm7xx.c > > > index 67d156ed29b9..cac4ea0b69b8 100644 > > > --- a/drivers/i2c/busses/i2c-npcm7xx.c > > > +++ b/drivers/i2c/busses/i2c-npcm7xx.c > > > @@ -263,6 +263,121 @@ static const int npcm_i2caddr[I2C_NUM_OWN_ADDR] = { > > > #define I2C_FREQ_MIN_HZ 10000 > > > #define I2C_FREQ_MAX_HZ I2C_MAX_FAST_MODE_PLUS_FREQ > > > > > > +struct SMB_TIMING_T { > > > > Please run checkpatch.pl before sending the patches. > I did run the checkpatch.pl against this patch. > Here is the log from the checkpatch.pl: > ------------------------------------------------------------- > ./patch_i2c_v2/v2-0006-i2c-npcm-use-i2c-frequency-table.patch > ------------------------------------------------------------- > total: 0 errors, 0 warnings, 265 lines checked > > ./patch_i2c_v2/v2-0006-i2c-npcm-use-i2c-frequency-table.patch has no > obvious style problems and is ready for submission. mmhhh... I thought checkpatch hated capital letter declarations. Please, then, use only lower character names for declarations. Thanks, Andi