Re: [PATCH v5 2/4] i2c: add Andes I2C driver support
From: Christophe JAILLET
Date: Tue Aug 11 2026 - 03:39:45 EST
Le 11/08/2026 à 08:29, Ben Zong-You Xie via B4 Relay a écrit :
From: Ben Zong-You Xie <ben717@xxxxxxxxxxxxx>
Add support for Andes I2C driver. Andes I2C can act as either a
controller or a target, depending on the control register settings. Now,
we only support controller mode.
Signed-off-by: Ben Zong-You Xie <ben717@xxxxxxxxxxxxx>
Hi
...
+static struct i2c_algorithm andes_i2c_algo = {
Could this be const?
+ .xfer = andes_i2c_xfer,CJ
+ .functionality = andes_i2c_func,
+};