Commit fecb1ef2 authored by Robby Cai's avatar Robby Cai

Revert "plat: imx8mm: change DISPMIX power domain handling"

This reverts commit 58fc5c73.
parent 685e3e26
......@@ -818,11 +818,11 @@ static void imx_gpc_pm_domain_enable(uint32_t domain_id, uint32_t on)
}
if (domain_id == DISPMIX) {
/* de-reset bus_blk rstn and
* enable bus_blk clk
*/
mmio_write_32(0x32e28000, 0x40);
mmio_write_32(0x32e28004, 0x1000);
/* special setting for DISPMIX */
mmio_write_32(0x303845d0, 0x3);
mmio_write_32(0x32e28004, 0x1fff);
mmio_write_32(0x32e28000, 0x7f);
mmio_write_32(0x32e28008, 0x30000);
}
/* handle the ADB400 sync */
......@@ -920,11 +920,6 @@ static void imx_gpc_pm_domain_enable(uint32_t domain_id, uint32_t on)
while (mmio_read_32(IMX_GPC_BASE + PU_PGC_DN_TRG) & GPU3D_PWR_REQ);
}
if (domain_id == DISPMIX) {
mmio_write_32(0x32e28000, 0x0);
mmio_write_32(0x32e28004, 0x0);
}
/* HSIOMIX has no PU bit, so skip for it */
if (domain_id != HSIOMIX) {
/* set the PGC bit */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment