]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm: renesas: rzg2l_mipi_dsi: Increase reset deassertion delay
authorBiju Das <biju.das.jz@bp.renesas.com>
Mon, 30 Mar 2026 10:44:45 +0000 (11:44 +0100)
committerBiju Das <biju.das.jz@bp.renesas.com>
Thu, 16 Apr 2026 05:54:09 +0000 (06:54 +0100)
The RZ/G2L hardware manual (Rev. 1.50, May 2025), Section 34.4.2.1,
requires waiting at least 1 msec after deasserting the CMN_RSTB signal
before the DSI-Tx module is ready. Increase the delay from 1 usec to
1 msec by replacing udelay(1) with fsleep(1000) for RZ/G2L SoCs.

Fixes: 7a043f978ed1 ("drm: rcar-du: Add RZ/G2L DSI driver")
Cc: stable@vger.kernel.org
Reviewed-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Tested-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Link: https://patch.msgid.link/20260330104450.128512-3-biju.das.jz@bp.renesas.com
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c

index ff95cb9a7de5fac32b553c9ad3d96a9b8a27a688..9d9f77d8f949402a5089d13d577840a3e9a8a6df 100644 (file)
@@ -528,7 +528,7 @@ static int rzg2l_mipi_dsi_dphy_init(struct rzg2l_mipi_dsi *dsi,
        if (ret < 0)
                return ret;
 
-       udelay(1);
+       fsleep(1000);
 
        return 0;
 }