|
|
Log in / Subscribe / Register

i2c: spacemit: introduce pio for k1

From:  Troy Mitchell <troy.mitchell-AT-linux.spacemit.com>
To:  Andi Shyti <andi.shyti-AT-kernel.org>, Yixun Lan <dlan-AT-gentoo.org>, Alex Elder <elder-AT-riscstar.com>, Aurelien Jarno <aurelien-AT-aurel32.net>, Michael Opdenacker <michael.opdenacker-AT-rootcommit.com>, Troy Mitchell <troymitchell988-AT-gmail.com>
Subject:  [PATCH v6 0/2] i2c: spacemit: introduce pio for k1
Date:  Thu, 08 Jan 2026 15:52:10 +0800
Message-ID:  <20260108-k1-i2c-atomic-v6-0-41b132b70f68@linux.spacemit.com>
Cc:  linux-i2c-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, linux-riscv-AT-lists.infradead.org, spacemit-AT-lists.linux.dev, Troy Mitchell <troy.mitchell-AT-linux.spacemit.com>

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@linux.spacemit.com>
---
Troy Mitchell (2):
      i2c: spacemit: move i2c_xfer_msg()
      i2c: spacemit: introduce pio for k1

 drivers/i2c/busses/i2c-k1.c | 314 +++++++++++++++++++++++++++++++++-----------
 1 file changed, 237 insertions(+), 77 deletions(-)
---
base-commit: 003e84792ce811256114dee4f4ecc1cafdab2b0d
change-id: 20250814-k1-i2c-atomic-f1a90cd34364

Best regards,
-- 
Troy Mitchell <troy.mitchell@linux.spacemit.com>




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds