Skip to content
Commit 2f3a0828 authored by Sowjanya Komatineni's avatar Sowjanya Komatineni Committed by Wolfram Sang
Browse files

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



VI I2C controller has known hardware bug where immediate multiple
writes to TX_FIFO register gets stuck.

Recommended software work around is to read I2C register after
each write to TX_FIFO register to flush out the data.

This patch implements this work around for VI I2C controller.

Signed-off-by: default avatarSowjanya Komatineni <skomatineni@nvidia.com>
Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent bc1c2048
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment