soc: imx: gpc: Disable 6sl display power gating for ERR006287
authorLeonard Crestez <leonard.crestez@nxp.com>
Wed, 11 Jul 2018 12:11:16 +0000 (15:11 +0300)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Jul 2018 13:18:24 +0000 (21:18 +0800)
commit5507ec5126df5cad778af22b13fc8c278ad977ea
tree87816dcdbc4f41ee59e3f06959de043940ad4aca
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
soc: imx: gpc: Disable 6sl display power gating for ERR006287

The imx6sl chip errata document describes ERR006287 like this:

> Upon resuming from power gating, the modules in the display power domain
(eLCDIF, EPDC, PXP and SPDC) might fail to perform register reads
correctly.

> When the modules listed above are used, do not use power gating on the
display power domain.

Link: https://www.nxp.com/docs/en/errata/IMX6SLCE.pdf#page=62
Handle this in the safest possible way by keeping the DISP domain
always-on.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/gpc.c