soc: imx: gpcv2: add PGC control register indirection
authorLucas Stach <l.stach@pengutronix.de>
Wed, 30 Mar 2022 10:46:16 +0000 (12:46 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 8 Apr 2022 12:01:46 +0000 (20:01 +0800)
commitd9651b99dd65e861b1c525d0e8ab8da0d37642ca
treea5a6d357b989da0d741b8f35a1177659e4a5a704
parent3123109284176b1532874591f7c81f3837bbdc17
soc: imx: gpcv2: add PGC control register indirection

The PGC control registers in the shared (not per-PGC) region of the
GPC address space have different offsets on i.MX8MP to make space for
additional interrupt control registers.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/gpcv2.c