MLK-19537-3 drm/imx: sec-dsim_imx: remove dphy slave reset
authorFancy Fang <chen.fang@nxp.com>
Tue, 11 Sep 2018 07:26:39 +0000 (15:26 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
Remove dphy slave reset and only keep master reset for mipi dsi

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
(cherry picked from commit 83f4a5a95262184759f1c99be46e8906dd24543b)
(cherry picked from commit f099988bd36482cf3aea465377339413fd338761)

drivers/gpu/drm/imx/sec_mipi_dsim-imx.c

index 548c356..2776f11 100644 (file)
@@ -101,12 +101,12 @@ static void imx_sec_dsim_lanes_reset(struct regmap *gpr, bool reset)
        if (!reset)
                /* release lanes reset */
                regmap_update_bits(gpr, GPR_MIPI_RESET_DIV,
-                                  GPR_MIPI_S_RESETN | GPR_MIPI_M_RESETN,
-                                  GPR_MIPI_S_RESETN | GPR_MIPI_M_RESETN);
+                                  GPR_MIPI_M_RESETN,
+                                  GPR_MIPI_M_RESETN);
        else
                /* reset lanes */
                regmap_update_bits(gpr, GPR_MIPI_RESET_DIV,
-                                  GPR_MIPI_S_RESETN | GPR_MIPI_M_RESETN,
+                                  GPR_MIPI_M_RESETN,
                                   0x0);
 }