soc: imx: gpc: fix imx6sl gpc power domain regression
authorDong Aisheng <aisheng.dong@nxp.com>
Thu, 23 Mar 2017 04:53:21 +0000 (12:53 +0800)
committerShawn Guo <shawnguo@kernel.org>
Fri, 24 Mar 2017 05:42:07 +0000 (13:42 +0800)
commit5a42d1198901a13ff46e1d13b91a338d74224dbe
tree4e68645eb5107f467a7520a67753e9e13eace483
parent15c3de4e188b567ab60dbff674002a7f4380af6a
soc: imx: gpc: fix imx6sl gpc power domain regression

Commit 721cabf6c660 ("soc: imx: move PGC handling to a new GPC driver")
broke the MX6SL GPC power domain support.
It always got the following error:
[    1.248364] imx-gpc 20dc000.gpc: could not find pgc DT node
This patch adds back the legecy support.

Fixes: 721cabf6c660 ("soc: imx: move PGC handling to a new GPC driver")
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/gpc.c