Re: [PATCH V7 4/4] soc: imx: Add blk-ctl driver for i.MX8MM

From: Marek Vasut
Date: Mon Jun 28 2021 - 06:59:37 EST


On 6/14/21 8:07 PM, Adam Ford wrote:
On Sat, Jun 12, 2021 at 7:58 AM Peng Fan (OSS) <peng.fan@xxxxxxxxxxx> wrote:

From: Peng Fan <peng.fan@xxxxxxx>

The i.MX8MM SoC has dispmix BLK-CTL and vpumix BLK-CTL, so we add
that support in this driver.

Reviewed-by: Abel Vesa <abel.vesa@xxxxxxx>
Signed-off-by: Peng Fan <peng.fan@xxxxxxx>

Maybe my TF-A is too old, but I am not able to wake the device from
suspend-to-ram with this series. I used the device tree from [1] to
enable both the GPCv2 and the blk-ctl stuff.

[1] - https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210604111005.6804-1-peng.fan@xxxxxxxxxxx/

I based both off Shawn's for-next branch.

I also ran into issues with this, although it could also be related to GPCv2. On MX8MM , the system sometimes hangs when bringing up the GPCv2 power domain 6 (VPUMIX). It seems that the GPCv2 driver sets GPC_PU_PGC_SW_PUP_REQ register to 0x100 to bring up the VPUMIX and the bit never self-clears. After that, it seems the entire GPC locks up. Have you ever seen that kind of behavior ?