From 6a71f52d91b7ad07577c4f7ee7829db52dc784a8 Mon Sep 17 00:00:00 2001 From: Peter van der Perk Date: Mon, 15 Jul 2024 09:54:41 +0200 Subject: [PATCH] Docs: S32K1XX FlexIO emulated I2C documentation --- Documentation/platforms/arm/s32k1xx/index.rst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/platforms/arm/s32k1xx/index.rst b/Documentation/platforms/arm/s32k1xx/index.rst index d7ae2f6aff8db..32571a1397081 100644 --- a/Documentation/platforms/arm/s32k1xx/index.rst +++ b/Documentation/platforms/arm/s32k1xx/index.rst @@ -39,7 +39,7 @@ eDMA No EEPROM Yes EEPROM emulated by FlexRAM ENET Yes FlexCAN Yes SocketCAN-compatible -FlexIO No +FlexIO Yes Emulated I2C Master driver FTM Yes PWM driver only GPIO Yes LPI2C Yes I2C Master and Slave @@ -84,7 +84,16 @@ The S32K1XX family has up to 3x FlexCAN modules (which may not all have CAN FD s FlexIO ------ -A configurable module providing a range of functionality like emulation of a variety of serial/parallel communication protocols, flexible 16-bit timers or programmable logic blocks. No driver available. +A configurable module providing a range of functionality like emulation of a variety of serial/parallel communication protocols, flexible 16-bit timers or programmable logic blocks. + +The ``s32k1xx_flexio_i2c.c`` driver implements an emulated I2C master using FlexIO. +Albeit the current implementation has some limitations: + +* Max I2C speed of 400KHz +* Max transfer of 12 bytes (Could be extended by utilizing EDMA) +* No abort on NACK reception, shifter simplies continues on +* No multi-master support +* No restart support FTM ---