]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52114ae08c4fb02ec3ccd65c0a5c86663211d670
tree87816dcdbc4f41ee59e3f06959de043940ad4aca
parent2358d48a6db92cb022eb848a0943363a742d51a5
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