]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/bridge: tc358767: increase CLRSIPO count
authorLucas Stach <l.stach@pengutronix.de>
Wed, 6 Jul 2022 13:28:11 +0000 (15:28 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 10 Aug 2022 23:45:32 +0000 (01:45 +0200)
The current CLRSIPO count is marginal and does not work with high
DSI clock rates. Increase it a bit to allow the DSI link to work at
up to 1Gbps lane speed.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Marek Vasut <marex@denx.de>
Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220706132812.2171250-2-l.stach@pengutronix.de
drivers/gpu/drm/bridge/tc358767.c

index 578aca2fe9f90bb51f27724b054373d4cea71b76..2f6cb0c6902f51331bb38a3ca187188b5e9f33c7 100644 (file)
@@ -1258,10 +1258,10 @@ static int tc_dsi_rx_enable(struct tc_data *tc)
        u32 value;
        int ret;
 
-       regmap_write(tc->regmap, PPI_D0S_CLRSIPOCOUNT, 3);
-       regmap_write(tc->regmap, PPI_D1S_CLRSIPOCOUNT, 3);
-       regmap_write(tc->regmap, PPI_D2S_CLRSIPOCOUNT, 3);
-       regmap_write(tc->regmap, PPI_D3S_CLRSIPOCOUNT, 3);
+       regmap_write(tc->regmap, PPI_D0S_CLRSIPOCOUNT, 5);
+       regmap_write(tc->regmap, PPI_D1S_CLRSIPOCOUNT, 5);
+       regmap_write(tc->regmap, PPI_D2S_CLRSIPOCOUNT, 5);
+       regmap_write(tc->regmap, PPI_D3S_CLRSIPOCOUNT, 5);
        regmap_write(tc->regmap, PPI_D0S_ATMR, 0);
        regmap_write(tc->regmap, PPI_D1S_ATMR, 0);
        regmap_write(tc->regmap, PPI_TX_RX_TA, TTA_GET | TTA_SURE);