2021-01-12 19:07:28

by Sowjanya Komatineni

[permalink] [raw]
Subject: [PATCH v3] Create i2c_writesl_vi() to use with VI I2C

Patch in this series is to fix known hardware bug with VI I2C
controller where immediate multiple writes to TX_FIFO gets stuck
resulting in VI I2C controller to be in bad state.

Delta between patch versions:
[v3]: Includes v2 feedback
- uses relaxed writel and readl
- avoids type casting on data buffer during i2c_writesl_vi()
- updated comment to clearly mention this as workaround to
known hardware bug with VI I2C.

[v2]: Creates i2c_writesl_vi() for vi i2c based on v1 feedback.

[v1]: Updates i2c_writesl() to use writel() followed by i2c_readl().

Sowjanya Komatineni (1):
i2c: tegra: Create i2c_writesl_vi() to use with VI I2C for filling TX
FIFO

drivers/i2c/busses/i2c-tegra.c | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)

--
2.7.4