[PATCH v5 2/4] i2c: add Andes I2C driver support
Ben Zong-You Xie
ben717 at andestech.com
Tue Aug 11 20:31:37 PDT 2026
On Tue, Aug 11, 2026 at 09:37:12AM +0200, Christophe JAILLET wrote:
>
> Le 11/08/2026 à 08:29, Ben Zong-You Xie via B4 Relay a écrit :
> > From: Ben Zong-You Xie <ben717 at andestech.com>
> >
> > 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 at andestech.com>
>
Hi CJ,
> ...
>
> > +static struct i2c_algorithm andes_i2c_algo = {
>
> Could this be const?
Yes, I will add const in v6.
> > + .xfer = andes_i2c_xfer,
> > + .functionality = andes_i2c_func,
> > +};
> CJ
Thanks,
Ben
More information about the linux-riscv
mailing list