[PATCH v4] i2c: spacemit: introduce pio for k1
Troy Mitchell
troy.mitchell at linux.spacemit.com
Wed Nov 5 17:00:13 PST 2025
On Wed, Nov 05, 2025 at 11:29:52PM +0100, Aurelien Jarno wrote:
> Hi,
>
> On 2025-10-09 17:59, Troy Mitchell wrote:
> > This patch introduces I2C PIO functionality for the Spacemit K1 SoC,
> > enabling the use of I2C in atomic context.
> >
> > Signed-off-by: Troy Mitchell <troy.mitchell at linux.spacemit.com>
[...]
> > +static void spacemit_i2c_err_check(struct spacemit_i2c_dev *i2c);
> > +static void spacemit_i2c_handle_state(struct spacemit_i2c_dev *i2c);
> > +
>
> At least for spacemit_i2c_err_check, the forward declaration can be
> avoided by moving code, which is anyway probably better done in a
> separate patch.
Maybe I'll handle it later.
>
> Besides this nitpick, this sounds good, so:
>
> Tested-by: Aurelien Jarno <aurelien at aurel32.net>
> Reviewed-by: Aurelien Jarno <aurelien at aurel32.net>
Thanks!
>
> Regards
> Aurelien
>
> --
> Aurelien Jarno GPG: 4096R/1DDD8C9B
> aurelien at aurel32.net http://aurel32.net
>
More information about the linux-riscv
mailing list