Commit a5a80109 authored by Sowjanya Komatineni's avatar Sowjanya Komatineni Committed by Zheng Zengkai
Browse files

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



stable inclusion
from stable-5.10.14
commit 40545c4dd90c96f8f4ecd7eac7b107e14f467619
bugzilla: 48051

--------------------------------

[ Upstream commit 2f3a0828 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 258cfa7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment