diff options
author | Teresa Remmet <t.remmet@phytec.de> | 2022-09-01 16:19:51 +0300 |
---|---|---|
committer | Robert Foss <robert.foss@linaro.org> | 2022-10-10 15:33:46 +0300 |
commit | 8d87088e4e6d4e66f63447c7f9a4b6c3db6e61c2 (patch) | |
tree | 74c770f1471d82849474e9fb0dd968d37aff1bd0 /drivers/gpu/drm/bridge/tc358775.c | |
parent | 499143e5b413104d0b242e385cb929cd3ac858eb (diff) | |
download | linux-8d87088e4e6d4e66f63447c7f9a4b6c3db6e61c2.tar.xz |
drm/bridge: tc358775: Do not soft reset i2c-slave controller
Soft reset during tc_bridge_enable() is triggered by setting all available
reset control bits in the SYSRST register.
But as noted in the data sheet resetting the i2c-slave controller should
be only done over DSI and is only useful for chip debugging.
So do not set RSTI2CS (bit0).
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220901131951.1116512-1-t.remmet@phytec.de
Diffstat (limited to 'drivers/gpu/drm/bridge/tc358775.c')
-rw-r--r-- | drivers/gpu/drm/bridge/tc358775.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/tc358775.c b/drivers/gpu/drm/bridge/tc358775.c index f1c6e62b0e1d..a5f5eae1e80f 100644 --- a/drivers/gpu/drm/bridge/tc358775.c +++ b/drivers/gpu/drm/bridge/tc358775.c @@ -408,7 +408,7 @@ static void tc_bridge_enable(struct drm_bridge *bridge) (val >> 8) & 0xFF, val & 0xFF); d2l_write(tc->i2c, SYSRST, SYS_RST_REG | SYS_RST_DSIRX | SYS_RST_BM | - SYS_RST_LCD | SYS_RST_I2CM | SYS_RST_I2CS); + SYS_RST_LCD | SYS_RST_I2CM); usleep_range(30000, 40000); d2l_write(tc->i2c, PPI_TX_RX_TA, TTA_GET | TTA_SURE); |