soc: imx: gpcv2: allow domains without power-sequence control
authorLucas Stach <l.stach@pengutronix.de>
Mon, 10 May 2021 04:00:39 +0000 (12:00 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sun, 23 May 2021 02:58:10 +0000 (10:58 +0800)
commitc0ce75395f8d088ba56dcec3218c628ef2bb6d73
treeff2a0e7dad762f6ca14e2298536610cbd7d2eee5
parent1382eb1967d74fb40c3c9e8c6f6030c4c0ecc040
soc: imx: gpcv2: allow domains without power-sequence control

Some of the PGC domains only control the handshake with the ADB400
and don't have any power sequence controls. Make such domains work
by allowing the pxx and map bits to be empty and skip all actions
using those controls.

Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/gpcv2.c